c33s-toolkit / layout-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Base layouts for Symfony 3 applications to be used with c33s-toolkit/bootstrap3-bundle
0.2.1
2017-10-08 23:13 UTC
This package is auto-updated.
Last update: 2022-02-01 13:10:16 UTC
README
Base layouts for Symfony 3 applications. Can optionally be integrated with c33s-toolkit/bootstrap3-bundle, sonata-project/page-bundle and sonata-project/seo-bundle.
Installation
Add the following to your composer.json
:
"config": {
"component-dir": "web/media/components",
"component-baseurl": "media/components",
},
Install composer package: composer require c33s-toolkit/layout-bundle
.
Add bundles to your AppKernel.php:
<?php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
// ...
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new C33s\Toolkit\CoreConfigBundle\C33sToolkitCoreConfigBundle(),
new C33s\Toolkit\LayoutBundle\C33sToolkitLayoutBundle(),
new SunCat\MobileDetectBundle\MobileDetectBundle(),
Copy the default config for assetic
and mobile_detect
from src/Resources/config/defaults/
for a quick start.