This repository helps to you that create interface, create repository class in laravel projects.
Install this package with composer
composer require --dev usmonaliyev/repository-patternphp artisan create:pattern FooThis command creates FooInterface in App/Interfaces folder.
It creates FooRepository in App/Repositories which is implemented FooInterface.
It inserts $this->app->singleton(FooInterface::class, FooRepository::class); to boot function of App/Providers/AppServiceProvider.php