PHPackages                             tungnt/laravel-repository - 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. tungnt/laravel-repository

ActiveLibrary

tungnt/laravel-repository
=========================

Create a Repository using Artisan CLI

1.0.4(3y ago)056MITPHP

Since Nov 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tungnt1405/laravel-repository)[ Packagist](https://packagist.org/packages/tungnt/laravel-repository)[ RSS](/packages/tungnt-laravel-repository/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (8)Used By (0)

Laravel Repository
==================

[](#laravel-repository)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2b7e3c44a9b8d9389dcef26cd087fb7ea410166ac87bfeff70dadef0e13a14b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74756e676e742f6c61726176656c2d7265706f7369746f7279)](https://packagist.org/packages/tungnt/laravel-repository)[![GitHub license](https://camo.githubusercontent.com/de2255c5d94d5481b080ae3c15c424f61999b249ee846ccab1334862c32f0b4b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74756e676e74313430352f6c61726176656c2d7265706f7369746f7279)](https://github.com/tungnt1405/laravel-repository/blob/main/LICENSE)

Repository setup inspired by the theanik/laravel-more-command package. This package is an extended, adjusted (but entirely independent) version of that, with its own interfaces.

Install
-------

[](#install)

Via Composer

```
composer require tungnt/laravel-repository --dev
```

Or add the following to your composer.json's require-dev section and composer update

```
"require-dev": {
    "tungnt/laravel-repository": "^1.0.4"
}
```

Publish Package Configuration
-----------------------------

[](#publish-package-configuration)

```
php artisan vendor:publish --provider="Tungnt\LaravelRepository\RepositoryServiceProvider" --tag="tungnt/config" --tag="tungnt/Repositories"
```

To Change Default Namespace \[config/repository.php\]
-----------------------------------------------------

[](#to-change-default-namespace-configrepositoryphp)

```
