2017 © Pedro Peláez
 

library presenters

Basic presenters

image

displore/presenters

Basic presenters

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

Displore Presenters

Latest Version on Packagist ![Quality Score][ico-code-quality], (*1)

Basic presenters, designed but not dependend on Laravel., (*2)

Install

Via Displore Core

``` bash $ php artisan displore:install presenters, (*3)


### Via Composer ``` bash $ composer require displore/presenters

Usage

  1. Let your presentable model use the Displore\Presenters\Presentable trait.
  2. Set a $presenter variable in your model, containing a path to the presenter class for that model.
  3. The presenter should extend Displore\Presenters\Presenter.
  4. Now you can use the present() function on your model.

Change log

Please see changelog for more information what has changed recently., (*4)

Testing

The package comes with unit tests. In a Laravel application, with Laravel Packager: bash $ php artisan packager:git *Displore Github url* $ php artisan packager:tests Displore Presenters $ phpunit, (*5)

Contributing

Please see contributing for details., (*6)

Credits

License

The EUPL License. Please see the License File for more information., (*7)

The Versions

27/06 2016

dev-master

9999999-dev https://github.com/Displore/Presenters

Basic presenters

  Sources   Download

EUPL-1.1

The Requires

  • php ~5.5|~5.6|~7.0

 

laravel presenters displore

26/06 2016

v1.0

1.0.0.0 https://github.com/Displore/Presenters

Basic presenters

  Sources   Download

EUPL-1.1

The Requires

  • php ~5.5|~5.6|~7.0

 

laravel presenters displore