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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners