jared0430 / laravel-parsedown
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simple Laravel 5 wrapper for Parsedown
v1.0.0
2016-02-21 11:27 UTC
Requires
- erusev/parsedown: ^1.6
- illuminate/support: ^5.2
This package is not auto-updated.
Last update: 2018-03-28 17:49:24 UTC
README
A very simple Laravel 5 wrapper for Parsedown
Requirements
- Laravel 5.1+
Installation
Require this package with composer by using composer require jared0430/laravel-parsedown
After updating composer, add the service provider to the providers
array in config/app.php
Jared0430\Parsedown\ParsedownServiceProvider::class,
and add the facade to the aliases
array in config/app.php
'L5Parsedown' => Jared0430\Parsedown\Facades\Parsedown::class,
Note that the Facade cannot be called Parsedown
as it clashes with the Parsedown library, feel free to call it something other than L5Parsedown
though!
Example usage
{!! L5Parsedown::text('Hello _Parsedown_!') !!} # prints: <p>Hello <em>Parsedown</em>!</p>