desmart/basset-twig-extension

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0.0) of this package.

Basset extension for Twig

1.0.0 2013-05-21 16:03 UTC

This package is auto-updated.

Last update: 2022-02-01 12:25:02 UTC


README

This package provides Basset functions for Laravel4 TwigBridge.

Currently are ported two functions:

  • basset_stylesheets
  • basset_javascripts

Installation

Add package as composer dependancy:

{
  "require": {
    "desmart/basset-twig-extension": "1.0.*"
  }
}

In app/config/packages/rcrowe/twigbridge/config.php add 'DeSmart\BassetTwigExtension\Extension', to extensions.

Usage

In Twig views:

{{ basset_stylesheets('application') }}
{{ basset_stylesheets('application') }}

Warning

This package is provided as is.

There are no tests, no dependencies provided. This package may broke after some major changes in Basset, or TwigBridge.