Skip to content

vrana/php-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 $name



CurlAsync API:

$http = new CurlAsync

$http->$name($url)
- execute request

$string = $http->$name()
- get result of request identified by $name



Czech articles:

https://php.vrana.cz/asynchronni-dotazy-v-mysqli.php
https://php.vrana.cz/asynchronni-dotazy-v-curl.php

About

Convenient API for asynchronous operations in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages