Shree krishna lamichhane
Shree Krishna Lamichhane

Follow

Shree Krishna Lamichhane

Follow
Best PHP Packages in 2022

Best PHP Packages in 2022

Is PHP still worth learning in 2022?

Shree krishna lamichhane's photo
Shree krishna lamichhane
·Feb 10, 2022·

1 min read

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