Related questions
laravel 5.3 new Auth::routes()
Recently I start to use laravel 5.3 to write a blog, but I have a question after run php artisan make:auth
when I run this, it will generate routes in my web.php
this is the code in it:
Auth::…
Laravel 5.3 Storage::put creates a directory with the file name
I'm using Laravel's file storage functionality to save a file:
public function dataPost(Request $request) {
$fileInForm = 'doc';
if ($request->hasFile($fileInForm)) {
$file = $request->file($fileInForm);
if ($file->isValid()) {
// Filename is hashed filename + part of timestamp
$hashedName = hash_…