A modern, production-ready full-stack web application starter template combining Laravel's robust backend with React's powerful frontend capabilities, enhanced with TypeScript and beautiful shadcn/ui components.
-
Backend Excellence
- π― Laravel 11.x with modern PHP 8.3+ features
- π Built-in authentication system via Laravel Breeze
- π RESTful API support with structured responses
- π Comprehensive database migrations and seeders
-
Frontend Power
- βοΈ React 18 with TypeScript for type-safe development
- π¨ Pre-configured shadcn/ui components
- π Seamless SPA experience with Inertia.js
- π Lightning-fast HMR with Vite
- π― Responsive layouts with Tailwind CSS
- PHP 8.2 or higher
- Node.js 18 or higher
- Composer 2.x
- MySQL 8.0+ or PostgreSQL 13+
- Clone the repository:
git clone https://github.com/obenchkroune/laravel-shadcn-starter
cd laravel-shadcn-starter
- Run the setup script:
chmod +x setup.sh
./setup.sh
Start the development server:
composer run-script dev
npm run build
- Build for productioncomposer run-script dev
- Start Laravel + Vite development server in addition to the typescript types generator
- generate typescript types for
- Laravel Models
- PHP enums
app/Enums/**/*.php
- Routes name and parameters types
route()
- Form Requests
app/Http/Requests
Contributions are welcome! Please open an issue or submit a pull request for any changes.
If you encounter any issues, please check the following:
- Ensure all prerequisites are installed and versions are correct.
- Check the
.env
file for correct configuration. - Review the Laravel and React documentation for common issues.
MIT