dev-master
9999999-devSymfony2 Bundle for using alxlit's PHP implementation of the coffeescript compiler as an Assetic filter.
MIT
The Requires
by David Lancea
Symfony2 Bundle for using alxlit's PHP implementation of the coffeescript compiler as an Assetic filter.
Symfony2 Bundle for using alxlit's PHP implementation of the coffeescript compiler as an Assetic filter. Good for using coffeescript in Symfony in a pure PHP environment, no need to install node.js., (*1)
If you're using Assetic without Symfony, the assetic filter located in Assetic/Filter should work fine as-is., (*2)
Also available on packagist as package: "dlancea/coffee-php-bundle": "dev-master", (*3)
Install the package and include it in AppKernel.php. Once that's done, you can start using "filter='coffeephp'" in your javascripts tags which contain .coffee files. The files will be compiled into and included as javascript., (*4)
Example:, (*5)
{% javascripts filter='coffeephp' '@AcmeBundle/Resources/assets/coffee/app.coffee' %} <script src="{{ asset_url }}"></script> {% endjavascripts %}
Symfony2 Bundle for using alxlit's PHP implementation of the coffeescript compiler as an Assetic filter.
MIT