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.
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/denizozturk/quick-command
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:makecommand with--type=actionor--type=contractor--type=enumor--type=helperor--type=trait
Warning If you created a global helper, you should update your
compose.jsonfile. 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.