Download the PHP package laravel-ready/ultimate-support without Composer
On this page you can find all versions of the php package laravel-ready/ultimate-support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download laravel-ready/ultimate-support
More information about laravel-ready/ultimate-support
Files in laravel-ready/ultimate-support
Download laravel-ready/ultimate-support
More information about laravel-ready/ultimate-support
Files in laravel-ready/ultimate-support
Vendor laravel-ready
Package ultimate-support
Short Description A few useful reusable support package for Laravel
License MIT
Package ultimate-support
Short Description A few useful reusable support package for Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package ultimate-support
Ultimate Support
Support collection for Laravel. This package is standalone and does not require external packages.
Install
Install via Composer:
Publish Config
Support Classes
IpSupport
Contains methods for working with IP addresses.
use LaravelReady\UltimateSupport\Supports\IpSupport;
Method | Description | Result |
---|---|---|
isLocalhost | Check client is from localhost | boolean |
getPublicIp | Get client public IP address if it is localhost | null or string |
getIpAddress | Get client real IP address | array |
getIpAddress Result
Warning
getPublicIp
is uses ipify.org service and caching results for 1 day.Note In laravel native way you can use
Request::ip()
method but this method is cover all cases. For example cloudflare, nginx, etc. Also see this stackoverflow question.
All versions of ultimate-support with dependencies
PHP Build Version
Package Version
The package laravel-ready/ultimate-support contains the following files
Loading the files please wait ....