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
Requires
- php: ^8.1
- illuminate/contracts: ^9.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
README
This is a collection of quick commands for your Laravel project. It includes commands for actions, enums, helper, traits, etc.
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.