saucebase / coming-soon
Laravel coming soon page and launch gate for Saucebase: an admin switch sends visitors to an editable coming soon page while admins browse the site, with route exceptions (wildcards), server rendering and light and dark themes. Vue and React (Inertia).
Package info
github.com/saucebase-dev/coming-soon
Type:saucebase-module
pkg:composer/saucebase/coming-soon
Requires
- saucebase/core: ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-01 20:58:50 UTC
README
A Laravel coming soon page and site access gate for Saucebase, on Vue or React.
A module for Saucebase, the AI-ready Laravel SaaS kit. Modules are Composer packages you add to a Saucebase app; once installed, the code is yours to change.
Features
- Coming Soon page with an editable title and message
- Admin toggle to redirect visitors while the site is under construction
- Route exceptions with wildcard support, configured by the application
- Administrator access: settings managers can browse the site normally
- Administrator banner fixed at the bottom, with a link to Coming Soon settings
- Vue and React, with server rendering and light and dark themes
Install
New to Saucebase? Start a new app and pick coming-soon when it asks for modules:
curl -fsSL https://install.saucebase.dev | bash
It installs PHP and Composer if they're missing. With the CLI already installed, run saucebase new my-app instead.
Already have a Saucebase app? Add it with:
php artisan saucebase:module-install coming-soon
npm install && npm run build
Configuration
Coming Soon is off by default. Enable it and edit the page text in the admin panel, under Settings → Coming Soon.
Set path and except_routes in the application's config/coming-soon.php. The default path is /coming-soon; choose a path separate from the homepage. Route exceptions accept names and wildcard patterns. Allow the application's login and admin routes so administrators can still sign in and manage settings.
Links in emails
While Coming Soon is on, a link someone opens from an email is a page visit like any other, so it lands on the Coming Soon page unless its route is in except_routes. That includes the page the link redirects to afterwards. This module ships no exceptions: which emailed links must work before launch is the application's decision, so add their routes to the application's config/coming-soon.php, never to this module. A visitor who signs in without manage settings is still sent to the Coming Soon page.
The route name stays coming-soon.index. Rebuild the route cache after changing the path. When disabled, the Coming Soon URL redirects to /.
Users with manage settings bypass redirects and see the banner. Its settings link is shown only to users who also have access admin panel. The module uses Laravel authentication and core permissions, and requires no other module.
Only HTML GET/HEAD and Inertia page visits redirect. APIs, submissions, assets, and unknown URLs keep their normal behavior. This does not replace authentication or Laravel maintenance mode.
Demo data
This module has no seeders or demo data.
License
MIT. See LICENSE.