Download the PHP package aungmyokyaw/ip-api without Composer

On this page you can find all versions of the php package aungmyokyaw/ip-api. 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 ip-api

Laravel IP-API Integration: Quick IP Geolocation Solution

The Laravel IP-API Package is a powerful and easy-to-use solution for integrating IP geolocation functionality into your Laravel applications. With this package, you can effortlessly retrieve detailed information about the location, timezone, ISP, and more for any IP address. It provides a simplified interface for making API requests to IP-API, a popular and reliable IP geolocation service. Save time and effort in implementing IP geolocation in your Laravel projects with this convenient package.

Installation

Usage

Features

Facade

Retrieving geolocation data for a requested IP address.

Retrieving geolocation data for a custom IP address.

Request

In your Laravel controller or middleware, you can use the $request->ipApi() method to retrieve geolocation data for the requested IP address. For example:

Response

Available response data for this geo package includes:

Name Description Type
status success or fail string
message included only when status is fail Can be one of the following: private range, reserved range, invalid query string
continent Continent name string
continentCode Two-letter continent code string
country Country name string
countryCode Two-letter country code ISO 3166-1 alpha-2 string
region Region/state short code (FIPS or ISO) string
regionName Region/state string
city City string
district District (subdivision of city) string
zip Zip Code string
lat Latitude float
lon Longitude float
timezone Timezone (tz) string
offset Timezone UTC DST offset in seconds int
currency National currency string
isp ISP name string
org Organization name string
as AS number and organization, separated by space (RIR). Empty for IP blocks not being announced in BGP tables. string
asname AS name (RIR). Empty for IP blocks not being announced in BGP tables. string
reverse Reverse DNS of the IP (can delay response) string
mobile Mobile (cellular) connection bool
proxy Proxy, VPN or Tor exit address bool
hosting Hosting, colocated or data center bool
query IP used for the query bool

Credits

ip-api.com

License

This package is open source and released under the LICENSE file for detailed licensing terms and conditions.


All versions of ip-api with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.3|^7.5
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 aungmyokyaw/ip-api contains the following files

Loading the files please wait ....