bt51 / textile-serviceprovider
Textile service provider for silex
1.1.0
2013-03-23 23:49 UTC
Requires
- php: >=5.3.2
- netcarver/textile: 3.5.x
- twig/twig: >=1.2.0
Requires (Dev)
- silex/silex: 1.0.x-dev
Suggests
- silex/silex: 1.0.x-dev
This package is not auto-updated.
Last update: 2024-11-09 14:29:35 UTC
README
The TextileServiceProvider provides the "netcarver/textile" library for silex. Note: The 1.0 branch tracks the 2.5.x branch of netcarver/textile. The 1.1 and master branches track the 3.5.x branch of netcarver/textile.
Installation
Create a composer.json in your project
{
"require": {
"bt51/textile-serviceprovider": "dev-master"
}
}
Read more on composer here: http://getcomposer.org
Parameters
- textile.configuration: Output doctype, either 'xhtml' (default) or 'html5'
Services
- textile: Instance of Textile
Registering
See the example/ directory to see how to register the service
Twig
There is also a twig filter registered within twig extensions. See the example/ directory for more information on how to use it.
License
MIT