Guide to build ext with zephir (with existing header)

Hi, i just read that mariadb support for nonblocking client. there is a nodejs implementation called mariasql, i am interested to create the php client for mariadb nonblcking client. and of course i want to build it with zephir.

any guide to create it?

The Zephir tutorial is here. The instructions under "Extension Skeleton" are incorrect; The init command does not create a config.json by default. You must create it, but all it needs to contain is:

{
    "namespace": "YourNamespace"
}


10.2k

the point is. how can i include external header, and use the function inside zephir, eg i want to include mysql.h and how to use the function of mysql.h?