Skip to content

Laravel 5.5 package, this package is a wrapper around erusev/parsedown for Laravel

License

Notifications You must be signed in to change notification settings

lkeio/Laraparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laraparse

Build Status StyleCI GitHub license

This package is a wrapper around erusev/parsedown for Laravel. Parsedown is a Markdown syntax Parser.

Version Compatibility

Laravel Laraparse
5.5.x 1.2.x
5.6.x 1.2.x

Installing

composer require lkeio/laraparse

Usage

  • On your Controller

    public function index()
    {
     // Insert Here your Markdown or Read it from your DB
        $text = '# MarkDown Syntax';
        return view('index', compact('text'));
    }

  • On your View

@laraparse($text)

Tests

On the root Package directory run :

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/LaraparseTests

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Larbi Kamal Elguerch - All projects - lkeio

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Laravel 5.5 package, this package is a wrapper around erusev/parsedown for Laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages