pforret / php_markdown_writer
Write Markdown documents
0.3.8
2022-07-28 16:13 UTC
Requires
- php: ^7.4|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^9.0
- vimeo/psalm: ^3.11
README
Write Markdown documents
created on 2022-01-14 by peter@forret.com
Installation
You can install the package via composer:
composer require pforret/php_markdown_writer
Usage
$obj = new Pforret\PhpMarkdownWriter("output.md"); echo $obj->h1('Output Report'); echo $obj->h2('Input'); echo $obj->paragraph('Lorem ipsum'); echo $obj->h2('Output'); echo $obj->bullet('point 1'); echo $obj->bullet('point 2');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email author_email instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.