Extended Laravel Artisan commands to generate migrations with schema definitions and pivot tables directly from the command line.
Laravel 5 Generators Extended is a Laravel package that enhances the framework's Artisan command-line tools by adding new migration generators. It allows developers to define database table schemas and pivot tables directly within the `make:migration` command, automating the creation of boilerplate migration files. This saves time and reduces manual coding when setting up or modifying database structures in Laravel applications.
Laravel developers who frequently work with database migrations and want to accelerate their workflow by generating code from command-line specifications. It's particularly useful for those building applications with complex database schemas or many pivot relationships.
Developers choose this package because it integrates seamlessly with Laravel's existing Artisan commands, follows framework conventions, and significantly reduces the boilerplate code needed for migrations. Its intuitive schema syntax and support for foreign keys, pivot tables, and model generation make it a powerful productivity tool for Laravel projects.
This package extends the core file generators that are included with Laravel 5
Allows defining columns, types, and modifiers like nullable or unique in a single command, reducing boilerplate code as demonstrated with examples like 'email:string:unique:default("foo@example.com")'.
Quickly generates pivot table migrations with proper foreign keys and indexing using make:migration:pivot, streamlining many-to-many relationship setup without manual coding.
Adapts migration boilerplate based on keywords like 'create' or 'remove' in the migration name, minimizing manual adjustments for common operations.
Can generate accompanying Eloquent models with the --model=true flag, saving additional steps when setting up new database tables.
Officially supports only Laravel 6-9, making it incompatible with newer versions without potential breaking changes, as stated in the README's versions section.
The command-line schema format may not support all Laravel migration features, such as spatial columns or custom column types, limiting advanced use cases to what the syntax can express.
Relies heavily on migration name keywords for boilerplate adaptation, which can be error-prone if naming conventions aren't followed strictly, leading to incorrect code generation.
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Debugbar for Laravel (Integrates PHP Debug Bar)
IDE Helper for Laravel
PHP Image Processing
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.