This is a Simple Repository Pattern implementation for Laravel Projects and an easily way to build Eloquent queries from API requests.
You can install the package via composer:
composer require mawuekom/laravel-repository
After register the service provider to the providers
array in config/app.php
'providers' =>
...
Mawuekom\Repository\RepositoryServiceProvider::class
...
];
Publish package config
php artisan vendor:publish --provider="Mawuekom\Repository\RepositoryServiceProvider"
Go to bootstrap/app.php
, and add this in the specified key
$app->register(Mawuekom\Repository\RepositoryServiceProvider::class);
// Coming soon
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
Contact me on Twitter @ephraimseddor
The MIT License (MIT). Please see License File for more information.