1. Go to this page and download the library: Download tray-labs/oracle-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/ */
use \TrayLabs\OracleStorage\OracleStorage;
use \TrayLabs\OracleStorage\Object\File;
use \TrayLabs\OracleStorage\Exception\FileNotFound;
$client = new OracleStorage(
use TrayLabs\OracleStorage\Facades\OracleStorage;
// execute upload your file
$fileName = OracleStorage::upload('fileName', new File($yourFile));
use \TrayLabs\OracleStorage\OracleStorage;
use \TrayLabs\OracleStorage\Object\File;
use \TrayLabs\OracleStorage\Exception\FileNotFound;
$client = new OracleStorage(
use TrayLabs\OracleStorage\Facades\OracleStorage;
// execute download your file
OracleStorage::download('fileName');
use \TrayLabs\OracleStorage\OracleStorage;
use \TrayLabs\OracleStorage\Object\File;
use \TrayLabs\OracleStorage\Exception\FileNotFound;
$client = new OracleStorage(
use TrayLabs\OracleStorage\Facades\OracleStorage;
// execute delete your file
OracleStorage::delete('fileName');
use \TrayLabs\OracleStorage\OracleStorage;
use \TrayLabs\OracleStorage\Object\File;
use \TrayLabs\OracleStorage\Exception\FileNotFound;
$client = new OracleStorage(
use TrayLabs\OracleStorage\Facades\OracleStorage;
// get information about your file
OracleStorage::metadata('fileName');
ini
php artisan vendor:publish
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.