PHP code example of webman-tech / laravel-filesystem
1. Go to this page and download the library: Download webman-tech/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/ */
webman-tech / laravel-filesystem example snippets
use WebmanTech\LaravelHttp\Facades\LaravelUploadedFile;
$path = LaravelUploadedFile::wrapper($request->file('avatar'))->store('avatars');
# 建立软链
php webman storage:link