Download the PHP package webklex/laravel-geoip without Composer
On this page you can find all versions of the php package webklex/laravel-geoip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webklex/laravel-geoip
More information about webklex/laravel-geoip
Files in webklex/laravel-geoip
Package laravel-geoip
Short Description Laravel GeoIP client
License MIT
Homepage https://github.com/webklex/laravel-geoip
Informations about the package laravel-geoip
GeoIP Library for Laravel
Description
Laravel-GeoIP provides you with the ability to gather open source ip intelligence by using the open api provided by GoGeoIP.
Table of Contents
- Installation
- Usage
- Basic usage example
- Support
- Security
- Credits
- License
Installation
1.) Install the Laravel-GeoIP package by running the following command:
2.) If you're using Laravel >= 5.5, package discovery will configure the service provider and GeoIP
alias out of the box.
Otherwise, for Laravel <= 5.4, edit your config/app.php
file and:
-
add the following to the
providers
array: - add the following to the
aliases
array:
3.) Run the command below to publish the package config file config/geoip.php:
Usage
Basic usage example
This is a basic example, which will dump the geoip information for the current user ip as well as for the ip "205.13.135.36".
If you want to use your own instance of GoGeoIP, just update the endpoint provided in the config file.
Response:
Support
If you encounter any problems or if you find a bug, please don't hesitate to create a new issue. However please be aware that it might take some time to get an answer. Off topic, rude or abusive issues will be deleted without any notice.
If you need immediate or commercial support, feel free to send me a mail at [email protected].
A little notice
If you write source code in your issue, please consider to format it correctly. This makes it so much nicer to read and people are more likely to comment and help :)
``` php
echo 'your php code...';
```
will turn into:
Features & pull requests
Everyone can contribute to this project. Every pull request will be considered but it can also happen to be declined. To prevent unnecessary work, please consider to create a feature issue first, if you're planning to do bigger changes. Of course you can also create a new feature issue if you're just wishing a feature ;)
Change log
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-geoip with dependencies
ext-curl Version *
ext-json Version *
laravel/framework Version >=5.0.0
webklex/php-geoip Version ^1.0