PHP code example of teksite / systeminfo-laravel

1. Go to this page and download the library: Download teksite/systeminfo-laravel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

teksite / systeminfo-laravel example snippets


use Teksite\SystemInfo\Support\DriverResolver;

$driver = DriverResolver::driver();

$data = $driver->collector();

return $data;

$data =\Teksite\SystemInfo\Support\DriverResolver::driver()->collector()

return $data;

$data =(new \Teksite\SystemInfo\Repo\LaravelInfo())->collect()

return $data;

$data =(new \Teksite\SystemInfo\Repo\PhpInfo())->collect()

return $data;

[
  "version" => "8.4.12"
  "sapi" => "cgi-fcgi"
  "thread_safe" => false
  "architecture" => "64-bit"
  "memory_limit" => "512M"
  "max_execution_time" => 36000
  "opcache" => []
  "jit" =>[]
  "loaded_extensions" =>[]
]