Shree krishna lamichhane
Shree Krishna Lamichhane

Shree Krishna Lamichhane

Best PHP Packages in 2022

Best PHP Packages in 2022

Is PHP still worth learning in 2022?

Shree krishna lamichhane
·Feb 10, 2022·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Note: This post is constantly updating overtime. And not written prefessionally. Its just for the information.

Here are some of the best php packages:

1. erusev/parsedown

Better Markdown Parser in PHP.

Github : github.com/erusev/parsedown

Demo : parsedown.org/demo

Installation

composer require erusev/parsedown

Example

$Parsedown = new Parsedown();

echo $Parsedown->text('Hello _Parsedown_!'); 
# prints: <p>Hello <em>Parsedown</em>!</p>

You can also parse inline markdown only:

echo $Parsedown->line('Hello _Parsedown_!'); 
# prints: Hello <em>Parsedown</em>!

More examples in the wiki and in this video tutorial.


Thanks for visiting.

 
Share this