It's funny how your class with the simple code:
include '/private/API/OAuth.php';
include '/private/API/API.php';
$patrons = new API(fetch_campaign_details($12346));
doesn't work (of course I can't use composer on my hosting so I had to include it and no matter what it doesn't work).
Returning this error:
Fatal error: Uncaught Error: Class 'API\API' not found in /private/Patreon.php:6 Stack trace: #0 {main} thrown in /private/Patreon.php on line 6
But the working php-api that I commissioned to my colleagues are currently working with cURL.
Was really composer necessary for this? Really?
You should pull out something easy to use and for everyone, adaptable without limits and not this kind of stuff.
Few lines for a guide taking people nowhere... God. Lucky you that you've been able to make it work.
It's funny how your class with the simple code:
doesn't work (of course I can't use composer on my hosting so I had to include it and no matter what it doesn't work).
Returning this error:
Fatal error: Uncaught Error: Class 'API\API' not found in /private/Patreon.php:6 Stack trace: #0 {main} thrown in /private/Patreon.php on line 6But the working php-api that I commissioned to my colleagues are currently working with cURL.
Was really composer necessary for this? Really?
You should pull out something easy to use and for everyone, adaptable without limits and not this kind of stuff.
Few lines for a guide taking people nowhere... God. Lucky you that you've been able to make it work.