Description
A straightforward Coming Soon package for Laravel with Countdown timer and Email capture.
Just Install the package, configure .env and you are ready to go!
Installation
composer require softnweb/laravel-coming-soon
After Installation run this command to publish file
php artisan vendor:publish
If you want to display the Email form
Then run php artisan migrate
.env values
You will have to add the following to your .env and set values accordingly
-
OFFLINE_ENABLE= {true/false} (Enable Coming Soon page)
-
OFFLINE_SHOW_EMAIL_FORM= {true/false} (Display the Email form)
-
OFFLINE_SEND_EMAIL_TO= {[email protected]}
-
OFFLINE_YEAR= {2018} (Countdown year)
-
OFFLINE_MONTH= {12} (Countdown month)
-
OFFLINE_DAY= {1} (Countdown day)
-
OFFLINE_HOURS= {1} (Countdown hours)
-
OFFLINE_MINUTES= {60} (Countdown minutes)
-
OFFLINE_SECONDS= {60} (Countdown seconds)
-
OFFLINE_FACEBOOK= {http://facebook.com/softnweb}
-
OFFLINE_INSTAGRAM= {#}
-
OFFLINE_GITHUB= {#}
-
OFFLINE_MAIL= {[email protected]}