PHP code example of expresslanding / laravel-filesystem
1. Go to this page and download the library: Download expresslanding/laravel-filesystem 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/ */
expresslanding / laravel-filesystem example snippets
...
'statuses' => [
/*
* Don't rewrite this status because it's main disk status!
*/
'newAvailableStatusName',
...
],
'statuses_map' => [
...
/*
* Status defining a free disk for work
*/
'availableDisk' => 'newAvailableStatusName',
],
],
...
'statuses' => [
...
/*
* This status is the default after disk creation.
*/
'newDeactivatedStatusName',
...
],
'statuses_map' => [
/*
* The status assigned to the new disk
*/
'newDisk' => 'newDeactivatedStatusName',
...
],
],