2017 © Pedro Peláez
 

library repo

A Laravel repository package for retrieving, filtering and sorting models

image

thinktomorrow/repo

A Laravel repository package for retrieving, filtering and sorting models

  • Friday, September 1, 2017
  • by BenCavens
  • Repository
  • 3 Watchers
  • 0 Stars
  • 333 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

repo

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A Laravel repository package for retrieving, filtering and sorting models, (*2)

The repo class offers an opinionated way of querying your eloquent model., (*3)

Install

Via Composer, (*4)

``` bash $ composer require thinktomorrow/repo, (*5)


## Usage ``` php <?php namespace App\Domain; use Thinktomorrow\Repo\BaseRepository; use Thinktomorrow\Repo\Filterable; use Thinktomorrow\Repo\Sortable; class ChildRepository extends BaseRepository{ use Filterable, Sortable; public function __construct(ModelStub $model) { $this->setModel($model); } }

Testing

bash $ vendor/bin/phpunit, (*6)

Security

If you discover any security related issues, please email ben@thinktomorrow.be instead of using the issue tracker., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

01/09 2017

dev-master

9999999-dev https://github.com/thinktomorrow/repo

A Laravel repository package for retrieving, filtering and sorting models

  Sources   Download

MIT

The Requires

 

The Development Requires

repo thinktomorrow

12/05 2016

1.0.0

1.0.0.0 https://github.com/thinktomorrow/repo

A Laravel repository package for retrieving, filtering and sorting models

  Sources   Download

MIT

The Requires

 

The Development Requires

repo thinktomorrow