php ip geolocator to zip-code

came across an IP function in PHP during my research on my latest project, I decided I would include a geolocation class within
my application.


now looking toward making the class more robust without relying heavily on custom apis

just downloaded a database as a “skeleton” for said project from

and also downloaded pecl from

NOTE:all the installations are to be done at the server level