bytes4sale/iplocator
Laravel package to look up IP address details like location, currency, and language via supported providers (IPDATA, IPSTACK, IP-API). Configure API source and keys in .env, then fetch enriched IP info quickly in your app.
This minor release includes the removal of an unused package and general maintenance updates to improve the stability and performance of the application.
Configuration Cache:
php artisan config:clearMaintenance:
php artisan cache:clearphp artisan route:clearphp artisan view:clearphp artisan config:cachecomposer install to update your local environment after pulling the latest changes.Thank you for using our application. If you encounter any issues or have any feedback, please reach out to our support team.
We hope you find these new features useful and appreciate your continued support. Please report any issues on our GitHub repository.
In this release, we have expanded the list of supported IP data providers. Now, you can choose from an even wider range of sources to fetch IP information. Alongside ipdata.co, we have added one more provider, ipstack.com, each offering specific details about an IP address.
We have worked to enrich the data available from each provider. For example, ipdata.co now provides comprehensive geolocation data, including latitude and longitude coordinates.
With this release, we have made the package even more customizable. You can now fine-tune IPLocator's behavior by modifying the configuration file found at config/iplocator.php. Easily set the default data provider, API keys, and other options to suit your application's requirements.
Before using IPLocator, make sure you have registered for the necessary API keys from the IP data providers you wish to use. You'll need to specify the iplocator_source in your .env file with the respective API key name for each library you want to use. For example:
# .env
IP_LOCATOR_SOURCE=IPDATA
IPDATA_KEY=your_ipdata_api_key_here,
IP_LOCATOR_SOURCE=IPSTACK
IPSTACK_KEY=your_ipstack_api_key_here,
We are excited to announce the first release of bytes4sale IPLocator! This Laravel package allows you to easily retrieve details for a given IP address, which can be useful in various applications where you need to determine the location or other information related to an IP address.
IPLocator::getIpCompleteDetails($ip).IpLocatorConfig::setCredentials($credentials).To use bytes4sale IPLocator, you need to include it in your Laravel project. You can install it using Composer by adding the following line to your composer.json file and running composer update.
"require": {
"bytes4sale/iplocator": "^1.0.0"
}
How can I help you explore Laravel packages today?