PHPackages                             wikimedia/ip-set - 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. wikimedia/ip-set

Abandoned → [wikimedia/ip-utils](/?search=wikimedia%2Fip-utils)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wikimedia/ip-set
================

Efficiently match IP addresses against a set of CIDR specifications.

4.0.0(2y ago)571.7M↑15.9%5GPL-2.0-or-laterPHPPHP &gt;=7.4.3

Since Jun 26Pushed 2mo agoCompare

[ Source](https://github.com/wikimedia/ipset)[ Packagist](https://packagist.org/packages/wikimedia/ip-set)[ Docs](https://www.mediawiki.org/wiki/IPSet)[ RSS](/packages/wikimedia-ip-set/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (13)Used By (5)

IPSet
=====

[](#ipset)

IPSet is a PHP class for matching IP addresses against a set of CIDR specifications. It was extracted from MediaWiki core in 2014, and moved to the [wikimedia/ip-utils](https://packagist.org/packages/wikimedia/ip-utils)package in 2023.

**Replace use of `wikimedia/ip-set` with `wikimedia/ip-utils` 5.0.0 or later**.

---

License
-------

[](#license)

Copyright 2014, 2015 Brandon Black

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance56

Moderate activity, may be stable

Popularity48

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~273 days

Recently: every ~419 days

Total

12

Last Release

976d ago

Major Versions

1.2.0 → 2.0.02018-12-18

1.3.0 → 2.0.12019-02-11

2.1.0 → 3.0.02021-03-21

3.1.0 → 4.0.02023-09-16

PHP version history (5 changes)1.0PHP &gt;=5.3.3

1.2.0PHP &gt;=5.5.9

2.0.0PHP &gt;=5.6.99

3.0.0PHP &gt;=7.2.9

4.0.0PHP &gt;=7.4.3

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/716c86d71cbf921e7912a505f89d799de398fc0a3af0bd4c8862834b2d642bd7?d=identicon)[wikimedia](/maintainers/wikimedia)

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

---

Top Contributors

[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (19 commits)")[![jdforrester](https://avatars.githubusercontent.com/u/881572?v=4)](https://github.com/jdforrester "jdforrester (12 commits)")[![Krinkle](https://avatars.githubusercontent.com/u/156867?v=4)](https://github.com/Krinkle "Krinkle (8 commits)")[![legoktm](https://avatars.githubusercontent.com/u/81392?v=4)](https://github.com/legoktm "legoktm (8 commits)")[![umherirrender](https://avatars.githubusercontent.com/u/1174884?v=4)](https://github.com/umherirrender "umherirrender (7 commits)")[![ricordisamoa](https://avatars.githubusercontent.com/u/4588496?v=4)](https://github.com/ricordisamoa "ricordisamoa (3 commits)")[![atdt](https://avatars.githubusercontent.com/u/376462?v=4)](https://github.com/atdt "atdt (3 commits)")[![Daimona](https://avatars.githubusercontent.com/u/38216014?v=4)](https://github.com/Daimona "Daimona (1 commits)")[![plstand](https://avatars.githubusercontent.com/u/762731?v=4)](https://github.com/plstand "plstand (1 commits)")[![RazeSoldier](https://avatars.githubusercontent.com/u/29511518?v=4)](https://github.com/RazeSoldier "RazeSoldier (1 commits)")[![bd808](https://avatars.githubusercontent.com/u/6469?v=4)](https://github.com/bd808 "bd808 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wikimedia-ip-set/health.svg)

```
[![Health](https://phpackages.com/badges/wikimedia-ip-set/health.svg)](https://phpackages.com/packages/wikimedia-ip-set)
```

PHPackages © 2026

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