PHP code example of mistralys / application-utils

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

    

mistralys / application-utils example snippets


use AppUtils\FileHelper;

// Replacement for file_get_contents
$content = FileHelper::readContents('path/to/file');

use AppUtils\ConvertHelper;

$bool = ConvertHelper::string2bool('yes');