laravel-starter-kit maintained by n1crack
Laravel Starter Kit
Public pages served with Blade and Livewire; admin and user panels with Inertia and React.
Requirements
PHP 8.4 · Node 22
Getting started
laravel new my-app --using=n1crack/laravel-starter-kit
cd my-app
composer dev
composer dev runs the server, queue worker, log viewer and Vite together.
To load demo data — an admin@example.com account plus 25 users, all with the password password:
php artisan db:seed
What's inside
- Laravel 13, Inertia 3, React 19, Tailwind 4
- Authentication via Fortify: registration, login, password reset, email verification, two-factor
- Roles via spatie/laravel-permission, with an
/adminarea behindrole:admin - Typed routes generated by Wayfinder
- Pest, PHPStan, Pint, Rector, ESLint and Prettier, wired into CI
Layout
| Path | Contents |
|---|---|
routes/web.php |
Public pages and authenticated user settings |
routes/admin.php |
Admin area (auth, verified, role:admin) |
resources/views |
Blade pages and Livewire components |
resources/js/pages |
Inertia React pages |
Commands
composer dev # server, queue, logs and Vite
composer test # type coverage, unit tests, linting, static analysis
composer lint # Rector, Pint and ESLint, applying fixes
The test suite enforces 100% code coverage and 100% type coverage.
License
MIT