dev-master
9999999-devAllows you to easily override or load template from the database before the filesystem
MIT
The Requires
- php >=5.5.9
- symfony/symfony >=2.7
- doctrine/dbal *
- doctrine/orm *
- doctrine/doctrine-bundle ~1.4
- symfony/twig-bundle *
Allows you to easily override or load template from the database before the filesystem
{ "require": { "elcweb/twigdatabaseloader-bundle": "dev-master" } }
Now tell composer to download the bundle by running the command:, (*2)
``` bash $ php composer.phar update elcweb/twigdatabaseloader-bundle, (*3)
### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Elcweb\TwigDatabaseLoaderBundle\TwigDatabaseLoaderBundle(), ); }
Populate the table Template with your templates, they will be loaded before the filesystem., (*4)
This bundle is under the MIT license. See the complete license in the bundle:, (*5)
Resources/meta/LICENSE
Issues and feature requests are tracked in the Github issue tracker., (*6)
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps., (*7)
Allows you to easily override or load template from the database before the filesystem
MIT