Package Data | |
---|---|
Maintainer Username: | jonspark |
Maintainer Contact: | jon.park@thap.co.uk (Jon Park) |
Package Create Date: | 2015-01-22 |
Package Last Update: | 2015-01-22 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:16:26 |
Package Statistics | |
---|---|
Total Downloads: | 45 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 5 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Trivial Laravel 4 wrapper class for The PHP League's CommonMark package.
Require the package with Composer
$ composer require clicksco/commonmark-laravel
Update app/config/app.php with the ServiceProvider and Facade
'providers' => [
...
'Clicksco\CommonMark\ServiceProvider',
...
];
'aliases' => [
...
'CommonMark' => 'Clicksco\CommonMark\Facade',
...
];
echo CommonMark::convertToHtml('# Hello, World!');
$ phpunit
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.