Thanks to visit codestin.com
Credit goes to github.com

Skip to content

usmonaliyev99/repository-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REPOSITORY-PATTERN

This repository helps to you that create interface, create repository class in laravel projects.

Installation

Install this package with composer

composer require --dev usmonaliyev/repository-pattern

Using

php artisan create:pattern Foo

This 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

Authors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages