PHPackages                             rebbulldev/dev - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rebbulldev/dev

ActiveLibrary

rebbulldev/dev
==============

2.2(3y ago)016PHP

Since Sep 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/redbulldev/package-repo-dev)[ Packagist](https://packagist.org/packages/rebbulldev/dev)[ RSS](/packages/rebbulldev-dev/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Documentation
-------------

[](#documentation)

To get started with **Base Repository**, use Composer to add the package to your project's dependencies:

```
    composer require rebbull/dev
```

Configuration
-------------

[](#configuration)

### Laravel

[](#laravel)

```
'providers' => [
    // Other service providers...

    Rebbull\RepositoryServiceProvider::class,
],
```

### Basic Usage

[](#basic-usage)

Next, you are ready to use repository. If you want create repository with Model corresponding(example:UserRepository), run commnand line

```
php artisan make:repository UserRepository -i
```

When run this commnand, Packeage automatic generate two file in forder Repository: UserRepository and UserRepositoryInterface. UserRepository extends AbstractRepository so you can use method in AbstractRepository

```
