Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 67 | | All time: 10,225 This week: 112 |
|
Description | | Author |
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. Innovation Award
 January 2022
Number 6 |
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.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 16x
Winner: 3x |
|
Details
CuteLinkNames
A simple class that converts your URLs to link names ?
? Overview

? Example
use PH7\Link\Name;
require_once 'vendor/autoload.php';
$url = 'http://ph7.me';
?>
<p>
<a
href="<?= $url ?>"
alt="<?= Name::parse($url) ?>"
>
<!-- Ph7 -->
<?= Name::parse($url) ?>
</a>
</p>
?? Requirements
? Installation
composer require ph-7/cute-link-names
??? Author
Hey, I'm Pierre-Henry Soria. A passionate software engineer based in Adelaide, SA, Australia ?

[![@phenrysay][twitter-image]](https://twitter.com/phenrysay) [![pH-7][github-image]](https://github.com/pH-7)
?? License
Distributed under MIT license ?
<!-- GitHub's Markdown reference links -->
[twitter-image]: https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white
[github-image]: https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white
|
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.