Download the PHP package techdiary/commonmark-extensions without Composer
On this page you can find all versions of the php package techdiary/commonmark-extensions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download techdiary/commonmark-extensions
More information about techdiary/commonmark-extensions
Files in techdiary/commonmark-extensions
Package commonmark-extensions
Short Description Laravel useful CommonMark extension for Laravel 5, 6 & 7
License MIT
Informations about the package commonmark-extensions
Laravel Useful CommonMark Extension
A Laravel PHP Composer packaged of useful CommonMark extensions for The PHP Leagues CommonMark implementation.
- Laravel Useful CommonMark Extension
- Getting started
- Prerequisites
- Installation
- Installing the Composer package
- Adding the Markdown extension to a config
- Running the tests
- Wiki
- Markdown features
- Gist
- Codepen
- SoundCloud
- YouTube
- Color
- Text Alignment
- Contribution
- License
Getting started
Instructions to install this extension to your Laravel project.
Prerequisites
- PHP >= 7.1
- Laravel >= 5.5 + or 6.0 +
Installation
Follow these steps to get this CommonMark extension working in your Laravel project!
Installing the Composer package
Run the following command at your root Laravel project directory (where package.json
exists).
Adding the Markdown extension to a config
Add JohnnyHuy\Laravel\UsefulCommonMarkExtension::class
in config/markdown.php
in the extensions
array. Here's an example:
Running the tests
Clone this repository and run composer install
to install all relevant Composer packages. Change the root extension directory and run the following command to execute PHPUnit test cases.
Wiki
I've composed a wiki page to describe features of this extension.
Markdown features
Gist
Codepen
SoundCloud
YouTube
Color
Text Alignment
Contribution
- Project derived from Graham Campbell's emoji parser for Laravel
- Johnny Huynh - Initial changes
License
This project is licensed under the MIT license, see LICENSE for more information.
- league/commonmark is licensed under the BSD-3 license
- GrahamCampbell/Laravel-Markdown is licensed under the MIT License
- AltThree/Emoji is licensed under the MIT License
All versions of commonmark-extensions with dependencies
ext-json Version *
league/commonmark Version ^1.1.0
spatie/commonmark-highlighter Version ^2.1