josianocarvalho/extract-hyperlinks

There is no license information available for the latest version (dev-main) of this package.

Use html strip tag functions and extract links inside href to be used ​​as unformatted html

Maintainers

Package info

github.com/jcarvalho89/extract-hyperlinks

pkg:composer/josianocarvalho/extract-hyperlinks

Statistics

Installs: 34

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2021-12-30 01:50 UTC

This package is auto-updated.

Last update: 2026-03-29 00:30:56 UTC


README

Use html strip tag functions and extract links inside href to be used ​​as unformatted html

Install using composer

composer require josianocarvalho/extract-hyperlinks

$text = "<p>Hi, this is my link <a href='http://test.com'> HERE </a> </p>";

$text = new ExtractHyperLink($text);

echo $text->output(); //--> <p>Hi, this is my link  HERE (http://test.com) </p>