This package provides a set of new artisan commands for Laravel
Use the package manager composer to install dannyvilla/artisan-commands
composer require dannyvilla/artisan-commands
php artisan make:view folder.subfolder.view
php artisan make:view folder.subfolder.view --layout=app
php artisan make:repository UserRepository
php artisan make:repository UserRepository --model=User
OR
php artisan make:repository UserRepository --model=App\Models\User
php artisan make:service PayPalPaymentService
php artisan make:lang myFilanem --locale=es
php artisan make:lang --locale=es --json
php artisan make:class App\Handlers\UserHandlers
or you can use a dot(.) as separator
php artisan make:class App.Handlers.UserHandlers --separator=.
php artisan make:class App\Traits\MyTrait --kind=trait
php artisan make:class App\Contracts\IClassable --kind=interface
php artisan make:file folder.subfolder1.subfolder2.filename --ext=php
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.