tttptd/laravel-mdash

EMT - Evgeny Muravjev Typograph for Laravel 5

1.0.3 2018-12-29 17:03 UTC

This package is not auto-updated.

Last update: 2020-10-19 15:42:17 UTC


README

EMT - Evgeny Muravjev Typograph for Laravel 5

Install:

composer require tttptd/laravel-mdash

Add to config/app.php:

Tttptd\Mdash\MdashServiceProvider::class
'Mdash' => Tttptd\Mdash\Facades\Mdash::class

Run:

php artisan vendor:publish

Usage:

$result = \Mdash::process($rawText, [
    'Text.paragraphs' => false,
    'Text.breakline' => false,
]);