luchavez/boilerplate-generator

A boilerplate generator for building packages and implementing DDD on Laravel 8|9|10.

1.2.0 2024-02-14 15:09 UTC

README

Latest Version on Packagist Total Downloads GitHub Repo stars Discord Twitter Follow

Supercharge your Laravel App!

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.