PHP code example of eden / file

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

    

eden / file example snippets


$file = eden('file', '/some/path/to/file.txt');

eden('file', '/some/path/to/file.txt')->setContent(*string $content);