D
D
Denis Bukreev2017-10-28 16:48:59
Laravel
Denis Bukreev, 2017-10-28 16:48:59

How to delete a file in public laravel?

So it goes.
I save files using ImageIntervention in /public/uploads/..
I google how to delete files - I get all the links from the documentation using Storage, which delete files from the storage/ folder
How to delete files from public?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hakkol, 2017-10-28
@denisbookreev

For example, you can do this:
$path - the path to the file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question