Download the PHP package ahmedessam/laravel-commander without Composer
On this page you can find all versions of the php package ahmedessam/laravel-commander. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahmedessam/laravel-commander
More information about ahmedessam/laravel-commander
Files in ahmedessam/laravel-commander
Package laravel-commander
Short Description Laravel Commander is a package that adds custom commands to your Laravel application.
License MIT
Informations about the package laravel-commander
Laravel Commander

Laravel Commander is a Laravel package that provides a set of artisan commands to help you manage your Laravel projects more efficiently. It includes commands to help you manage your project's generate trait, enum, and more.
Installation
You can install the package via Composer:
The package will automatically register itself.
Publishing the assets
After installing the package, you must publish the assets using the following command:
This command will publish the Traits directory to the app directory.
Usage
To generate a new trait, run the following command:
This command will create a new trait in the app/Traits directory.
To generate a new enum, run the following command:
This command will create a new enum in the app/Enums directory.
To generate a new interface, run the following command:
This command will create a new interface in the app/Contracts directory.
To generate a new service, run the following command:
if you want to generate a service for a specific model, you can pass the model name as an argument:
This command will create a new service in the app/Services directory.
To generate a new repository, run the following command:
This command will create a new repository in the app/Repositories directory.
To generate a new model scope, run the following command:
This command will create a new model scope in the app/Scopes directory.
To generate a new facade, run the following command:
This command will create a new facade in the app/Facades directory.
To generate a new data transfer object (DTO), run the following command:
This command will create a new DTO in the app/DataTransferObjects directory.
To generate a new api crud, run the following command:
This command will create a new api crud.
To generate a new notification channel, run the following command:
This command will create a new notification channel in the app/Notifications/Channels directory.
To generate a new notification channel message, run the following command:
This command will create a new notification channel message in the app/Notifications/Messages directory.
To generate a new action class, run the following command:
This command will create a new action class in the app/Actions directory.
Features
- Generate a new trait
- Generate a new enum
- Generate a new interface
- Generate a new service
- Generate a new repository
- Generate a new model scope
- Generate a new facade
- Generate a new data transfer object (DTO)
- Generate a new api crud
- Generate a new notification channel
- Generate a new notification channel message
- Generate a new action class
Requirements
- PHP >= 7.4 or higher
- Laravel >= 7.0 or higher
- Composer
License
The Laravel Commander is open-sourced software licensed under the MIT license.
Author
- Ahmed Essam
- GitHub Profile
- Packagist
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Issues
If you find any issues with the package or have any questions, please feel free to open an issue on the GitHub repository.
Enjoy using Laravel Commander! 🚀
All versions of laravel-commander with dependencies
illuminate/support Version ^11.0|^10.0|^9.0|^8.0
illuminate/console Version ^11.0|^10.0|^9.0|^8.0