PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Cute PHP Link Names   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Cute PHP Link Names
Convert URL to improve its readability level
Author: By
Last change:
Date: 2 years ago
Size: 1,329 bytes
 

Contents

Class file image Download

CuteLinkNames

A simple class that converts your URLs to link names ?

? Overview

Link Name Convertor Snippet

? 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 ?

Pierre-Henry Soria

[![@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