PHPackages                             azathoth/forms-phone - 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. azathoth/forms-phone

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

azathoth/forms-phone
====================

Small modification of Nella Phone control for Nette Forms.

v1.0.5(11y ago)075MITPHPPHP &gt;=5.3.1

Since Jan 6Pushed 11y ago1 watchersCompare

[ Source](https://github.com/racinmat/forms-phone)[ Packagist](https://packagist.org/packages/azathoth/forms-phone)[ Docs](http://doc.nellafw.org/forms/phone)[ RSS](/packages/azathoth-forms-phone/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (16)Used By (0)

Phone number control for [Nette Framework](http://nette.org)
============================================================

[](#phone-number-control-for-nette-framework)

[![Build Status](https://camo.githubusercontent.com/08978daaa8d1293e0f73a49a0d7959363a1231daa22b3462460ea9a85c070903/68747470733a2f2f7472617669732d63692e6f72672f6e656c6c612f666f726d732d70686f6e652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nella/forms-phone)[![Latest Stable Version](https://camo.githubusercontent.com/713aba9bcb0acbc9ae599ffdcde2bfcc58307e849abbad3a2f59b33c7c2690bd/68747470733a2f2f706f7365722e707567782e6f72672f6e656c6c612f666f726d732d70686f6e652f76657273696f6e2e706e67)](https://packagist.org/packages/nella/forms-phone)[![Composer Downloads](https://camo.githubusercontent.com/894d631815993f123f9d01ebbcc70c7920190222b3dd3e857efd23b4a3cac8f4/68747470733a2f2f706f7365722e707567782e6f72672f6e656c6c612f666f726d732d70686f6e652f642f746f74616c2e706e67)](https://packagist.org/packages/nella/forms-phone)[![Dependency Status](https://camo.githubusercontent.com/531c87057ae4e696cf382a338605a98ea6b77aa58832532fd9c0b36a071e9e61/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533346263346537666530643037373461383030303066342f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/534bc4e7fe0d0774a80000f4)

Installation
------------

[](#installation)

```
composer require nella/forms-phone

```

Usage
-----

[](#usage)

```
$form = new \Nette\Forms\Form;
$form->addComponent(new \Nella\Forms\Controls\PhoneNumberInput('Phone'), 'phone');

// or

\Nella\Forms\Controls\PhoneNumberInput::register();
$form->addPhone('phone', 'Phone');

// Optional phone numnber validation
$form['phone']
	->addCondition(\Nette\Application\UI\Form::FILLED)
		->addRule([$form['phone'], 'validatePhoneNumber'], 'Phone number is invalid');
```

Manual rendering
----------------

[](#manual-rendering)

```
{form myForm}
	{label phone /}
	{input phone:prefix}
	{input phone:number}
{/form}
```

License
-------

[](#license)

Phone number control for Nette Framework is licensed under the MIT License - see the LICENSE file for details

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 82.8% of commits — single point of failure

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 ~38 days

Recently: every ~61 days

Total

13

Last Release

4049d ago

Major Versions

v0.9.5 → v1.0.02014-05-13

v0.9.7 → v1.0.22014-06-19

v0.9.8 → v1.0.32014-08-12

v0.9.9 → v1.0.42014-10-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/c716bccf5cd0ca6494e429ba47038fdf37b8b521e9cadc7781eaaeb47dca7dd0?d=identicon)[azathoth](/maintainers/azathoth)

---

Top Contributors

[![Vrtak-CZ](https://avatars.githubusercontent.com/u/112567?v=4)](https://github.com/Vrtak-CZ "Vrtak-CZ (24 commits)")[![racinmat](https://avatars.githubusercontent.com/u/5525771?v=4)](https://github.com/racinmat "racinmat (5 commits)")

---

Tags

nettephonecontrolinputForms

### Embed Badge

![Health badge](/badges/azathoth-forms-phone/health.svg)

```
[![Health](https://phpackages.com/badges/azathoth-forms-phone/health.svg)](https://phpackages.com/packages/azathoth-forms-phone)
```

###  Alternatives

[contributte/forms-multiplier

Multiplier for nette forms

281.4M3](/packages/contributte-forms-multiplier)[kdyby/forms-replicator

Nette forms container replicator aka addDynamic

32997.7k6](/packages/kdyby-forms-replicator)[contributte/forms-wizard

Wizard component for nette/forms

15783.7k](/packages/contributte-forms-wizard)[webchemistry/forms-multiplier

Multiplier for nette forms

2860.9k](/packages/webchemistry-forms-multiplier)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[czubehead/bootstrap-4-forms

Nette extension for Bootstrap 4 forms

1019.5k1](/packages/czubehead-bootstrap-4-forms)

PHPackages © 2026

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