Download the PHP package princenoman/laravel-rocket without Composer
On this page you can find all versions of the php package princenoman/laravel-rocket. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download princenoman/laravel-rocket
More information about princenoman/laravel-rocket
Files in princenoman/laravel-rocket
Package laravel-rocket
Short Description A Laravel package to generate multiple models, migrations, controllers, requests, factories, and seeders in one command.
License MIT
Informations about the package laravel-rocket
Laravel Rocket
laravel-rocket
is a Laravel package that provides a set of commands to generate multiple resources (controllers, models, migrations, requests, factories, and seeders) in one go, allowing you to streamline your Laravel development process.
Features
-
Generate multiple controllers, models, migrations, requests, factories, and seeders with a single command.
-
Option to create resource controllers.
- Supports Laravel 9 or above.
Installation
Step 1: Install the package in development, you can use the --dev flag
Step 2: Publish the Configuration (if needed) If your package has any configuration files, you can publish them using:
Step 3: Register the Service Provider (for Laravel 10 or below) If you are using Laravel 9 or below, you may need to register the service provider manually in your config/app.php file:
Usage
The package provides several artisan commands to create multiple resources at once.
- Create Multiple Controllers in one command:
This command will generate:
- Create Resource Controllers in one command, use the --resource or -r option:
This will create:
Creating controller in nested folder will also work as like we do in traditional Laravel app.
Note that Nested Folder
will work for all of the mentioned resources of this package.
- Create Multiple Models in one command:
This will create:
Optionally, to create models with migrations:
Create Multiple Migrations for multiple models in one command:
Create Multiple Form request classes in one command:
Create Multiple Factories in one command:
- Create Multiple Seeders in one command:
- Contributing
Contributions are welcome! If you find any bugs or want to add new features, feel free to open an issue or submit a pull request.
License The laravel-rocket package is open-source software licensed under the MIT license.