Package Data | |
---|---|
Maintainer Username: | 0plus1 |
Maintainer Contact: | davide.0plus1@gmail.com (Davide Gaido) |
Package Create Date: | 2017-03-15 |
Package Last Update: | 2017-04-19 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-12 15:15:31 |
Package Statistics | |
---|---|
Total Downloads: | 203 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Composer
composer require 0plus1/patchr-laravel
Create folder Create a new folder named patchr in your storage folder.
Laravel
In ./config/app.php
Add:
Zeroplusone\Patchr\Laravel\LaravelServiceProvider::class,
To the 'providers' array.
Then run:
php artisan vendor:publish --provider="Zeroplusone\Patchr\Laravel\LaravelServiceProvider" --tag="config"
To publish the configuration file.
Lumen
First copy the configuration file:
./vendor/0plus1/patchr-laravel/config/patchr.php
to ./config/patchr.php
In ./bootstrap/app.php add:
$app->register( Zeroplusone\Patchr\Laravel\LumenServiceProvider::class);
To the 'Register Service Providers' section.
$app->configure('patchr');
To the 'Create The Application' section.
####Publish config
Laravel
Lumen
php artisan vendor:publish --provider="Zeroplusone\Patchr\Laravel\LumenServiceProvider" --tag="config"
This will publish a ./config/patchr.php file.
####Configure
Change configuration to suit your app needs (Documentation).