Download the PHP package njoguamos/laravel-kenya-mobile without Composer

On this page you can find all versions of the php package njoguamos/laravel-kenya-mobile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-kenya-mobile

Validate Kenyan Mobile Phone

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A rule for validating Kenyan mobile number. You can either validate phone number with 9 or 10 digits such as 700325008 or 0700325008 or validate full phone number such as 254700325008.

1. Why use this package

  1. Save time from implementing your own validation rule.
  2. Tested with phone number approved by Communications Authority of Kenya supported.

2. Installation

Version Supported Laravel
1.Xx 9.x, 10.x
2.x 11.x, 12.x

You can install the package via composer:

3. Usage

3.1 Inside a form request

3.2 Supported mobile numbers

Carrier Prefix
Airtel Networks Kenya Ltd 100, 101, 102, 103, 104, 105, 106
Safaricom PLC 110, 111, 112, 113, 114, 115
Jambo Telcoms Ltd 120
Infura Ltd 124
Hidiga Investments Ltd 126
Webtribe Ltd 128
NRG Media Ltd 130
Safaricom PLC 700, 701, 702, 703, 704, 705, 706, 707, 708, 709
Safaricom PLC 710, 711, 712, 713, 714, 715, 716, 717, 718, 719
Safaricom PLC 720, 721, 722, 723, 724, 725, 726, 727, 728, 729
Airtel Networks Kenya Ltd 730, 731, 732, 733, 734, 735, 736, 737, 738, 739
Safaricom PLC 740, 741, 742, 743
Homelands Media Ltd 744
Safaricom PLC 745, 746
Jamii Telecoms Ltd 747
Safaricom Ltd 748
IEBC in KIEMS Kits 749
Airtel Networks Kenya Ltd 750, 751, 752, 753, 754, 755, 756
Safaricom Ltd 757, 758, 759
Mobile Pay Ltd 760
Eferio Kenya Ltd 761
Airtel Networks Kenya Ltd 762
Finserve Africa Ltd 763, 764, 765, 766
Airtel Networks Kenya Ltd 767
Safaricom PLC 768, 769
Telkom Kenya Ltd 770, 771, 772, 773, 774, 775, 776, 777, 778, 779
Airtel Networks Kenya Ltd 780, 781, 782, 783, 784, 785, 786, 787, 788, 789
Safaricom PLC 790, 791, 792, 793, 794, 795, 796, 797, 798, 799

4. Testing

5. Changelog

Please see RELEASES for more information what has changed recently.

6. Contributing

Please see CONTRIBUTING for details.

7. Security Vulnerabilities

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

8. Credits

9. License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-kenya-mobile with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-package-tools Version ^1.16.0
illuminate/contracts Version ^11.0 | ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package njoguamos/laravel-kenya-mobile contains the following files

Loading the files please wait ....