Looking to hire Laravel developers? Try LaraJobs

patchr-laravel maintained by 0plus1

Description
Laravel wrapper for Patchr
Author
Last update
2017/04/19 06:11 (dev-master)
License
Links
Downloads
206

Comments
comments powered by Disqus

Patchr - Laravel/Lumen

MySQL version control Patchr on github.

Install

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).