zeecoder / capifony-deploy-info-bundle
Installs: 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/zeecoder/capifony-deploy-info-bundle
Requires
- php: >=5.3.3
README
As the name suggests, this bundle assumes a Capifony deployment process.
The bundle adds a simple footer for the dev environment, showing when was the last deployment, and what is the current "version". (Which is the name of the project's current folder on the server.)
Usage
-
Install with composer,
-
Register in the AppKernel:
new ZeeCoder\Bundle\CapifonyDeployInfoBundle\ZeeCapifonyDeployInfoBundle(),
, -
Add the css after
assets:install
:bundles/zeecapifonydeployinfo/css/DeploymentInfo.css
-
Render the Deployment controller's getInfo action wherever you want in your twig template:
{{ render(controller('ZeeCapifonyDeployInfoBundle:Deployment:getInfo')) }}