denizozturk/quick-command

This is a collection of quick commands for your laravel project. It includes commands for actions, enums, helper, traits and other stuff.

v1.0 2022-08-14 23:02 UTC

This package is auto-updated.

Last update: 2024-05-15 21:23:42 UTC


README

This is a collection of quick commands for your Laravel project. It includes commands for actions, enums, helper, traits, etc.

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Installation

You can install the package via composer:

composer require denizozturk/quick-command

Usage

php artisan quick:make CollectionName --type=action

Note You can use php artisan quick:make command with --type=action or --type=contract or --type=enum or --type=helper or --type=trait

Warning If you created a global helper, you should update your compose.json file. As you can see in the example below:

{
  "autoload": {
    "files": [
      "app/Helpers/helpers.php"
    ]
  }
}

Testing

composer test

TODO

  • Add support to more types
  • Add support for useful patterns
  • Add support arguments for commands

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.