Category: PHP

A couple of days ago, a new version of Leaf PHP titled Lucky Charm was released. Lucky Charm packed up some new features, bug fixes from previous versions and a general cleanup on the entire framework which led to a performance upgrade and an even smaller size.

One of the new features added in Lucky Charm is the File Upload functionality which we’ll be discussing here.

With this done, all we need to think of now is the file upload.

upload_file takes in 3 parameters: One amazing thing about FS is that it can detect the type of file you’re trying to upload and handle it accordingly
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners