PHP code example of agmakonts / stl

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

    

agmakonts / stl example snippets


//Create or get String instance
$string = String::get('String value');
    
//Create or get Integer instance
$integer = Integer::get(12213);
    
//Chaining
    
$integer = Integer::get(10)->add(Integer::get(10));