kyoushu / foundation-bundle
Integrates zurb/foundation into Symfony
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 2
Language:CSS
Type:symfony-bundle
pkg:composer/kyoushu/foundation-bundle
Requires
- php: >=5.3.3
 - components/jquery: ~2.1
 - components/modernizr: ~2.6
 - components/normalize.css: ~2.1
 - leafo/scssphp: ~0.0.10
 - symfony/assetic-bundle: ~2.3
 - symfony/form: ~2.3
 - symfony/framework-bundle: ~2.3
 - symfony/twig-bundle: ~2.3
 - zurb/foundation: ~5.2
 
This package is auto-updated.
Last update: 2022-02-01 12:35:21 UTC
README
Integrates Foundation into Symfony
The master brach is currently a development build, and should not be used for live projects.
Installation
Add bundle to composer.json
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Kyoushu/FoundationBundle.git"
    }
],
"require": {
    "php": ">=5.3.2",
    "symfony/symfony": "~2.1",
    "_comment": "your other packages",
    "kyoushu/foundation-bundle": "dev-master"
}
Add KyoushuFoundationBundle to application kernel
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Kyoushu\FoundationBundle\KyoushuFoundationBundle($this),
        // ...
    );
}
Update config.yml to include the following lines.
# app/config/config.yml
assetic:
    bundles:[ 'KyoushuFoundationBundle' ]
    filters:
        scssphp: ~
Optional Configuration
The following options can be configured if required
# app/config/config.yml
kyoushu_foundation:
    # Forces Assetic to rebuild CSS on each request when true (default value)
    # This setting doesn't affect the behaviour of assetic:dump.
    force_rebuild_stylesheets: ~