twin-elements / core-bundle
Symfony 3 Twin Elements CMS Core bundle
Installs: 62
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- twig/twig: ^1.0||^2.0
This package is auto-updated.
Last update: 2025-02-23 22:19:57 UTC
README
Symfony 3 Core bundle for CMS JELLINEK
-
Download this bundle to your project first. The preferred way to do it is to use Composer package manager:
$ composer require twin-elements/core-bundle
NOTE: If you haven't installed
Composer
yet, check the [installation guide][2].NOTE: If you're not using
Composer
, add theCoreBundle
to your autoloader manually. -
Add this bundle to your application's kernel:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new TwinElements\CoreBundle\TwinElementsCoreBundle(), // ... ); }
-
Add to routing.yml
twin_elements_core: resource: "@TwinElementsCoreBundle/Controller/" prefix: /
Usage
Add .scss
files to main style.scss
Add javascripts
To include cookies
{% include '@TwinElementsCore/cookies/cookies.html.twig' %}
To include push-alerts
{% include '@TwinElementsCore/alerts/alerts.html.twig' %}