Skip to content

esign/laravel-outbound-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Discover the outbound IP address of your server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages