2017 © Pedro Peláez
 

library keeper

Asset Manager for Laravel 4

image

turtlebits/keeper

Asset Manager for Laravel 4

  • Thursday, August 29, 2013
  • by turtlebits
  • Repository
  • 2 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Keeper

Asset Manager for Laravel 4, (*1)

Setup

composer.json:, (*2)

Add "turtlebits/keeper": "dev-master" to the require section of composer.json, (*3)

Register the service provider by adding 'TurtleBits\Keeper\KeeperServiceProvider', to the providers section of the app/config/app.php file, (*4)

If you use TwigBridge, add 'TurtleBits\Keeper\Extensions\KeeperTwigExtension' to the extensions section of the app/config/packages/rcrowe/twigbridge/config.php file., (*5)

Requirements

This package uses lessphp as a less compiler, and installs it automatically., (*6)

Usage

In Blade views:, (*7)

{{ Keeper::style(array('application', 'structure')) }} {{ Keeper::script(array('jquery', 'application')) }} {{ Keeper::image('logo.jpg') }}, (*8)

In Twig views:, (*9)

{{ keeper_style(['application', 'structure'])|raw }}
{{ keeper_script(['jquery', 'application'])|raw }}
{{ keeper_image('logo.jpg') }}

TODO

  • Add css minification
  • Add js minification
  • Add css groups
  • Add js groups
  • Add basic image filters
  • Add basic image transforms

The Versions

29/08 2013

dev-master

9999999-dev

Asset Manager for Laravel 4

  Sources   Download

MIT

The Requires

 

by Catalin Dumitrescu

laravel assets