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

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

codicastudio/phone
==================

A random Codica Studio package.

1.0.0(5y ago)02MITVuePHP ^7.4 || ^8.0

Since Sep 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/codicastudio/phone)[ Packagist](https://packagist.org/packages/codicastudio/phone)[ Docs](https://github.com/codicastudio/phone)[ RSS](/packages/codicastudio-phone/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

A global Phone Number field for Laravel Nova
============================================

[](#a-global-phone-number-field-for-laravel-nova)

Nova Phone Number field with a dynamic mask based on the country code inserted by the user.

[![screenshot of the phone field](https://raw.githubusercontent.com/bissolli/nova-phone-field/master/screenshots/nova-phone-field.gif)](https://raw.githubusercontent.com/bissolli/nova-phone-field/master/screenshots/nova-phone-field.gif)

Requirements
------------

[](#requirements)

- Laravel Nova
- Laravel Framework **5.7+ / 6.0+**

**NOTE**: For Laravel version &lt;= 5.6 use our package version [v.0.0.3](https://github.com/bissolli/nova-phone-field/tree/v0.0.3)

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

[](#installation)

You can install this package into a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require bissolli/nova-phone-field
```

Usage
-----

[](#usage)

Go straight to your Nova resource and use `Bissolli\NovaPhoneField\PhoneNumber` field:

```
namespace App\Nova;

use Bissolli\NovaPhoneField\PhoneNumber;

class Member extends Resource
{
    // ...

    public function fields(Request $request)
    {
        return [
            // ...

            PhoneNumber::make('Phone Number'),

            // ...
        ];
    }
}
```

Now you can view and add tags on the blog posts screen in your Nova app. All tags will be saved in the `tags` table.

### Filtering

[](#filtering)

By default, every country mask available inside `bissolli/nova-phone-field/resources/js/data/phone-masks.json` will be loaded and working. However, you can always select the desired countries calling the `onlyCountries()` method.

```
PhoneNumber::make('Phone Number')
    ->onlyCountries('BR', 'US', 'IE'),
```

### Custom number format

[](#custom-number-format)

You can also add custom phone formats with `withCustomFormats()`.

```
PhoneNumber::make('Phone Number')
    ->withCustomFormats('+123 ## #.#', '+123 ## ####.####'),
```

Or else use only your own phone formats calling for `withCustomFormats()` among with `onlyCustomFormats()`.

```
PhoneNumber::make('Phone Number')
    ->withCustomFormats('+123 ## #.#', '+123 ## ####.####')
    ->onlyCustomFormats(),
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Gustavo Bissolli](https://github.com/bissolli)

Special thanks to [Robin Herbots](https://github.com/RobinHerbots) who built one of the best [InputMask](https://github.com/RobinHerbots/Inputmask) from the internet.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2060d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a33b354bea681b74be49f37bbe9f3c4f145dbefe0f2b5cbb705b0731bf13fd3?d=identicon)[codicastudio](/maintainers/codicastudio)

---

Top Contributors

[![codicastudio](https://avatars.githubusercontent.com/u/71534031?v=4)](https://github.com/codicastudio "codicastudio (1 commits)")

### Embed Badge

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

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

###  Alternatives

[amin3520/anar

:description

272.3k](/packages/amin3520-anar)

PHPackages © 2026

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