PHP code example of meat / coming-soon
1. Go to this page and download the library: Download meat/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/ */
meat / coming-soon example snippets
$providers = [
\Meat\ComingSoonServiceProvider::class
...
]
Route::get('coming-soon', function() {
return view('coming-soon');
});
Route::group(['middleware' => 'comingsoon'], function() {
//All the blocked routes
Route::get('/', 'HomeController@home');
...
});