tttptd / laravel-mdash by tttptd

EMT - Evgeny Muravjev Typograph for Laravel 5
270
2
1
Package Data
Maintainer Username: tttptd
Maintainer Contact: tttptd@yandex.com (雨師)
Package Create Date: 2017-03-29
Package Last Update: 2019-12-06
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2021-04-06 03:20:51
Package Statistics
Total Downloads: 270
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

laravel-mdash

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,
]);