| Package Data | |
|---|---|
| Maintainer Username: | zyuskin_en |
| Maintainer Contact: | e.zyuskin@mildberry.com (Egor Zyuskin) |
| Package Create Date: | 2016-09-15 |
| Package Last Update: | 2016-09-21 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-02 15:11:36 |
| Package Statistics | |
|---|---|
| Total Downloads: | 593 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
JMS format service provider and facade for laravel 5.x framework
Install via composer
$ composer require mldberry/jms-format-laravel
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>');
This library is under the MIT license. See the complete license in here