2017 © Pedro Peláez
 

library asset-manager

Asset manager integrating assetic into Laravel 4

image

dustingraham/asset-manager

Asset manager integrating assetic into Laravel 4

  • Wednesday, April 20, 2016
  • by dustingraham
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Asset Manager

Support functionality for assetic to integrate into Laravel 4 and handle configuration., (*1)

Composer

Add to your composer.json "require": { "dustingraham/asset-manager": "dev-master" },, (*2)

Run composer update, (*3)

Laravel

Once installed, add the service provider and alias to app/config/app.php., (*4)

'providers' => array (
    ...
    'Aja\AssetManager\ServiceProvider',
    ...
),
'aliases' => array (
    ...
    'Asset' => 'Aja\AssetManager\Facades\Asset',
    ...
),

Config

Publish the config file., (*5)

> php artisan config:publish dustingraham/asset-manager

Usage

Compile production assets using, (*6)

> php artisan aja:asset

Include the tags to output CSS and JS respectively., (*7)

<html>
    <head>
        ...
        <?php echo Asset::Stylesheets(); ?>
        ...
    </head>
    <body>
        ...
        <?php echo Asset::Javascripts(); ?>
        ...
    </body>
<html>

The Versions

20/04 2016

dev-master

9999999-dev

Asset manager integrating assetic into Laravel 4

  Sources   Download

MIT

The Requires

 

by Dustin Graham

21/06 2014

v1.0

1.0.0.0

Asset manager integrating assetic into Laravel 4

  Sources   Download

MIT

The Requires

 

by Dustin Graham