Download the PHP package jack009/coming-soon-symfony-bundle without Composer
On this page you can find all versions of the php package jack009/coming-soon-symfony-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jack009/coming-soon-symfony-bundle
More information about jack009/coming-soon-symfony-bundle
Files in jack009/coming-soon-symfony-bundle
Download jack009/coming-soon-symfony-bundle
More information about jack009/coming-soon-symfony-bundle
Files in jack009/coming-soon-symfony-bundle
Vendor jack009
Package coming-soon-symfony-bundle
Short Description A Symfony bundle to enable or disable a Coming Soon page for your application.
License MIT
Package coming-soon-symfony-bundle
Short Description A Symfony bundle to enable or disable a Coming Soon page for your application.
License MIT
Please rate this library. Is it a good library?
Informations about the package coming-soon-symfony-bundle
Coming Soon Symfony Bundle
A Symfony bundle that lets you enable or disable a Coming Soon page for your application with a single configuration flag.
Features
- Toggle the coming soon page on/off via a single
enabledflag - Configurable HTTP status code (default:
503 Service Unavailable) - Customisable Twig template
- IP whitelist – allow specific IP addresses to bypass the coming soon page
- Excluded routes – allow specific named routes to pass through
- Excluded paths – allow specific URL path prefixes to pass through (e.g.
/admin) - Symfony Web Debug Toolbar / Profiler (
/_wdt,/_profiler) is automatically allowed through whenkernel.debugistrue
Installation
Register the bundle in config/bundles.php:
Configuration
Create config/packages/coming_soon.yaml:
Options
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool | false |
Set to true to show the coming soon page |
template |
string | @ComingSoon/coming_soon.html.twig |
Twig template to render |
status_code |
int | 503 |
HTTP status code of the response |
whitelisted_ips |
string[] | [] |
IPs that bypass the coming soon page |
excluded_routes |
string[] | [] |
Named routes that bypass the coming soon page |
excluded_paths |
string[] | [] |
URL path prefixes that bypass the coming soon page |
Custom Template
Override the built-in template by pointing template at your own Twig file:
The template receives one variable:
| Variable | Type | Description |
|---|---|---|
status_code |
int | The configured HTTP status code |
License
MIT
All versions of coming-soon-symfony-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
symfony/dependency-injection Version ^8.0
symfony/http-kernel Version ^8.0
symfony/config Version ^8.0
twig/twig Version ^3.0
symfony/dependency-injection Version ^8.0
symfony/http-kernel Version ^8.0
symfony/config Version ^8.0
twig/twig Version ^3.0
The package jack009/coming-soon-symfony-bundle contains the following files
Loading the files please wait ...