PHP code example of 0plus1 / patchr-laravel

1. Go to this page and download the library: Download 0plus1/patchr-laravel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

0plus1 / patchr-laravel example snippets


Zeroplusone\Patchr\Laravel\LaravelServiceProvider::class,

$app->register( Zeroplusone\Patchr\Laravel\LumenServiceProvider::class);

$app->configure('patchr');

php artisan vendor:publish --provider="Zeroplusone\Patchr\Laravel\LaravelServiceProvider" --tag="config"
./vendor/0plus1/patchr-laravel/config/patchr.php
./config/patchr.php

php artisan vendor:publish --provider="Zeroplusone\Patchr\Laravel\LumenServiceProvider" --tag="config"