PHP code example of solvire / common-utilities

1. Go to this page and download the library: Download solvire/common-utilities 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/ */

    

solvire / common-utilities example snippets


use Solvire\Utilities\OptionsChecker as Ch;
Ch::ek($options, $

use Solvire\HTTP\RequestUtil as Ru;
$ip = Ru::ip();

use Solvire\Application\Environment as Ev;
Ev::get($key);
Ev::get($key,$default);