About
Official Laravel boilerplate is minimalistic by design, empowering developers with flexibility while leaving many foundational decisions up to them.
This boilerplate fills that gap, providing pre-configured, best-practice-driven strong foundation. That means you start fast and build right from day one.
Features
β¨ Up-to-Date with the Latest Versions
- βοΈ php 8.4
- βοΈ Laravel 12
- βοΈ Official Laravel boilerplate
β¨ Optimized for Local Development
- βοΈ Essential packages configured for a seamless local development experience
- βοΈ Configured
docker-compose.yml
- βοΈ Xdebug configured in
dev
and ci
image
- βοΈ Useful and handy composer commands for streamlined development
β¨ Built-in CI/CD
- βοΈ GitHub CI workflow with necessary automated checks:
composer lint
β ensures consistent code styling
composer rector
β keeps your code up to date
composer test.arch
β architecture testing
composer test.unit
β unit tests
composer test.feature
β feature tests with a minimum coverage check
- βοΈ Deploy wherever you want
- Production-ready
Dockerfile
(using serversideup/docker-php) for containerized deployment
- By default, the deploy job pushes image to AWS ECR repository. If you initiate an AWS compute service that supports container image (e.g. AppRunner, Lambda or EKS), deployment should work out-of-the-box just by configuring below variables in GitHub.
AWS_ACCESS_KEY_ID
(secret)
AWS_ECR_REGISTRY
(secret)
AWS_SECRET_ACCESS_KEY
(secret)
AWS_ECR_REPOSITORY
(variable)
AWS_REGION
(variable)
- Modify
.github/workflows/200-cd.yml
if you donβt want AWS containerized deployment.
β¨ Elegant testing
- βοΈ PestPHP configured with
Architecture
, Unit
& Feature
test-suites
β¨ Essential Packages out of the box
- βοΈ IDE-Helper for autocompletion
- βοΈ Rector for effortless upgrades
- βοΈ Pint for code-styling
- βοΈ Larastan for static analysis, configured to
max
level
β¨ Packed with Best Practices
β¨ Customizable
You can easily modify this boilerplate to fit your specific requirements.
Quick-start
Inspiration
Β Β
Β Β
Β Β
Contributing
- Issues π for bugs
- PRs π for contributions (Fork the project and create MR targeting
main
branch)
- Discussions π for help, thoughts and suggestions