justchr1s / starter-kit
A modern Laravel starter kit with pre-configured tools for development, testing, linting, and refactoring to kickstart your projects quickly.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.2
- laravel/framework: ^12.0
- laravel/telescope: ^5.11
- laravel/tinker: ^2.10.1
- nunomaduro/essentials: ^0.1.0
Requires (Dev)
- barryvdh/laravel-ide-helper: ^3.6
- fakerphp/faker: ^1.23
- laradumps/laradumps: ^4.0
- larastan/larastan: ^3.6
- laravel/pail: ^1.2.2
- laravel/pint: ^1.24
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- peckphp/peck: ^0.1.3
- pestphp/pest: ^4.0
- rector/rector: ^2.1
This package is not auto-updated.
Last update: 2025-08-31 23:58:18 UTC
README
A modern Laravel Starter Kit built to speed up development with a clean structure, powerful tools, and developer-friendly commands. This project is based on Laravel 12 and comes with everything you need to start building production-ready applications fast.
β¨ Features
- β‘ Fast local development β concurrent processes for Laravel, queues, logs, and Vite.
- π§© IDE support β better autocompletion with Laravel IDE Helper.
- π§Ή Automatic code formatting β Laravel Pint & ESLint.
- π§ Static analysis & type safety β powered by Larastan (PHPStan).
- π§ͺ Testing setup β Pest included with parallel support.
- π Automated refactoring β Rector integration.
- π Debugging made easy β Telescope & Laradumps pre-installed.
- π Code quality checks β typos, linting, types, and refactor tests.
π¦ Prerequisites
Before installing, ensure you have the following installed:
- PHP
>= 8.2
- Composer
>= 2.5
- Node.js
>= 18
- npm
>= 9
- MySQL or PostgreSQL (optional for local development)
- Git
π Installation
Option 1 β Recommended (Fastest) β
Install a new Laravel project directly with the starter kit
laravel new my-app --using justchr1s/starter-kit
cd my-app
Thatβs it! Your project is ready to go π
Option 2 β Manual Installation
If you prefer cloning manually
git clone https://github.com/justchr1s/starter-kit.git my-app
cd my-app
composer install
npm install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
π Available Commands
This starter kit comes with custom Composer scripts to simplify your workflow.
π Development
composer dev
Starts everything you need for local development in parallel :
- Laravel server β
php artisan serve
- Queue listener β
php artisan queue:listen
- Log watcher β
php artisan pail
- Vite β
npm run dev
π§© IDE Helpers
composer ide
Generates IDE helpers for:
- Model metadata.
- Helper functions.
- Better autocompletion in your IDE.
π§Ή Linting & Code Style
composer lint
Runs:
- Laravel Pint β PHP code formatting.
- ESLint β JavaScript/Vue code linting.
To automatically fix issues:
composer fix
This also:
- Generates IDE helpers.
- Runs PHPStan for types.
- Applies Rector refactors.
- Fixes PHP & JS code style.
π§ͺ Testing
Run all tests
composer test
Run unit tests only
composer test:unit
Run unit tests with coverage
composer test:unit:coverage
Check for code typos
composer test:typos
π Static Analysis
composer test:types
Uses PHPStan (via Larastan) to detect type-related issues.
If you want to regenerate the baseline:
composer phpstan-baseline
π Refactoring
composer refactor
Automatically refactors your codebase using Rector .
π§ͺ Test Your Refactors
composer test:refactor
Runs Rector in dry-run mode to preview refactoring changes before applying them.
π Project Structure
starter-kit/ βββ app/ βββ bootstrap/ βββ config/ βββ database/ βββ public/ βββ resources/ βββ routes/ βββ storage/ βββ tests/
π§βπ» Recommended Workflow
# Start development environment composer dev # Run migrations php artisan migrate # Run tests before pushing changes composer test # Fix code style & refactor automatically composer fix # Update IDE helpers for better autocompletion composer ide
π Included Packages
Package | Purpose |
---|---|
laravel/telescope | Debugging & monitoring |
laradumps/laradumps | Real-time debugging in terminal |
barryvdh/laravel-ide-helper | Better IDE autocompletion |
laravel/pint | Automatic PHP code formatting |
larastan/larastan | PHPStan integration for type safety |
pestphp/pest | Simple & fast testing framework |
rector/rector | Automated code refactoring |
peckphp/peck | Detect typos in code |
π€ Contributing
Contributions are welcome!
Feel free to fork the repository, create a branch, and submit a pull request.
π License
This project is released under the MIT License .
π Acknowledgements
This starter kit was inspired by Josh Cirre's Fission.
A huge thanks to Josh for his amazing work and contributions to the Laravel community.
π‘ Tips
- Always run
composer fix
before committing. - Use
composer test
to validate your changes. - Check your IDE helpers regularly with
composer ide
. - Use Telescope & Laradumps to debug faster.
π‘οΈ Badges
You can add these to make the README more visual: