ahmedessam / laravel-commander
Laravel Commander is a package that adds custom commands to your Laravel application.
Requires
- php: ^7.4|^8.0
- illuminate/console: ^11.0|^10.0|^9.0|^8.0
- illuminate/support: ^11.0|^10.0|^9.0|^8.0
README
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:
composer require ahmedessam/laravel-commander
Usage
To generate a new trait, run the following command:
php artisan make:trait
This command will create a new trait in the app/Traits
directory.
To generate a new enum, run the following command:
php artisan make:enum
This command will create a new enum in the app/Enums
directory.
To generate a new interface, run the following command:
php artisan make:contract
This command will create a new interface in the app/Contracts
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)
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
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! 🚀