Download the PHP package maxiwheat/httpful without Composer
On this page you can find all versions of the php package maxiwheat/httpful. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package httpful
Fork
PHP 8.1 or higher required.
Installation
Local Development
Httpful
Httpful is a simple Http Client library for PHP 7.2+. There is an emphasis of readability, simplicity, and flexibility – basically provide the features and flexibility to get the job done and make those features really easy to use.
Features
- Readable HTTP Method Support (GET, PUT, POST, DELETE, HEAD, PATCH and OPTIONS)
- Custom Headers
- Automatic "Smart" Parsing
- Automatic Payload Serialization
- Basic Auth
- Client Side Certificate Auth
- Request "Templates"
Sneak Peak
Here's something to whet your appetite. Search the twitter API for tweets containing "#PHP". Include a trivial header for the heck of it. Notice that the library automatically interprets the response as JSON (can override this if desired) and parses it as an array of objects.
Installation
Composer
Httpful is PSR-0 compliant and can be installed using composer. Simply add maxiwheat/httpful
to your composer.json file. Composer is the sane alternative to PEAR. It is excellent for managing dependencies in larger projects.
Contributing
Httpful highly encourages sending in pull requests. When submitting a pull request please:
- All pull requests should target the
dev
branch (notmaster
) - Make sure your code follows the coding conventions
- Please use soft tabs (four spaces) instead of hard tabs
- Make sure you add appropriate test coverage for your changes
- Run all unit tests in the test directory via
phpunit ./tests
- Include commenting where appropriate and add a descriptive pull request message
All versions of httpful with dependencies
ext-curl Version *