The C++ wrapper of zend engine
zendAPI 是对 Zend Engine 的 C 接口使用 C++ 的最新标准 C++11 进行而面向对象的封装,从而屏蔽了底层 Zend Engine API 的接口复杂性,加快开发 PHP 扩展的效率。从而让 PHP 的扩展开发成为一种享受,不用在考虑不同 PHP 版本带来的差异性,让开发者专注于自身的业务逻辑。
zendAPI is a project to wrapper the C API of Zend Engine into object oriented programming interface that implement with modern C++11 programming language. The zendAPI project provide php extension developer with a simple, rubust and OOP style API, so developer don't need learn the ugly and complex raw Zend Engine API, thereby let the php extension development become a simple and rapid task.
让 PHP 的扩展开发成为一种享受
let PHP extension development become a kind of enjoyment!
考虑到项目本身就是对 PHP 语言引擎的开发接口的封装已经 PHP 的语言引擎叫做 Zend Engine,为了方便大家记住我便将项目命名为 zendAPI,官方网站使用 zendapi.org
The main goal of the project is to wrap PHP's raw C API into C++ OOP API, because of the virtual machine of PHP language called Zend Engine and our project is an OOP API on Zend Engine, so I give the name zendAPI to this project, the official website is http://www.zendapi.org
为了减少研发精力,在决定开发 zendAPI 的时候,在设计思想上我们参考了国外的同类项目 PHPCPP,非常感谢这个团队将这么卓越的项目带给了 PHP 社区,我们在这里表示感谢,我们也将在 zendAPI 项目中对 PHPCPP 的引用加上版权声明,同时把我们发现的代码 bug 反馈到 PHPCPP。
time saving, when develop zendAPI project, I read the code of PHPCPP project, thanks for the team of this project, in some files I use some classes and functions from PHPCPP project and put the copyright header infomation in these files.
PS:
PHPCPP 的 github 地址是: https://github.com/CopernicaMarketingSoftware/PHP-CPP 大家有兴趣可以去研究。
PS:
The Github reposition of PHPCPP: https://github.com/CopernicaMarketingSoftware/PHP-CPP you can learn it if you like.
目前国内有一个跟 zendAPI 比较类似的项目,这个项目是 swoole 项目作者开发,值得推荐。 项目名字 PHP—X 项目的 github 地址是 https://github.com/swoole/PHP-X 大家有兴趣可以研究。
At the time of zendAPI developing, the author of PHP network library swoole give us a project named PHP-X, do the same job of zendAPI, here is it Github Repo address:https://github.com/swoole/PHP-X
下面是我们项目的线上交流QQ群和微信的二维码,大家可以扫码加入:
here is my QQ and wechat QR Code, if you interested in zendAPI project, just scan the QR codes: