Download the PHP package dyanakiev/mylarinfocustom without Composer
On this page you can find all versions of the php package dyanakiev/mylarinfocustom. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package mylarinfocustom
Larinfo
Larinfo provide system information for Laravel 5.x application. It show IP address information for host and client, server software versions, and hardware information.
Installation
To install using Composer, just run this command below.
For Laravel > 5.6
For Laravel < 5.6
For Laravel 5.0, 5.1, 5.2, 5.3, and 5.4
Open the config/app.php
and add this line in providers
section.
Still on config/app.php
file, add this line in aliases
section.
For Laravel > 5.5
Nothing to do. It uses Laravel's package auto discovery.
Usage
To get all info, use facade Larinfo
and call the getInfo()
method. It will return this array example.
If you don't want to use facade, just create the implementation of Matriphe\Larinfo\Larinfo
class.
Result of that command is shown below.
Other method you can use are:
getHostIpinfo
to get host IP info (Larinfo::getHostIpinfo()
)getClientIpinfo
to get client IP info (Larinfo::getClientIpinfo()
)getServerInfoSoftware
to get server software info (Larinfo::getServerInfoSoftware()
)getServerInfoHardware
to get server hardware info (Larinfo::getServerInfoHardware()
)getUptime
to get server uptime (Larinfo::getUptime()
)getServerInfo
to get server info (Larinfo::getServerInfo()
)getDatabaseInfo
to get database info (Larinfo::getDatabaseInfo()
)
Config
IP information is taken using ipinfo.io service. If you've registered and has token access, put your token in the config/services.php
in ipinfo
variable.
If you don't want to hit ipinfo.io rate limit, you can cache it using Laravel built-in cache.
License
The GPLv3 License. Please see License File for more information.
All versions of mylarinfocustom with dependencies
davidepastore/ipinfo Version ^0.4
laravel/framework Version ^5.0 | ^6.0 | ^7.0 | ^8.0
linfo/linfo Version ^4.0