skeith22

Web Developer at HYBrain Development Corporation

Experience

1,670

0 Best Reply Awards

  • Member Since 3 Weeks Ago
  • 16 Lessons Completed
  • 0 Favorites

17th July, 2017

skeith22 left a reply on Why Storage Class Doesn't Have A Storage() Helper Function ITS A NEED!! :D • 1 week ago

@Snapey hmmm..let me see I'll try again using the asset() helper.

but Storage::url() clearly goes with using the

request()->picture->store('public/your_folder');

or

request()->image->store('public/your_folder');

or

request()->photo->store('public/your_folder');

15th July, 2017

skeith22 left a reply on Why Storage Class Doesn't Have A Storage() Helper Function ITS A NEED!! :D • 1 week ago

@Snapey the url for you to display it on the view.

skeith22 started a new conversation Why Storage Class Doesn't Have A Storage() Helper Function • 1 week ago

I'm lately creating a project that involves uploading a lot of files and displaying them specially images.

its kinda bothersome that you need to include

use Illuminate\Support\Facades\Storage

in almost all of your controllers cause you need the function

Storage::url()

for you to display images in your view instead of if we have

storage()->url()

we don't need to include

use Illuminate\Support\Facades\Storage

we could just use the storage() helper function in the views to pull files in the Storage

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.