PHPackages                             wendelladriel/laravel-more - 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. [Database &amp; ORM](/categories/database)
4. /
5. wendelladriel/laravel-more

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

wendelladriel/laravel-more
==========================

Implementation of the Repository Pattern using Laravel Model binding

v1.0.0(3y ago)531MITPHPPHP ^8.0

Since Oct 6Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel MoRe
============

[](#laravel-more)

> Implementation of the Repository Pattern using Laravel Model binding

The Repository Pattern
----------------------

[](#the-repository-pattern)

Repositories are used to wrap the logic to access the data sources of our applications. They can be used to improve the maintainability of an application by providing a central point in the code where the data sources are accessed.

Installation
------------

[](#installation)

```
composer require wendelladriel/laravel-more

```

You can publish the config file with:

```
php artisan vendor:publish --provider="WendellAdriel\LaravelMore\LaravelMoreServiceProvider" --tag=config

```

Usage
-----

[](#usage)

This package provides a `BaseRepository` class that you can extend to create your own Repositories.

Example:

```
