// the find
piersharding/php-sapnwrfc
SAP RFC Connector using the SAP NW RFC SDK for PHP
A PHP C extension that wraps the SAP NW RFC SDK, letting you call BAPI/RFC functions from PHP using an OO interface. Targets PHP 7 and SAP NW2004x+. Useful only if you're stuck integrating PHP applications with an SAP backend.
The OO wrapper is clean enough — connection, function lookup, invoke follows the expected pattern. Offline unit tests exist, which is more than most PHP C extensions bother with. The examples cover real use cases like message server connections, not just toy pings.
Dead project — last commit January 2016, PHP 7 era, meaning it almost certainly breaks on PHP 8+ due to the Zend engine API changes between major versions. The only pre-built binaries are 32-bit Windows DLLs from the PHP 5.x era, which tells you how stale this is. No connection pooling or async support; every request holds an open RFC connection. The log directory workaround via chdir() is a global state hack that will cause race conditions in any concurrent web server environment.