You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
5 months ago
|
# Promise
|
||
|
|
||
|
[![Latest Version](https://img.shields.io/github/release/php-http/promise.svg?style=flat-square)](https://github.com/php-http/promise/releases)
|
||
|
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
|
||
|
[![Build Status](https://github.com/php-http/promise/actions/workflows/tests.yml/badge.svg?branch=1.x)](https://github.com/php-http/promise/actions/workflows/tests.yml)
|
||
|
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-http/promise.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/promise)
|
||
|
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/promise.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/promise)
|
||
|
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/promise.svg?style=flat-square)](https://packagist.org/packages/php-http/promise)
|
||
|
|
||
|
**Promise used for asynchronous HTTP requests.**
|
||
|
|
||
|
**Note:** This will eventually be removed/deprecated and replaced with the upcoming Promise PSR.
|
||
|
|
||
|
|
||
|
## Install
|
||
|
|
||
|
Via Composer
|
||
|
|
||
|
``` bash
|
||
|
$ composer require php-http/promise
|
||
|
```
|
||
|
|
||
|
|
||
|
## Documentation
|
||
|
|
||
|
Please see the [official documentation](http://docs.php-http.org/en/latest/components/promise.html).
|
||
|
|
||
|
|
||
|
## Testing
|
||
|
|
||
|
``` bash
|
||
|
$ composer test
|
||
|
```
|
||
|
|
||
|
|
||
|
## Contributing
|
||
|
|
||
|
Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).
|
||
|
|
||
|
|
||
|
## Security
|
||
|
|
||
|
If you discover any security related issues, please contact us at [security@php-http.org](mailto:security@php-http.org).
|
||
|
|
||
|
|
||
|
## License
|
||
|
|
||
|
The MIT License (MIT). Please see [License File](LICENSE) for more information.
|