PHPackages                             parse-holy-land-phone/parse-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. parse-holy-land-phone/parse-phone

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

parse-holy-land-phone/parse-phone
=================================

Parse israeli/Palestinian phone numbers

2.0.0(1y ago)21.1k1[1 PRs](https://github.com/MordiSacks/ParseHolyLandPhone/pulls)MITPHPPHP ^8.1

Since Oct 25Pushed 1y agoCompare

[ Source](https://github.com/MordiSacks/ParseHolyLandPhone)[ Packagist](https://packagist.org/packages/parse-holy-land-phone/parse-phone)[ RSS](/packages/parse-holy-land-phone-parse-phone/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

ParseHolyLandPhone
==================

[](#parseholylandphone)

Parse Holy land (Israel/Palestine) phone numbers

[![Latest Version on Packagist](https://camo.githubusercontent.com/c3a92e0564e025c7918001fd074add6f0ef4d11fb5bcef0367daaff6afc9f140/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70617273652d686f6c792d6c616e642d70686f6e652f70617273652d70686f6e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parse-holy-land-phone/parse-phone)[![GitHub Tests Action Status](https://camo.githubusercontent.com/47ff149b6da88388a04775b82580720489ee4af8a51bf56df6f86dfc86f0fdd0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4d6f7264695361636b732f5061727365486f6c794c616e6450686f6e652f72756e2d74657374732e796d6c3f6272616e63683d6d6173746572266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/MordiSacks/ParseHolyLandPhone/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/2c1661bc20e0092faa352680c7984918a1d566595b63752e7b8703220bc95e5d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617273652d686f6c792d6c616e642d70686f6e652f70617273652d70686f6e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parse-holy-land-phone/parse-phone)

Installation
============

[](#installation)

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

```

usage
-----

[](#usage)

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

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

$number->isValid();
```

Available methods
-----------------

[](#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 &gt; 97225231234.
- `getLocal` Returns phone number transformed to local format 97225231234 &gt; 025231234.
- `getPhoneNumber` Returns the parsed phone number.

### all `is` functions have a reverse function `isNot`.

[](#all-is-functions-have-a-reverse-function-isnot)

Community contributors
----------------------

[](#community-contributors)

- Biny Yawitz

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% 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 ~498 days

Recently: every ~622 days

Total

6

Last Release

631d ago

Major Versions

1.3 → 2.0.02024-08-19

PHP version history (3 changes)1.0.0PHP &gt;=7.0

1.3PHP &gt;=7.0|^8.0

2.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![MordiSacks](https://avatars.githubusercontent.com/u/13218192?v=4)](https://github.com/MordiSacks "MordiSacks (17 commits)")[![byawitz](https://avatars.githubusercontent.com/u/316103?v=4)](https://github.com/byawitz "byawitz (1 commits)")

---

Tags

phonephone-numberIsraelHoly LandPalestine installation

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/parse-holy-land-phone-parse-phone/health.svg)

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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