Code-Driven PHP Markdown Representation
PHPDown is a code-driven PHP Markdown Representation. It represent each Markdown element as a PHP class has two main methods: make
and render
.
The story behind this package can be found on the README
file on Github.
Note that PHPDown doesn't come with filesystem manager to store the content in a file, if you need this functionality you can use file_put_contents
or you can use a dedicated one Laravel filesystem
.
PHPDown ships with a variety of Markdown elements. So, let's explore them:
{info} Contributions are welcome
Element | Supported |
---|---|
Heading | ✅ |
Blockquote | ✅ |
Breaks | ✅ |
Link | ✅ |
Image | ✅ |
Todo List | ✅ |
Code | ✅ |
Mutations | ✅ |
Table | ✅ |
Install via composer
composer require binarytorch/phpdown
Please refer to each section in the sidebar.