PHPackages                             waughj/html-phone-link - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. waughj/html-phone-link

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

waughj/html-phone-link
======================

Simple way to create HTML for telephone links.

v0.1.1(6y ago)0641AGPL-c.0-or-laterPHPPHP &gt;=7.0

Since Jun 4Pushed 6y agoCompare

[ Source](https://github.com/waughjai/html-phone-link)[ Packagist](https://packagist.org/packages/waughj/html-phone-link)[ RSS](/packages/waughj-html-phone-link/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (1)

HTML Mail Link
==============

[](#html-mail-link)

Simple way to create HTML for telephone links.

Simply create an instance sending the phone # in whatever format you want it shown as the 1st argument and either use the object as a string or call getHTML() on it to automatically generate HTML for a "tel" link.

Example:

`new HTMLPhoneLink( '1-800-555-2222' );`

Generates the HTML:

`1-800-555-2222`

For custom value shown in the link, push a hash map as the optional 2nd argument with the value you want in the "value" key:

Example:

`new HTMLPhoneLink( '(206)-555-7129', [ 'value' => 'Call us now!' ] );`

Generates the HTML:

`Call us now!`

This hash map can also be used to send all other valid HTML5 attributes, as well as other options. See HTMLLink source code at  for mo' details.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2535d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11161078?v=4)[waughj](/maintainers/waughj)[@waughj](https://github.com/waughj)

---

Tags

linkhtmlphone

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waughj-html-phone-link/health.svg)

```
[![Health](https://phpackages.com/badges/waughj-html-phone-link/health.svg)](https://phpackages.com/packages/waughj-html-phone-link)
```

###  Alternatives

[spatie/laravel-html

A fluent html builder

8376.4M72](/packages/spatie-laravel-html)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

2899.6M48](/packages/yajra-laravel-datatables-html)[mkalkbrenner/php-htmldiff-advanced

An add-on for the php-htmldiff library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

3517.8M1](/packages/mkalkbrenner-php-htmldiff-advanced)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
