Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrana/php-async
Convenient API for asynchronous operations in PHP
https://github.com/vrana/php-async
Last synced: about 1 month ago
JSON representation
Convenient API for asynchronous operations in PHP
- Host: GitHub
- URL: https://github.com/vrana/php-async
- Owner: vrana
- Created: 2010-10-08T02:14:04.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-10-09T13:58:46.000Z (about 14 years ago)
- Last Synced: 2023-04-22T16:45:24.791Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 393 KB
- Stars: 74
- Watchers: 6
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
MysqliAsync - Convenient API for asynchronous queries in PHP 5.3+
CurlAsync - Convenient API for asynchronous HTTP connections using CURL in PHP 5+MysqliAsync API:
$db = new MysqliAsync([$host, [$username, [$passwd, [$dbname, [$port, [$socket]]]]]])
- specify default credentials$db->$name($query, [$credentials])
- execute query
- $credentials are merged with defaults$mysqli_result = $db->$name()
- get results of query identified by $nameCurlAsync API:
$http = new CurlAsync
$http->$name($url)
- execute request$string = $http->$name()
- get result of request identified by $nameCzech articles:
http://php.vrana.cz/asynchronni-dotazy-v-mysqli.php
http://php.vrana.cz/asynchronni-dotazy-v-curl.php