2017 © Pedro Peláez
 

symfony-bundle foundation-bundle

Integrates zurb/foundation into Symfony

image

kyoushu/foundation-bundle

Integrates zurb/foundation into Symfony

  • Tuesday, May 6, 2014
  • by Kyoushu
  • Repository
  • 1 Watchers
  • 1 Stars
  • 35 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

KyoushuFoundationBundle

Integrates Foundation into Symfony, (*1)

The master brach is currently a development build, and should not be used for live projects., (*2)

Installation

Add bundle to composer.json, (*3)

"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, (*4)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Kyoushu\FoundationBundle\KyoushuFoundationBundle($this),
        // ...
    );
}

Update config.yml to include the following lines., (*5)

# app/config/config.yml
assetic:
    bundles:[ 'KyoushuFoundationBundle' ]
    filters:
        scssphp: ~

Optional Configuration

The following options can be configured if required, (*6)

# 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: ~

The Versions