|Classes of Ahmad Mustapha||QueryList Wrapper||README.md||Download|
Queliwrap, PHP QueryList Wrapper.
Queliwrap is a wrapper that provides easy helper functions around PHP popular web scrapper, QueryList and Guzwrap.
This library is totally different from version 1. There won't be an easy solution for users upgrading from version 1 except rewritting their scripts. This happens because we chose to use Guzwrap for making requests which provides much much easier interface for sending requests, Guzwrap uses promises as its return value. Appologies.
Make sure that you have composer installed Composer.
If you don't have Composer run the below command
Now, let's install Queliwrap:
Now update composer libraries to match current latest releases.
After installing, require Composer's autoloader in your code:
We use Guzwrap in the followimg examples. You might want to dig a little deeper in to it.
Handle errors using promise's otherwise method