|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 66 ||All time: 10,169 This week: 189|
This class can convert a link URL to text with a better readability level.
It is a simple class that can take a site URL and cleans it more readable.
Currently, it removes the http:// or https:// part, eliminates the www part, the slashes /, and leaves all text that may be easier to read by the users.
|Some pages have URLs that are reasonably readable but use several symbols that make them harder to understand by non-technical users.
This class can take the URL of a link and processes it to remove text and symbols, so developers can use the resulting text as the anchor text of a link that is much more readable than the original URL.
A simple class that converts your URLs to link names ?
$url = 'http://ph7.me';
href="<?= $url ?>"
alt="<?= Name::parse($url) ?>"
<!-- Ph7 -->
<?= Name::parse($url) ?>
composer require ph-7/cute-link-names
Hey, I'm Pierre-Henry Soria. A passionate software engineer based in Adelaide, SA, Australia ?
Distributed under MIT license ?
<!-- GitHub's Markdown reference links -->
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.