2017 © Pedro Peláez
 

library silex-assetic-serviceprovider

image

frostiede/silex-assetic-serviceprovider

  • Tuesday, February 14, 2017
  • by frostieDE
  • Repository
  • 1 Watchers
  • 1 Stars
  • 471 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Silex Version ServiceProvider

Code Climate, (*1)

ServiceProvider for Silex which enables Assetic. If Twig is enabled, it enables Twig syntax to include assets. If in debug mode, assets are dumped automatically on each request., (*2)

When using production mode, you can dump all assets by using the assetic:dump command., (*3)

Installation

$ composer require frostiede/silex-assetic-serviceprovider

Afterwards, register the ServiceProvider:, (*4)

$app->register(new AsseticServiceProvider(), [
    'assetic.options' => [
        'assets_path' => '', // Path to your assets directory (e.g. /app/assets/)
        'web_path' => '' // Path to your web-directory (e.g. /web/)
    ]
]);

Contribution

Any help is welcomed. Feel free to create issues and merge requests :-), (*5)

License

MIT License, (*6)

Related

This project was inspired by mheap/Silex-Assetic., (*7)

The Versions

14/02 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marcel Marnitz

14/02 2017

v1.1.0

1.1.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marcel Marnitz

16/10 2016

v1.0.1

1.0.1.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marcel Marnitz

16/10 2016

v1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marcel Marnitz