luchavez / boilerplate-generator
A boilerplate generator for building packages and implementing DDD on Laravel 8|9|10.
Installs: 1 688
Dependents: 2
Suggesters: 7
Security: 0
Stars: 10
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- barryvdh/laravel-ide-helper: ^2.13
- illuminate/support: ~8|~9|~10
- jeroen-g/laravel-packager: ^2.9
- luchavez/starter-kit: ^1.2
- pestphp/pest-plugin-faker: ^1.0|^2.0
- pestphp/pest-plugin-laravel: ^1.4|^2.0
Requires (Dev)
- orchestra/testbench: ~6|~7|~8
- phpunit/phpunit: ~9.0
- roave/security-advisories: dev-latest
Suggests
- luchavez/starter-kit: ^1.0
README
If you're developing a Laravel app, you know how quickly it can grow and become complex. You don't want to end up with a messy codebase that's hard to maintain and debug. You need a way to organize your code into modular and reusable packages and domains that imitates the Domain-Driven Design (DDD)
principles.
That's where luchavez/boilerplate-generator
comes in handy. It's a Laravel package that helps you create, manage, and publish your own packages and domains with ease. It also provides a set of handy commands to generate common classes such as controllers, models, casts, components, and more.
With luchavez/boilerplate-generator
, you can keep your Laravel app clean, structured, and scalable. You can also share your packages with the world or use them in other projects. It's the ultimate tool for Laravel developers who want to level up their skills and productivity.
Installation
composer require luchavez/boilerplate-generator -W --dev
// Execute a series of necessary steps to utilize the package
php artisan bg:install
// Publish env variables from packages and domains to the `.env` file
php artisan bg:env:publish --all
Usage
List of bg:package
commands
List of bg:domain
commands
List of bg:make
commands
Other bg
commands
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email jamescarloluchavez@gmail.com instead of using the issue tracker.
Credits
License
MIT. Please see the license file for more information.