finds.dev← search

// the find

piersharding/php-sapnwrfc

★ 52 · C · updated Jan 2016

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.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →