Looking to hire Laravel developers? Try LaraJobs

laravel-outbound-ip maintained by esign

Description
Discover the outbound IP address of your server
Last update
2026/03/17 21:56 (dev-master)
License
Downloads
6 163

Comments
comments powered by Disqus

Discover the outbound IP address of your server

Latest Version on Packagist Total Downloads GitHub Actions

This package provides various ways to discover the outbound IP address of your server.

Installation

You can install the package via composer:

composer require esign/laravel-outbound-ip

Usage

This package ships with both a command and a route to discover the outbound IP address of your server. These different strategies prove useful in scenarios where your server utilizes different IP addresses for outgoing requests originating from SSH versus those from the web server.

Using a command

To discover the outbound IP address of your server's SSH jail, you may run the following command:

php artisan outbound-ip

Using a route

To discover the outbound IP address of your web server, you may visit the /outbound-ip route.

Testing

composer test

License

The MIT License (MIT). Please see License File for more information.