An elegant wrapper around Google Vision API
In your file input, instead of having multiple if's for all the filesystems types, I would suggest using a filesystem adapter.
Abstraction for local and remote filesystems
It could be phpleage/flysystem so I could use FTP, S3 or something else, your system shouldnt care where the file comes from, just that you can get the content of the file :)
Cloudways' Black Friday Offer - 1st Choice of Developers. Cloudways: Devs' 1st choice for managed hosting! Pick from top-tier Cloud providers like DigitalOcean, AWS, and GCE. Limited-time deal: 40% OFF for 4 Months + 40 Free Migrations.
Where to store the user 's profile picture?
1 project | /r/PHP | 19 Jan 2023
The future of testing setup & file locations
3 projects | /r/laravel | 5 Dec 2022
Laravel Cloudinary v2 Release Update
2 projects | dev.to | 28 Jun 2022
How do you "simulate" failures in integration tests?
1 project | /r/PHP | 30 Mar 2022
Is caching no longer available for Storage (S3)?
2 projects | /r/laravel | 12 Mar 2022