infinite-networks / common-bundle
Infinite Networks common helpers
3.1.1
2023-03-15 21:41 UTC
Requires
- psr/log: >=1.0
- sentry/sentry: >=1.1
- symfony/doctrine-bridge: ~4.0
- symfony/framework-bundle: ~4.0
- symfony/validator: ~4.0
- twig/twig: >=2.0
Requires (Dev)
- doctrine/orm: ~2.3
- phpunit/phpunit: ~5.0
README
Please note that no support is provided for using this bundle.
Provides common functionality used in most Infinite Networks Symfony2 applications.
- To use the twig variable
site
, AppKernel must be modified to add an additional parameter to the container:
protected function getKernelParameters() { $parameters = parent::getKernelParameters(); $parameters['site.version'] = trim(shell_exec('git describe --tags --always')); return $parameters; }