ahmedessam/laravel-commander

Laravel Commander is a package that adds custom commands to your Laravel application.

v1.1.0 2024-10-28 19:18 UTC

This package is auto-updated.

Last update: 2024-10-28 19:21:03 UTC


README

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:

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

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! 🚀