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
Package info
github.com/jcarvalho89/extract-hyperlinks
pkg:composer/josianocarvalho/extract-hyperlinks
dev-main
2021-12-30 01:50 UTC
Requires
None
Requires (Dev)
- phpunit/phpunit: ^9.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-29 02:29:22 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>