esign / laravel-outbound-ip
Discover the outbound IP address of your server
Installs: 1 125
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.0
- illuminate/http: ^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- orchestra/testbench: ^6.0|^7.0|^8.0|^9.0
- phpunit/phpunit: ^9.0|^10.0
This package is auto-updated.
Last update: 2024-11-20 20:00:29 UTC
README
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.