PHPackages                             gwk/ip\_address - 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. gwk/ip\_address

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

gwk/ip\_address
===============

IP address handling library

0.2(10y ago)911.8k↓100%[1 issues](https://github.com/gwkunze/IpAddress/issues)MITPHP

Since Apr 17Pushed 10y ago2 watchersCompare

[ Source](https://github.com/gwkunze/IpAddress)[ Packagist](https://packagist.org/packages/gwk/ip_address)[ RSS](/packages/gwk-ip-address/feed)WikiDiscussions master Synced 2mo ago

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

Ip Address [![Build Status](https://camo.githubusercontent.com/f7fa4eeadb75d3abe5343935e40755481b4fc24642684ec5dfd5c92c07dff29e/68747470733a2f2f7472617669732d63692e6f72672f67776b756e7a652f4970416464726573732e706e67)](https://travis-ci.org/gwkunze/IpAddress)
=================================================================================================================================================================================================================================================================

[](#ip-address--)

This library allows you to handle IP addresses in various forms (currently IPv4 only) and test whether an IP matches certain constraints (equality, in a subnet or in a range).

Example
=======

[](#example)

```
