bt51/textile-serviceprovider

Textile service provider for silex

1.1.0 2013-03-23 23:49 UTC

This package is not auto-updated.

Last update: 2024-12-21 15:03:29 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