Tying together Perl and PHP
<p>I have a large code base I've written in Perl for a web application. Recently, I've decided to use Braintree's payment system, but their Perl library is deprecated. I decided I'd have to write a new set of PHP scripts that duplicated quite a few user functions from my Perl code, which, obviously, is less than ideal. Then I came across PHP::Interface on CPAN and the PECL Perl extension for PHP, both of which promise to allow code from the one language to be interpreted in the other, exposing variables across the language divide, etc. Either would be a huge help, but both appear unmaintained and broken in modern environments. Is there some currently maintained way to either expose my Perl modules to PHP or some PHP functions into Perl?</p>