PHPackages                             sicaboy/echoip-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sicaboy/echoip-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sicaboy/echoip-laravel
======================

Laravel Client for echoip

0.2.1(2y ago)0588MITPHPPHP 7.4|^8.0CI failing

Since May 17Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/sicaboy/echoip-laravel)[ Packagist](https://packagist.org/packages/sicaboy/echoip-laravel)[ Docs](https://github.com/sicaboy/echoip-laravel)[ RSS](/packages/sicaboy-echoip-laravel/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Laravel Client for echoip
=========================

[](#laravel-client-for-echoip)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4e0600da2dd2e71e6afb939d8988adfc38673bc6009fb2346c1826e27ed5ae54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696361626f792f6563686f69702d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sicaboy/echoip-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bf2b98b4350f334d6efb9ace7dbe2cf2cb70da947512fa7237f86d79ecb30d3c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73696361626f792f6563686f69702d6c61726176656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/sicaboy/echoip-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8a670209515dc0171c3581b144c4b14ee8e0a8f8fcb001c4164bb9ff85891cd9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73696361626f792f6563686f69702d6c61726176656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/sicaboy/echoip-laravel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/268f8cf2819d6c179d9af523062c549bc6d2c0d92c4f2ee67b243324355d4ec9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696361626f792f6563686f69702d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sicaboy/echoip-laravel)

Laravel Client for [echoip](https://github.com/sicaboy/echoip)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require sicaboy/echoip-laravel
```

You can publish the config file with:

```
php artisan vendor:publish --tag="echoip-laravel-config"
```

This is the contents of the published config file:

```
return [
    'api_key' => env('ECHOIP_API_KEY'),
    'api_url' => env('ECHOIP_API_URL', 'https://echoip.yourdomain.com'),
];
```

Usage
-----

[](#usage)

```
use Sicaboy\EchoipLaravel\Facades\Echoip;

EchoipLaravel::getInfo('1.1.1.1');
EchoipLaravel::getInfo(request()->ip())
```

You will get the country code of the IP address.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [sicaboy](https://github.com/sicaboy)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance52

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~219 days

Total

2

Last Release

915d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e2951851fcef464f5f5745cac87603ddd3675ba9f92623c5156a6073e499e28?d=identicon)[sicaboy](/maintainers/sicaboy)

---

Top Contributors

[![sicaboy](https://avatars.githubusercontent.com/u/2426114?v=4)](https://github.com/sicaboy "sicaboy (4 commits)")

---

Tags

laravelsicaboyechoip-laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sicaboy-echoip-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/sicaboy-echoip-laravel/health.svg)](https://phpackages.com/packages/sicaboy-echoip-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
