PHPackages                             mikeybelike/intl-tel-input-backpack - 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. mikeybelike/intl-tel-input-backpack

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

mikeybelike/intl-tel-input-backpack
===================================

A backpack field package for formatting and inputting international telephone numbers

0.3.0(2y ago)23232[2 issues](https://github.com/MikeyBeLike/intl-tel-input-backpack/issues)MITPHP

Since Dec 4Pushed 2y ago2 watchersCompare

[ Source](https://github.com/MikeyBeLike/intl-tel-input-backpack)[ Packagist](https://packagist.org/packages/mikeybelike/intl-tel-input-backpack)[ Docs](https://github.com/mikeybelike/intl-tel-input-backpack)[ RSS](/packages/mikeybelike-intl-tel-input-backpack/feed)WikiDiscussions main Synced 1mo ago

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

BackpackIntlTelInput
====================

[](#backpackintltelinput)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b35780429e6341999a615b978181832cbcbe76289636c0ab889bd6f6fa621aef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696b657962656c696b652f696e746c2d74656c2d696e7075742d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mikeybelike/intl-tel-input-backpack)[![Total Downloads](https://camo.githubusercontent.com/7643a9d069c03ac5dc2db04843691a843119fbdfc11f6084bf77746922b3e7cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696b657962656c696b652f696e746c2d74656c2d696e7075742d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mikeybelike/intl-tel-input-backpack)[![The Whole Fruit Manifesto](https://camo.githubusercontent.com/9fc65ecdd629dc33c369f73e0bc051740f01647367c131a574577fea2a5678bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f77726974696e672532307374616e646172642d74686525323077686f6c6525323066727569742d627269676874677265656e)](https://github.com/the-whole-fruit/manifesto)

This package provides you the ability to enter and validate international telephone numbers for projects that use the [Backpack for Laravel](https://backpackforlaravel.com/) administration panel.

More exactly, it adds the [intl-tel-input](https://intl-tel-input.com/) plugin to your Backpack CRUD interfaces as a field so you can easily input valid interational telephone numbers.

Screenshots
-----------

[](#screenshots)

[![Backpack Intl Tel Input Addon](https://user-images.githubusercontent.com/1624261/144711736-7491f056-ba6d-4ca1-b78b-0aa6504fb6fb.png)](https://user-images.githubusercontent.com/1624261/144711736-7491f056-ba6d-4ca1-b78b-0aa6504fb6fb.png)

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

[](#installation)

Via Composer

```
composer require mikeybelike/intl-tel-input-backpack
```

Usage
-----

[](#usage)

To use the field this package provides, inside your custom CrudController do:

```
$this->crud->addField([
    'name' => 'contact_number',
    'label' => 'Contact Number',
    'type' => 'intl-tel-input',
    'view_namespace' => 'mikeybelike.intl-tel-input-backpack::fields',

    // additional optional configuration supported
    'options' => [
        'initialCountry' => 'gb'
    ]
]);
```

Notice the `view_namespace` attribute - make sure that is exactly as above, to tell Backpack to load the field from this *addon package*, instead of assuming it's inside the *Backpack\\CRUD package*.

Overwriting
-----------

[](#overwriting)

If you need to change the field in any way, you can easily publish the file to your app, and modify that file any way you want. But please keep in mind that you will not be getting any updates.

**Step 1.** Copy-paste the blade file to your directory:

```
# create the fields directory if it's not already there
mkdir -p resources/views/vendor/backpack/crud/fields

# copy the blade file inside the folder we created above
cp -i vendor/mikeybelike/intl-tel-input-backpack/src/resources/views/fields/field_name.blade.php resources/views/vendor/backpack/crud/fields/field_name.blade.php
```

**Step 2.** Remove the vendor namespace wherever you've used the field:

```
$this->crud->addField([
    'name' => 'contact_number',
    'type' => 'intl-tel-input',
    'label' => 'Contact Number',
-   'view_namespace' => 'mikeybelike.intl-tel-input-backpack::fields'
]);
```

**Step 3.** Uninstall this package. Since it only provides one file, and you're no longer using that file, it makes no sense to have the package installed:

```
composer remove mikeybelike/intl-tel-input-backpack
```

Change log
----------

[](#change-log)

Changes are documented here on Github. Please see the [Releases tab](https://github.com/mikeybelike/intl-tel-input-backpack/releases).

Testing
-------

[](#testing)

```
composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for a todolist and howtos.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Michael Olukoya](https://github.com/mikeybelike)
- [All Contributors](../../contributors)

License
-------

[](#license)

This project was released under MIT, so you can install it on top of any Backpack &amp; Laravel project. Please see the [license file](license.md) for more information.

However, please note that you do need Backpack installed, so you need to also abide by its [YUMMY License](https://github.com/Laravel-Backpack/CRUD/blob/master/LICENSE.md). That means in production you'll need a Backpack license code. You can get a free one for non-commercial use (or a paid one for commercial use) on [backpackforlaravel.com](https://backpackforlaravel.com).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~259 days

Total

4

Last Release

842d ago

### Community

Maintainers

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

---

Top Contributors

[![MikeyBeLike](https://avatars.githubusercontent.com/u/1624261?v=4)](https://github.com/MikeyBeLike "MikeyBeLike (5 commits)")[![promatik](https://avatars.githubusercontent.com/u/1838187?v=4)](https://github.com/promatik "promatik (1 commits)")

---

Tags

laravelbackpackBackpack for LaravelBackpack AddonBackpackIntlTelInput

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mikeybelike-intl-tel-input-backpack/health.svg)

```
[![Health](https://phpackages.com/badges/mikeybelike-intl-tel-input-backpack/health.svg)](https://phpackages.com/packages/mikeybelike-intl-tel-input-backpack)
```

###  Alternatives

[backpack/theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.

35536.5k](/packages/backpack-theme-tabler)[backpack/activity-log

Activity Log for Backpack

3487.5k1](/packages/backpack-activity-log)[backpack/translation-manager

Translation Manager for Backpack

5118.9k1](/packages/backpack-translation-manager)[backpack/medialibrary-uploaders

Helper functions to save files with spatie media library

1373.3k](/packages/backpack-medialibrary-uploaders)[figlabhq/crud-resource-for-backpack

Build CRUD panels using fluent field definitions.

122.1k](/packages/figlabhq-crud-resource-for-backpack)

PHPackages © 2026

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