https://github.com/denizozturk/quick-command
This is a collection of quick commands for your Laravel project. It includes commands for actions, enums, helper, traits, etc.
https://github.com/denizozturk/quick-command
action command concern contract enum helper laravel quick trait
Last synced: 20 days ago
JSON representation
This is a collection of quick commands for your Laravel project. It includes commands for actions, enums, helper, traits, etc.
- Host: GitHub
- URL: https://github.com/denizozturk/quick-command
- Owner: denizozturk
- License: mit
- Created: 2022-08-14T23:02:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T23:07:18.000Z (almost 4 years ago)
- Last Synced: 2025-05-13T05:26:04.833Z (about 1 year ago)
- Topics: action, command, concern, contract, enum, helper, laravel, quick, trait
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `quick-command`
This is a collection of quick commands for your Laravel project. It includes commands for actions, enums, helper, traits, etc.
[](https://packagist.org/packages/denizozturk/quick-command)
[](https://github.com/denizozturk/quick-command/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://packagist.org/packages/denizozturk/quick-command)
## Installation
You can install the package via composer:
```bash
composer require denizozturk/quick-command
```
## Usage
```php
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:
```json
{
"autoload": {
"files": [
"app/Helpers/helpers.php"
]
}
}
```
## Testing
```bash
composer test
```
## TODO
- [ ] Add support to more types
- [ ] Add support for useful patterns
- [ ] Add support arguments for commands
## Contributing
Please see [CONTRIBUTING](https://github.com/denizozturk/.github/blob/main/CONTRIBUTING.md) for details.
## Credits
- [Deniz ÖZTÜRK](https://github.com/denizozturk)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.