halfpetal / laravel-artisan-commands
Artisan commands that should exist, but don't...until now.
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: >=5.4.0
Requires (Dev)
- codeclimate/php-test-reporter: ^0.3.2
- doctrine/dbal: ^2.5
- fzaninotto/faker: ~1.4
- laravel/laravel: 5.*
- mockery/mockery: ^0.9.5
- phpunit/phpunit: 5.*
This package is auto-updated.
Last update: 2023-05-17 16:16:35 UTC
README
Supported Versions
Laravel Version | Tested | Working |
---|---|---|
v5.6 | ✔️ | ✔️ |
v5.5 | ✔️ | ✔️ |
About
Laravel Artisan Commands makes new commands available through php artisan
that could prove helpful to you throughout your development process.
Installation
composer require halfpetal/laravel-artisan-commands
If you use Laravel 5.5+, you have nothing else to do. If not, add our service provider to config/app.php
'providers' => [ ... Halfpetal\Laravel\ArtisanCommands\ArtisanCommandServiceProvider, ... ];
Commands
make:observer
We aren't sure why this one is not in Laravel by default. It's very useful and we've needed it on countless occasions.
Arguments
name
- The class name
model
- The model for the observer to use.
namespace
(optional) - The application namespace. The default will be used.
route:simplelist
The default route:list
can be so cluttered. This one is a simplified version of that.
Thanks
Huge thanks to Jordan Dalton over at Larastream for the final kick in the ass to do this package.