| Package Data | |
|---|---|
| Maintainer Username: | tms |
| Maintainer Contact: | tms@live.cn (imtms) |
| Package Create Date: | 2016-06-28 |
| Package Last Update: | 2018-08-29 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-04 15:02:31 |
| Package Statistics | |
|---|---|
| Total Downloads: | 48 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Based on PHP-Markdown
To get the latest version of laravelmd, simply require the project using Composer:
composer require imtms/laravelmd
Instead, you may of course manually update your require block and run composer update if you so choose:
{
"require": {
"imtms/laravelmd": "^1.0"
}
}
Once laravelmd is installed, you need to register the service provider.
Open up config/app.php and add the following to the providers key.
imtms\laravelmd\laravelmdProvider::class,
You can register the Markdown facade in the aliases key of your config/app.php file if you like.
'laravelmd' => imtms\laravelmd\Facades\laravelmd::class,
\laravelmd::convert('foo'); // <p>foo</p>