phpy

A library for inter-calling Python and PHP


This extension allows PHP to directly use Python modules and functions without RPC.
Including Pytorch, transformer, numpy, tensorflow and other Python AI libraries, which can be used like calling
PHP functions.

License: Apache2.0

Latest releases

Version Release Download
1.0.8 2024-09-06 phpy-1.0.8.tgz
1.0.6 2024-08-20 phpy-1.0.6.tgz
1.0.5 2024-08-20 phpy-1.0.5.tgz
Show all releases

Changelog

Version Message
1.0.8 - Added argument_as_object configuration item
- Add Helper::printTraceback()
- Support windows platform
- Support Python class as parent class of PHP class
1.0.6 - Added python-config PECL configure option
1.0.5 version 1.0.5
Show complete changelog