rami-awadallah / prehelpers
Simple view presenter library for Laravel.
dev-master
2017-10-04 12:15 UTC
Requires
- php: >=5.5.9
- illuminate/support: 5.1.*|5.2.*|5.3.*|5.4.*
Requires (Dev)
- illuminate/pagination: 5.1.*|5.2.*|5.3.*|5.4.*
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.0
- squizlabs/php_codesniffer: ~2.0
This package is auto-updated.
Last update: 2024-12-23 02:36:00 UTC
README
$ composer require rami-awadallah/prehelpers
Once you've run composer update
you'll need to register the service provider in your config/app.php
file.
'providers' => [ Ramiawadallah\Prehelpers\PrehelpersServiceProvider::class ]
Usage
Configuring Presenters
There's several ways to configure your presenters. First, you can utilize the configuration file, which can be published using the following command:
$ php artisan vendor:publish --provider="Ramiawadallah\Prehelpers\PrehelpersServiceProvider"