| Package Data | |
|---|---|
| Maintainer Username: | kindari |
| Maintainer Contact: | william@cahillmanley.com (William Cahill-Manley) |
| Package Create Date: | 2013-05-29 |
| Package Last Update: | 2013-07-27 |
| Language: | PHP |
| License: | WTFPL |
| Last Refreshed: | 2025-11-10 15:00:23 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,072 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 40 |
| Total Watchers: | 6 |
| Total Forks: | 7 |
| Total Open Issues: | 3 |
Laravel Markdown is a wrapper of dflydev/markdown which integrates it into Laravel's View engine. It supports markdown parsing, php preprocessing of markdown files, and blade preprocessing.
Add kindari/laravel-markdown to composer.json.
"kindari/laravel-markdown": "1.0.*"
Run composer update to pull down the latest version of Laravel Markdown. Now open up app/config/app.php and add the service provider to your providers array, after the ViewServiceProvider.
'providers' => array(
...
'Illuminate\View\ViewServiceProvider',
'Kindari\LaravelMarkdown\MarkdownServiceProvider',
...
)
Create a view file named foobar.md, foobar.md.php or foobar.md.blade.php then use it like normal:
return View::make('foobar');