PHP code example of plugse / fileandpath

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

    

plugse / fileandpath example snippets


File::createPathIfNotExists(
    string $path
): void

Json::Save(
    string $filename,
    array $dataStructure
): void

Env::save(
    string $filename,
    array $dataStructure
): void

Log::save(
    string $filename,
    array $dataStructure
): void

Json::read(
    string $filename
): array

Env::read(
    string $filename
): array

Log::read(
    string $filename
): array