Skip to content

Instantly share code, notes, and snippets.


uno-de-piera/routes.php Secret

Created Dec 15, 2019
What would you like to do?
Route::get('/uploader', function () {
return view('multi-uploader');
Route::post('/upload', function () {
if ( request()->has( 'files' ) ) {
foreach (request('files') as $file) {
$file->storeAs('files', $file->getClientOriginalName());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.