PHPackages                             arokettu/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. arokettu/ip-address

ActiveLibrary

arokettu/ip-address
===================

IP address and block classes for PHP

2.3.1(7mo ago)03.5k↓19.2%1MITPHPPHP ^8.2

Since Jul 27Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/arokettu/php-ip-address)[ Packagist](https://packagist.org/packages/arokettu/ip-address)[ Docs](https://sandfox.dev/php/ip-address.html)[ RSS](/packages/arokettu-ip-address/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (5)Versions (10)Used By (1)

PHP IP Library
==============

[](#php-ip-library)

[![Packagist](https://camo.githubusercontent.com/0f70b649550fc9fe1dd244cb0e8ed6d3d1e908c6330212f86e13707ad5eb3ef0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726f6b657474752f69702d616464726573732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arokettu/ip-address)[![PHP](https://camo.githubusercontent.com/0eae789b0c9c3100c6e5fcfaa676b8ca6c4ffa2270d71a43e3948bf6405680e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f61726f6b657474752f69702d616464726573732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arokettu/ip-address)[![License](https://camo.githubusercontent.com/93640b9b894166090564bcf0c61cf80c730530f884ac24bf4b6f3ffc7208c80b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61726f6b657474752f69702d616464726573732e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Gitlab CI](https://camo.githubusercontent.com/3e201f0effe6f1ab3f268c32b6fc168c2d3c3f014204ae2dec51a7ac4418ea49/68747470733a2f2f696d672e736869656c64732e696f2f6769746c61622f706970656c696e652f73616e64666f782f7068702d69702d616464726573732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://gitlab.com/sandfox/php-ip-address/-/pipelines)[![Codecov](https://camo.githubusercontent.com/b373bf95f3339803ebb71b79a2588391a9191ea17ef116f1b31a43cc3c47e037/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f676c2f73616e64666f782f7068702d69702d616464726573733f7374796c653d666c61742d737175617265)](https://codecov.io/gl/sandfox/php-ip-address/)

IP address and block classes for PHP.

Installation
------------

[](#installation)

```
composer require arokettu/ip-address
```

Usage
-----

[](#usage)

```
