3

I've seen the conversation at: https://forum.civicrm.org/index.php?topic=27981.0. But I was wondering if anyone had experienced successfully embedding a PHP library in an extension.

Specifically I want to include the PHP Simple DOM Parser. Any instructions/guidance? That contains a simple php file and a folder of files that it uses.

1

The OmniPay extension comes to mind as an extension built around a library. Looking quickly, it seems like the sensible answer is "Use Composer".

  • I like it. But I wonder if there's an easier way... – JohnFF Feb 17 '17 at 22:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.