Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-03-09 (6 days ago) ![]() | Not enough user ratings | Total: 17 This week: 17 | All time: 11,193 This week: 5![]() |
Version | License | PHP version | Categories | |||
yii2-ipstack 1.0 | BSD License | 5 | Networking, PHP 5, Libraries, Web ser..., G... |
Description | Author | ||||||||
This package can find the location of a computer with an IP address. |
|
Locate and identify website visitors by IP address using IPStack API
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist daxslab/yii2-ipstack "*"
or add
"daxslab/yii2-ipstack": "*"
to the require section of your composer.json
file.
Add the component to the application:
'components' => [
'ipStack' => [
'class' => \daxslab\ipstack\Client::class,
'api_key' => '{YOUR_API_KEY}',
],
]
Request info about current user IP
Yii::$app->ipStack->getData();
Request info about a custom IP
Yii::$app->ipStack->getData($ip);
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.