A symfony bundle that configures several hosting-related things.
Eases the integration with several hosting-related topics.
tier(required): the tier the app is currently deployed to. Normally something like
project(required): the clear text name of the project
installation(required): the key of this installation (used for tokens and uptime monitoring)
- Should be unique per installation.
- Should be a technical key (only
a-z 0-9 -_).
trackjs: the token for the integration with TrackJS.
Just fetch the
Becklyn\Hosting\Config\HostingConfig service and you have access to the hosting configuration.
The bundle automatically adds a
<!-- uptime monitor: $project_name -->comment to all HTML responses. Use this for integration into uptime monitors.
If you set a
trackjstoken, you can include the monitoring JS:
This bundle registers a
@hosting namespace in the becklyn assets bundle.