Laravel Community Tools by
Tighten
Laravel Versions
PHP Releases
Nova Packages
Laravel Tricks
Forge Recipes
Toggle navigation
Log in
Log in
blackrain
Joined:
12 years ago
Total tricks:
1
Last trick:
12 years ago
Submitted tricks
Requests and Input
File::delete($path); use in a controller
This stumped me for some time and after digging around I found it works great, the uploaded file can be removed from the server as well as the database entry. works well for file sharing and image sharing sites.
blackrain
12 years ago
22501
4.1
database