PHP code example of makkinga / laravel-flags
1. Go to this page and download the library: Download makkinga/laravel-flags 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/ */
makkinga / laravel-flags example snippets
return [
'aliases' = [
//
]
];
return [
'aliases' = [
'en' => 'gb',
]
];
shell script
php artisan vendor:publish --provider="Makkinga\Flags\ServiceProvider" --tag="config"