https://github.com/arraypress/ipinfo-plugin
This is a demonstration WordPress plugin showing how to implement the IPInfo.io Library in a WordPress environment.
https://github.com/arraypress/ipinfo-plugin
Last synced: 10 months ago
JSON representation
This is a demonstration WordPress plugin showing how to implement the IPInfo.io Library in a WordPress environment.
- Host: GitHub
- URL: https://github.com/arraypress/ipinfo-plugin
- Owner: arraypress
- Created: 2024-12-07T18:04:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-21T21:42:49.000Z (about 1 year ago)
- Last Synced: 2025-02-06T09:23:56.216Z (12 months ago)
- Language: PHP
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IPInfo Demo Plugin
This is a demonstration WordPress plugin showing how to implement the [IPInfo Library](https://github.com/arraypress/ipinfo) in a WordPress environment. The plugin provides a testing interface in the WordPress admin area to explore IPInfo.io API capabilities.
## About
This plugin demonstrates the integration of the [IPInfo Library](https://github.com/arraypress/ipinfo) with WordPress, showing developers how to implement IP intelligence features including geolocation, ASN data, privacy detection, and more in their own plugins.
## Installation
1. Download or fork this repository
2. Place it in your WordPress plugins directory
3. Run `composer install` in the plugin directory
4. Activate the plugin in WordPress
5. Navigate to Tools > IPInfo Tester to configure your API token
## Features Demonstrated
The admin interface allows testing of:
- Single IP lookups
- Batch IP processing
- Individual field queries
- Full response data display including:
- Geolocation data
- ASN information
- Privacy detection (VPN/Proxy/Tor)
- Company details
- Abuse contacts
- Associated domains
## Requirements
- PHP 7.4 or later
- WordPress 6.7.1 or later
- IPInfo.io API token
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the GPL-2.0-or-later License.
## Support
- [Documentation](https://github.com/arraypress/ipinfo-plugin)
- [Issue Tracker](https://github.com/arraypress/ipinfo-plugin/issues)