2017 © Pedro Peláez
 

library foundation

This package does not include the framework. It requires and automatical installs the official framework composer package from zurb and provides command line tools to setup foundation for development with laravel 4 and compass.

image

aheissenberger/foundation

This package does not include the framework. It requires and automatical installs the official framework composer package from zurb and provides command line tools to setup foundation for development with laravel 4 and compass.

  • Monday, December 16, 2013
  • by aheissenberger
  • Repository
  • 5 Watchers
  • 9 Stars
  • 305 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel 4 zurb foundation 4.x helper

This package does not include the framework. It requires the official framework composer package from zurb and provides command line tools to setup foundation for development with laravel and compass., (*1)

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require aheissenberger/foundation, (*2)

"require": {
    "laravel/framework": "4.0.*",
    "aheissenberger/foundation": "dev-master"
}

Next, update Composer from Terminal, (*3)

$ composer update

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array., (*4)

'Aheissenberger\Foundation\FoundationServiceProvider',

Setup

Run $ php artisan foundation:setup to create a basic skeleton to start:, (*5)

app/assets
    /sass
    /sprites
    /js
    /img

Run $ php artisan asset:publish aheissenberger/foundation to copy all needed Javascripts to /public, (*6)

Optional:

Run $ php artisan foundation:demo to create a demofile /foundation.html of all foundation features in /public, (*7)

Usage

In terminal an run $ compass watch app/assets/sass This will create and update /public/css/app.css, (*8)

You can use /app/assets/sass/_settings.scss to configure foundation and /app/assets/sass/_main.scss for your app specific css. And to remove compression by compass change settings in /app/assets/sass/config.rb, (*9)

Update

Run $ composer update to update foundation and $ php artisan asset:publish aheissenberger/foundation to copy the new javascript files to /public, (*10)

ToDo

  • config foundation with a native Laravel config file
  • automatic include minified and combined version of javascript files

The Versions

16/12 2013

dev-master

9999999-dev https://github.com/aheissenberger/foundation

This package does not include the framework. It requires and automatical installs the official framework composer package from zurb and provides command line tools to setup foundation for development with laravel 4 and compass.

  Sources   Download

MIT

The Requires

 

by Andreas Heissenberger

laravel framework css