Download the PHP package bhuvidya/laravel-parsedown-extra without Composer
On this page you can find all versions of the php package bhuvidya/laravel-parsedown-extra. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bhuvidya/laravel-parsedown-extra
More information about bhuvidya/laravel-parsedown-extra
Files in bhuvidya/laravel-parsedown-extra
Package laravel-parsedown-extra
Short Description Laravel Wrapper of Parsedown Extra.
License MIT
Homepage http://parsedown.org/extra
Informations about the package laravel-parsedown-extra
This is based on the Laravel Parsedown package. I have merely done some adjustments to support Parsedown Extra.
Parsedown for Laravel
Note I have now switched the semver versioning for my Laravel packages to "match" the latest supported Laravel version.
A Laravel wrapper of Parsedown Extra to extend its features. If you want to know more about Parsedown Extra alone check out the base repository.
Features
- Blade Directive
- Helper Function
Installation
Parsedown Extra for Laravel is available as a composer package. You can install it using the command below:
Configuration
If you're using Laravel +5.5 you don't need to follow the steps below. The package auto-discovery feature has been implemented and will take care of loading the service provider for you.
But if that's not your case you just need to add the service provider to your config/app.php
:
Usage
or (using a helper approach)
Any of the codes above will generate:
The helper can also be used with PHP throughout the project.
Lumen Support
As Laravel and Lumen share pretty much the same core the instructions below should be enough to set this package in yout Lumen project.
Enable Facades in Your Project
In your bootstrap/app.php
ensure you have the following:
Service Provider Registering
As Lumen does not support package auto-discovery you got to do it manually adding the code below in your bootstrap/app.php
:
All versions of laravel-parsedown-extra with dependencies
php Version >=7.0
erusev/parsedown-extra Version ^0.7