https://github.com/akalongman/php-ip-tools
Useful tools for IP manipulations
https://github.com/akalongman/php-ip-tools
ip ipv4 ipv6 library php php-ip utility
Last synced: 6 months ago
JSON representation
Useful tools for IP manipulations
- Host: GitHub
- URL: https://github.com/akalongman/php-ip-tools
- Owner: akalongman
- License: mit
- Created: 2015-11-12T08:59:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T08:17:44.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T21:05:15.288Z (7 months ago)
- Topics: ip, ipv4, ipv6, library, php, php-ip, utility
- Language: PHP
- Size: 29.3 KB
- Stars: 149
- Watchers: 8
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PHP IP Tools
[](https://travis-ci.org/akalongman/php-ip-tools)
[](https://packagist.org/packages/longman/ip-tools)
[](https://packagist.org/packages/longman/ip-tools)
[](https://packagist.org/packages/longman/ip-tools)
[](https://github.com/akalongman/ip-tools/LICENSE.md)Universal IP Tools for manipulation on IPv4 and IPv6.
## Require this package with Composer
Install this package through [Composer](https://getcomposer.org/).
Edit your project's `composer.json` file to require
`longman/ip-tools`.Create *composer.json* file:
```js
{
"name": "yourproject/yourproject",
"type": "project",
"require": {
"longman/ip-tools": "~1.1.0"
}
}
```
And run composer update**Or** run a command in your command line:
```
composer require longman/ip-tools
```## Usage
```php