PHP code example of bobel / helpers

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

    

bobel / helpers example snippets


echo \Bobel\Helpers\Text::getRandomString($length = 16);

// Outputs Fb4tUW78cUuZZdPS


echo \Bobel\Helpers\Numeric::formatPrice(4000200.5);

// Outputs 4 000 200.50


\Bobel\Helecho pers\Link::setParam('param1', 'newValue', 'https://fake.url/?param1=value1&param2=value2')

// Outputs https://fake.url/?param1=newValue&param2=value2