Laravel More Command
Installasi
composer require theanik/laravel-more-command
php artisan vendor:publish --provider="Theanik\LaravelMoreCommand\LaravelMoreCommandProvider" --tag="config"
Cheat Sheet
php artisan make:repository UserRepository
php artisan make:repository Backend/UserRepository
# dengan interface
php artisan make:repository your-repository-name -i
php artisan make:service UserService
php artisan make:service Backend/UserService
php artisan make:trait HasAuth
php artisan make:trait Backend/HasAuth
php artisan make:view index
php artisan make:view user/index
Menghapus log lama di /storage/logs
php artisan log:clear
Merubah default namespace di luar App/Http
'repository-namespace' => 'App/YourAPP',
'service-namespace' => 'App/YourAPP',