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.
Create a composer.json in your project
{
"require": {
"bt51/textile-serviceprovider": "dev-master"
}
}
Read more on composer here: http://getcomposer.org
- textile.configuration: Output doctype, either 'xhtml' (default) or 'html5'
- textile: Instance of Textile
See the example/ directory to see how to register the service
There is also a twig filter registered within twig extensions. See the example/ directory for more information on how to use it.
MIT