PHPoAuthLib icon indicating copy to clipboard operation
PHPoAuthLib copied to clipboard

script to create OAuth.phar

Open remdragon opened this issue 8 years ago • 2 comments

I'm still fairly new to php and the installation instructions for PHPoAuthLib seemed a little daunting to me. I really like phar files and took it on myself to learn a bit more about how phar files work by getting your library working that way.

The only change to the QuickBooks example that was necessary was that I replaced this:

require_once DIR . '/bootstrap.php';

with this:

include 'OAuth.phar';

remdragon avatar Jan 28 '17 17:01 remdragon

Which advantages can bought phar archives in this case?

hellboy81 avatar Feb 10 '17 14:02 hellboy81

the advantage is that you can download a phar file, put it in your htdocs folder and start using it. No complicated installation

remdragon avatar Aug 12 '17 03:08 remdragon