2017 © Pedro Peláez
 

project laravel-zurb-foundation

Laravel Zurb Foundation Boilerplate

image

istherepie/laravel-zurb-foundation

Laravel Zurb Foundation Boilerplate

  • Tuesday, September 27, 2016
  • by istherepie
  • Repository
  • 1 Watchers
  • 1 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel-Zurb-Foundation (Boilerplate)

A boilerplate using Laravel v5.3 and Foundation 6. All blade views have been re-styled for Foundation 6 for sites. Elixir is configured to compile all the individual components in order to add a bit of flexibility in making custom modifications to the framework., (*1)


, (*2)

Jquery, Node-Sass and Foundation are added as devDependencies in the node packagage.json and can be installed via npm:, (*3)

npm install


, (*4)

Foundation is copied to the "resources/assets/(scss/js)" directory the first time you run gulp:, (*5)

from node_modules => resources/assets/scss/foundation


, (*6)

from node_modules => resources/assets/js/foundation


, (*7)

NOTE: If you plan on making modifications to the foundation scss files, you should outcomment following from the gulpfile after you ran it once., (*8)

    .copy(
        './node_modules/foundation-sites/scss', 
        'resources/assets/scss/foundation'
    )

    .copy(
        './node_modules/foundation-sites/js',
        'resources/assets/js/foundation'
        )


, (*9)

Housekeeping:, (*10)

The main "app.scss" and "gulpfile.js" files are pre-configured to import foundation scss and js, and include a full list of the individual components which make it easy to add/remove to the mix., (*11)


, (*12)

  • resources/assets/scss/app.scss:
    /// Import Foundation 6 for sites
    @import 'foundation/foundation';

    /// Foundation components
    @include foundation-global-styles;
    @include foundation-grid;
    @include foundation-flex-grid;
    @include foundation-typography;
    @include foundation-button;
    ...


, (*13)

  • gulpfile.js:
    /// Foundation 6 core
    'foundation/foundation.core.js',

    /// Foundation 6 components
    'foundation/foundation.abide.js',
    'foundation/foundation.accordion.js',
    'foundation/foundation.accordionMenu.js',
    'foundation/foundation.drilldown.js',
    'foundation/foundation.dropdown.js',
    'foundation/foundation.dropdownMenu.js',
    ...


, (*14)

Boilerplate helper samples for easy prototyping located in App\Helpers, additionally the Helper.php is being autoloaded:, (*15)

"files": [
        "app/Zen/Helpers/Helper.php"
    ]


, (*16)

Minor modifications:, (*17)

  • Application name can be set in .env using APP_NAME
  • Foundation powered views (Welcome, auth view, error views)
  • Versioning of css and js files (added in the master blade partial)


, (*18)

Feel free to use at will!, (*19)


, (*20)

Built on top of Laravel - The PHP Framework For Web Artisans

For more information visit Laravel website., (*21)

License

The Laravel framework is open-sourced software licensed under the MIT license., (*22)

The Versions

27/09 2016

dev-master

9999999-dev

Laravel Zurb Foundation Boilerplate

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel framework foundation zurb

27/09 2016

1.0.0

1.0.0.0

Laravel Zurb Foundation Boilerplate

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel framework foundation zurb