PHP code example of kinetis / storage
1. Go to this page and download the library: Download kinetis/storage 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/ */
kinetis / storage example snippets
use Kinetis\Storage\FilesystemFactory;
$storage = FilesystemFactory::fromConfig($config);
$storage->write('avatars/user-42.png', $imageContents);
$contents = $storage->read('avatars/user-42.png');
$storage->delete('avatars/user-42.png');