PHP code example of erikgreasy / laravel-coming-soon
1. Go to this page and download the library: Download erikgreasy/laravel-coming-soon 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/ */
erikgreasy / laravel-coming-soon example snippets
return [
'enabled' => env('COMING_SOON_ENABLED', false),
'route' => 'coming-soon',
];
bash
php artisan vendor:publish --tag="laravel-coming-soon-config"
bash
php artisan vendor:publish --tag="laravel-coming-soon-views"