elcweb / twigdatabaseloader-bundle
Allows you to easily override or load template from the database before the filesystem
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- doctrine/dbal: *
- doctrine/doctrine-bundle: ~1.4
- doctrine/orm: *
- symfony/symfony: >=2.7
- symfony/twig-bundle: *
This package is auto-updated.
Last update: 2024-10-08 01:03:08 UTC
README
Installation
Step 1: Download using composer
{ "require": { "elcweb/twigdatabaseloader-bundle": "dev-master" } }
Now tell composer to download the bundle by running the command:
$ php composer.phar update elcweb/twigdatabaseloader-bundle
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Elcweb\TwigDatabaseLoaderBundle\TwigDatabaseLoaderBundle(), ); }
Usage
Populate the table Template with your templates, they will be loaded before the filesystem.
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
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.