Closed tamer-badawy closed 2 years ago
I don't want to invoke curl for local files, so I've moved your implementation inside a new method called fromUrl()
which should accomplish what you're looking for :)
Implemented in v0.4.0. Thanks for the PR!
As i worked in project and allow_url_fopen is disabled for security reason . so try to use curl by default. If not installed then use file_get_contents