Laravel Move File from One Folder to Another Example (ok)
https://www.itsolutionstuff.com/post/laravel-move-file-from-one-folder-to-another-exampleexample.html
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
return view('welcome');
});
Auth::routes();
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::get('/test', [App\Http\Controllers\DemoController::class, 'moveImage'])->name('test');
Route::get('/test2', [App\Http\Controllers\DemoController::class, 'moveImageS'])->name('test2');
Laravel Move File from One Folder to Another Example
PreviousLaravel Copy File from One Folder to Another Example (ok)NextHow to Delete File from Public Folder / Storage Folder in Laravel? (ok)
Last updated