Recommend this page to a friend! |
Download .zip |
Info | Example | View files (66) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-10-21 (23 days ago) | 78% | Total: 289 This week: 9 | All time: 7,469 This week: 76 |
Version | License | PHP version | Categories | |||
freegeoip 1.0.5 | MIT/X Consortium ... | 5.3 | PHP 5, Web services, Geography |
Description | Author | |
This class can get the location of an address with FreeGoIP API. |
FreeGoIP - A PHP wrapper for FreeGoIP reverse geolocation API.
freegeoip.net is a service providing a public HTTP API for software developers to search the geolocation of IP addresses. It uses a database of IP addresses associated to cities along with other relevant information such as time zone, latitude and longitude.
The freegeoip web server is free and open source but the public service limit up to 10,000 queries per hour by default. Once this limit is reached, all requests from the IP will result in HTTP 403, forbidden, until the quota is cleared.
Developed by Ivan Melgrati
The recommended installation method is through
Composer, a dependency manager for PHP. Just add
imelgrat/freegoip
to your project's composer.json
file:
{
"require": {
"imelgrat/freegoip": "*"
}
}
More details can be found over at Packagist.
Please open an issue to request a feature or submit a bug report. Or even if you just want to provide some feedback, I'd love to hear. I'm also available on Twitter as @imelgrat.
Files |
File | Role | Description | ||
---|---|---|---|---|
docs (2 files, 9 directories) | ||||
examples (2 files) | ||||
src (1 file) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpdoc.dist.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
VERSION | Data | Auxiliary data |
Files | / | docs |
Files | / | docs | / | css |
File | Role | Description | ||
---|---|---|---|---|
phpdocumentor-clean-icons (2 files, 1 directory) | ||||
bootstrap-combined.no-icons.min.css | Data | Auxiliary data | ||
font-awesome.min.css | Data | Auxiliary data | ||
jquery.iviewer.css | Data | Auxiliary data | ||
prism.css | Data | Auxiliary data | ||
template.css | Data | Auxiliary data |
Files | / | docs | / | css | / | phpdocumentor-clean-icons |
File | Role | Description | ||
---|---|---|---|---|
fonts (2 files) | ||||
lte-ie7.js | Data | Auxiliary data | ||
style.css | Data | Auxiliary data |
Files | / | docs | / | css | / | phpdocumentor-clean-icons | / | fonts |
File | Role | Description |
---|---|---|
phpdocumentor-clean-icons.dev.svg | Data | Auxiliary data |
phpdocumentor-clean-icons.svg | Data | Auxiliary data |
Files | / | docs | / | files |
File | Role | Description |
---|---|---|
freegoip.html | Doc. | Documentation |
freegoip.php.txt | Doc. | Documentation |
Files | / | docs | / | graphs |
File | Role | Description |
---|---|---|
class.html | Doc. | Documentation |
classes.svg | Data | Auxiliary data |
Files | / | docs | / | images |
File | Role | Description | ||
---|---|---|---|---|
iviewer (8 files) | ||||
android-chrome-192x192.png | Icon | Icon image | ||
android-chrome-512x512.png | Data | Auxiliary data | ||
apple-touch-icon-114x114.png | Icon | Icon image | ||
apple-touch-icon-72x72.png | Icon | Icon image | ||
apple-touch-icon.png | Icon | Icon image | ||
custom-icons.svg | Data | Auxiliary data | ||
favicon-16x16.png | Icon | Icon image | ||
favicon-32x32.png | Icon | Icon image | ||
favicon.ico | Data | Auxiliary data | ||
hierarchy-item.png | Icon | Icon image | ||
icon-class-13x13.png | Icon | Icon image | ||
icon-class.svg | Data | Auxiliary data | ||
icon-interface-13x13.png | Icon | Icon image | ||
icon-interface.svg | Data | Auxiliary data | ||
icon-trait-13x13.png | Icon | Icon image | ||
icon-trait.svg | Data | Auxiliary data | ||
mstile-150x150.png | Icon | Icon image | ||
safari-pinned-tab.svg | Data | Auxiliary data |
Files | / | docs | / | images | / | iviewer |
File | Role | Description |
---|---|---|
grab.cur | Data | Auxiliary data |
hand.cur | Data | Auxiliary data |
iviewer.rotate_left.png | Icon | Icon image |
iviewer.rotate_right.png | Icon | Icon image |
iviewer.zoom_fit.png | Icon | Icon image |
iviewer.zoom_in.png | Icon | Icon image |
iviewer.zoom_out.png | Icon | Icon image |
iviewer.zoom_zero.png | Icon | Icon image |
Files | / | docs | / | js |
File | Role | Description | ||
---|---|---|---|---|
ui (1 directory) | ||||
bootstrap.min.js | Data | Auxiliary data | ||
html5.js | Data | Auxiliary data | ||
jquery-1.11.0.min.js | Data | Auxiliary data | ||
jquery.dotdotdot-1.5.9.js | Data | Auxiliary data | ||
jquery.dotdotdot-1.5.9.min.js | Data | Auxiliary data | ||
jquery.iviewer.js | Data | Auxiliary data | ||
jquery.iviewer.min.js | Data | Auxiliary data | ||
jquery.mousewheel.js | Data | Auxiliary data | ||
jquery.smooth-scroll.js | Data | Auxiliary data | ||
prism.min.js | Data | Auxiliary data |
Files | / | docs | / | reports |
File | Role | Description |
---|---|---|
deprecated.html | Doc. | Documentation |
errors.html | Doc. | Documentation |
markers.html | Doc. | Documentation |
Files | / | examples |
File | Role | Description |
---|---|---|
example-domain.php | Example | Example script |
example-ip-address.php | Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.