Download the PHP package bravesheep/live-reload-bundle without Composer
On this page you can find all versions of the php package bravesheep/live-reload-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bravesheep/live-reload-bundle
More information about bravesheep/live-reload-bundle
Files in bravesheep/live-reload-bundle
Package live-reload-bundle
Short Description Automatically include the live reload script in Symfony
License MIT
Informations about the package live-reload-bundle
BravesheepLiveReloadBundle
A Symfony bundle that automatically includes a link to the livereload script in any html response (based on configuration).
Inspired by the KunstmaanLiveReloadBundle.
Installation and configuration
Using Composer add the bundle to your dependencies using the require command. This command adds the bundle only for development purposes:
composer require --dev bravesheep/live-reload-bundle
Add the bundle to your AppKernel
Add the bundle in your app/AppKernel.php
. To add it to just your development
bundles:
Configure the bundle
The bundly does not need any configuration and should work right away. However you can customize some settings, you can adjust the default configuration as shown below:
You may want to parameterize the enabled flag to allow individual developers to pick whether or not to enable livereload:
And in your app/config/parameters.yml
:
All versions of live-reload-bundle with dependencies
symfony/config Version ^2.3|^3.0
symfony/dependency-injection Version ^2.3|^3.0
symfony/http-kernel Version ^2.3|^3.0
symfony/event-dispatcher Version ^2.3|^3.0