2017 © Pedro Peláez
 

library parse-phone

Parse israeli/Palestinian phone numbers

image

parse-holy-land-phone/parse-phone

Parse israeli/Palestinian phone numbers

  • Monday, February 26, 2018
  • by MordiSacks
  • Repository
  • 1 Watchers
  • 2 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

ParseHolyLandPhone

Parse Holy land (Israel/Palestine) phone numbers, (*1)

Latest Version on Packagist GitHub Tests Action Status Total Downloads, (*2)

Installation

composer require parse-holy-land-phone/parse-phone

usage

// via new instance
$number = new ParsePhone('025121234');

// via static method
$number = ParsePhone::create('025121234');

$number->isValid();

Available methods

  • isValid Checks if phone number is a valid Israeli/Palestinian phone number.
  • isIsraeli Checks if phone number is Israeli.
  • isPalestinian Checks if phone number is Palestinian.
  • isLandLine Checks if phone number is LandLine.
  • isSpecial Checks if phone number is Special (*1234).
  • isMobile Checks if phone number is Mobile.
  • isBusiness Checks if phone number is Business (1700, 1800, etc).
  • isTollFree Checks if phone number is TollFree (1800, etc).
  • isPremium Checks if phone number is Premium (1900, etc).
  • isKosher Checks if phone number is Kosher (phone supports only calls).
  • isErotic Checks if phone number is Erotic (1919).
  • isSmsable Checks if phone number can receive an sms (text) .
  • getInternational Returns phone number transformed to international format 025231234 > 97225231234.
  • getLocal Returns phone number transformed to local format 97225231234 > 025231234.
  • getPhoneNumber Returns the parsed phone number.

all is functions have a reverse function isNot.

Community contributors

  • Biny Yawitz

The Versions

26/02 2018

dev-master

9999999-dev

Parse israeli/Palestinian phone numbers

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Mordi Sacks

phone phone number israel holy land palestine installation

26/02 2018

1.1.0

1.1.0.0

Parse israeli/Palestinian phone numbers

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Mordi Sacks

phone phone number israel holy land palestine installation

25/10 2017

1.0.0.2

1.0.0.2

Parse israeli/Palestinian phone numbers

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Mordi Sacks

phone phone number israel holy land palestine installation

25/10 2017

1.0.0

1.0.0.0

Parse israeli/Palestinian phone numbers

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Mordi Sacks

phone phone number israel holy land palestine