Package Data | |
---|---|
Maintainer Username: | syholloway |
Maintainer Contact: | david.aw.barker@gmail.com (David Barker) |
Package Create Date: | 2015-07-02 |
Package Last Update: | 2019-05-09 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:07:25 |
Package Statistics | |
---|---|
Total Downloads: | 5,525 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
A repository package to add easy to use repositories to any Laravel project utilising Eloquent as the primary DAL. Tested in Laravel 5.3.
composer require daveawb/repos
namespace App\Repositories;
class Repository extends \Daveawb\Repos\Repository
{
/**
* Return the models class name
*
* @return string
*/
public function model()
{
return App\User::class;
}
}