PHP code example of morrislaptop / laravel-five-package-bridges
1. Go to this page and download the library: Download morrislaptop/laravel-five-package-bridges 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/ */
morrislaptop / laravel-five-package-bridges example snippets
$app = new Illuminate\Foundation\Application(
realpath(__DIR__.'/../')
);
$app = new Morrislaptop\LaravelFivePackageBridges\Application(
realpath(__DIR__.'/../')
);
namespace App\Bridges;
use Morrislaptop\LaravelFivePackageBridges\LaravelFivePackageBridgeTrait;
use Acme\Private\NuclearServiceProvider as BaseNuclearServiceProvider;
class NuclearServiceProvider extends BaseNuclearServiceProvider
{
use LaravelFivePackageBridgeTrait;
}