Just look at Illuminate\Foundation\Console\ModelMakeCommand and you can mimic it to suit your needs.
Feb 16, 2015
7
Level 6
Create a new Repository with Artisan?
How can I create an empty repository with artisan? Like a model. Something like this:
php artisan make:repository UserRepository
which creates
<?php namespace App\Repositories;
class UserRepository extends BaseRepository {
//
}
Please or to participate in this conversation.