Download the PHP package yogeshkoli/user-ip without Composer
On this page you can find all versions of the php package yogeshkoli/user-ip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yogeshkoli/user-ip
More information about yogeshkoli/user-ip
Files in yogeshkoli/user-ip
Package user-ip
Short Description PHP Class to get active user IP Address.
License MIT
Informations about the package user-ip
PHP User IP Address library
PHP User IP Address Class Library is used to get current User IP Address and validate given IP address.
Installation
The preferred way to install this extension is through composer.
To install PHP UserIP library Use following command:
$ composer require yogeshkoli/user-ip
Or you can also clone the complete repository with Git Use following command:
$ https://github.com/yogeshkoli/user-ip.git
Requirements
This library is supported by PHP versions 5.6
Available Methods
Available methods in this library:
How to Use this package?
Here is sample examples of using this package:
Get User IP Address:
Output:
Validated Given IP Address:
Output:
Contribute
- Check for open issues or open a new issue to start a discussion around a bug or feature.
- Fork the repository on GitHub to start making your changes.
- Write one or more tests for the new feature or that expose the bug.
- Make code changes to implement the feature or fix the bug.
- Send a pull request to get your changes merged and published.
This is intended for large and long-lived objects.
License
This project is licensed under MIT license. See the LICENSE file for more info.
Copyright
2017 Yogesh Koli, yogeshkoli.com
If you find it useful, let me know :wink:
You can contact me on Twitter or through my email.