PHP code example of alleycarvalho / l5-location
1. Go to this page and download the library: Download alleycarvalho/l5-location 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/ */
alleycarvalho / l5-location example snippets
php
'providers' => [
…
AlleyCarvalho\Location\Providers\LocationServiceProvider::class,
];
php
protected $middlewareGroups = [
'web' => [
…
\AlleyCarvalho\Location\Http\Middleware\Locale::class,
];
];