2017 © Pedro Peláez
 

library coming-soon

Force a comming soon page if APP_COMINGSOON variable is true on .env

image

meat/coming-soon

Force a comming soon page if APP_COMINGSOON variable is true on .env

  • Thursday, December 15, 2016
  • by freshwork
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

MEAT | Coming Soon

Laravel package, (*1)

Installation

Install with composer composer require meat/coming-soon, (*2)

Add the service provider to your config/app.php, (*3)

$providers = [
    \Meat\ComingSoonServiceProvider::class
    ...
]

php artisan vendor:publish, (*4)

Edit your config\coming-soon.php, (*5)

Add APP_COMINGSOON=true to your .env, (*6)

Add the middleware comingsoon to the routes you want to block until the goes live., (*7)

```php, (*8)

Route::get('coming-soon', function() { return view('coming-soon'); });, (*9)

Route::group(['middleware' => 'comingsoon'], function() { //All the blocked routes, (*10)

Route::get('/', 'HomeController@home');
...

}); ```, (*11)

The Versions

15/12 2016

dev-master

9999999-dev

Force a comming soon page if APP_COMINGSOON variable is true on .env

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

by Gonzalo De Spirito

15/12 2016

0.1

0.1.0.0

Force a comming soon page if APP_COMINGSOON variable is true on .env

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

by Gonzalo De Spirito