diff --git a/README.md b/README.md index 81b323a6..3cad9c04 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ Laravel 5 Repositories is used to abstract the data layer, making our applicatio - Presenters - Fractal Presenter - Create a Fractal Presenter + - Model Transformable - Enabling in your Repository ## Installation @@ -105,6 +106,10 @@ php artisan vendor:publish --provider="Prettus\Repository\Providers\RepositorySe - apply($model, RepositoryInterface $repository); +### Prettus\Repository\Contracts\Transformable + +- transform(); + ## Usage ### Create a Model diff --git a/migration-to-2.0.md b/migration-to-2.0.md index b10f4fed..a8d24c76 100644 --- a/migration-to-2.0.md +++ b/migration-to-2.0.md @@ -1,5 +1,7 @@ # Laravel 5 Repositories +[![Analytics](https://ga-beacon.appspot.com/UA-61050740-1/l5-repository/migration-to-2.0)](https://packagist.org/packages/prettus/l5-repository) + ## Migrate from version 1.0 to 2.0 ### Registering the model's repository