Download the PHP package nafisc/ipstackgeo-php without Composer

On this page you can find all versions of the php package nafisc/ipstackgeo-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ipstackgeo-php

IPStack for PHP (Geo Location Library)

IPStack for PHP is a simple library used to interface with an IPStack Geo API.

Sponsor Me! Maintainability StyleCI CircleCI Coverage Status Latest Stable Version License

Learn more about IPStack here: ipstack.net

Looking for the Python version?

Looking for the Node.JS version?

Features

Legacy Features


Basic Usage

Example Usage

Note: See IPStack: Response Objects for a list of available properties in a response object.

Create the GeoLookup object

Lookup a location for an IP Address

Look up a Clients location

Look up own location

Other Features

There are also a few other useful features built into this library and the IPStack API.

  1. Bulk Location Lookup

    The ipstack API also offers the ability to request data for multiple IPv4 or IPv6 addresses at the same time. This requires the PROFESSIONAL teir API key or higher and is limitted to 50 IPs at a time.

    See: https://ipstack.com/documentation#bulk

  2. Requesting the hostname for an IP address.

    By default, the ipstack API does not return information about the hostname the given IP address resolves to. In order to include the hostname use the following.

    See: https://ipstack.com/documentation#hostname

  3. Assessing Security

    Customers subscribed to the Professional Plus Plan may access the ipstack API's Security Module, which can be used to assess risks and threats originating from certain IP addresses before any harm can be done to a website or web application.

    See: https://ipstack.com/documentation#security

  4. Set the language for a response

    The ipstack API is capable of delivering its result set in different languages. To request data in a language other than English (default) use following with one of the supported language codes.

    See: https://ipstack.com/documentation#language

    Supported Langauges

  5. Configuring your request

Using the the Legacy FreeGeoIP Binary

You can still use the legacy FreeGeoIP Binary hosted on a server

Note: FreeGeoIP has been deprecated.


All versions of ipstackgeo-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
guzzlehttp/guzzle Version ^6.3
tixastronauta/acc-ip Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nafisc/ipstackgeo-php contains the following files

Collapse All

.circleci

  config.yml

src

   IPStack

     Legacy
    GeoLookup.php

tests

  GeoLookupTest.php
.gitignore
LICENSE
README.md
composer.json
phpunit.xml