zeecoder / route-list-bundle
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/zeecoder/route-list-bundle
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2022-02-01 12:37:38 UTC
README
Exposes the routes on staging and local servers. (Configurable)
Usage
- Install with composer,
- Register in the AppKernel:
new ZeeCoder\Bundle\RouteListBundle\ZeeRouteListBundle(),
. - Add the routing file (
@ZeeRouteListBundle/Resources/config/routing.yml
).
The route can then be accessed through the /links
route.
By default, only the localhost or 127.0.0.1 hosts are allowed to see the route.
If you want to allow more hosts, override the parameters.
The default value is: zee_route_list.allowed_hosts: localhost|127.0.0.1
.