mildberry / jms-format-laravel
JMS format service provider and facade for laravel 5.x framework
v0.0.6
2016-09-21 16:08 UTC
Requires
- php: >=5.5
- illuminate/support: ~5.2
- mildberry/jms-format: ~0.0.6
This package is not auto-updated.
Last update: 2024-11-09 20:28:22 UTC
README
JMS format service provider and facade for laravel 5.x framework
Require
- php >= 5.5
- mildberry/jms-format >= 0.0.6
- illuminate/support >= 5.2
Install
Install via composer
$ composer require mldberry/jms-format-laravel
Usage
Find the providers
array key in config/app.php
and register the JMSFormat Service Provider.
'providers' => array( // ... Mildberry\JMSFormat\JMSFormatServiceProvider::class, )
After register service provider use facade JMSFormat
<?php $content = JMSFormat::convert('html', 'jms', '<p>Test content</p>');
License
This library is under the MIT license. See the complete license in here