norkunas / onesignal-php-api

OneSignal API for PHP
MIT License
233 stars 82 forks source link

Install without composer #42

Closed mczernin closed 8 years ago

mczernin commented 8 years ago

I am having huge problems using this library without composer; but id love to somehow use it as itd be a huge painsaver :) I use this instead of the autoloader:

function __autoload($class_name) {
  require_once("OneSignal/Config.php");
  require_once("OneSignal/Devices.php");
  require_once("OneSignal/OneSignal.php");
}

Now i`m getting all kinds of errors from guzzle...

norkunas commented 8 years ago

If you want to install without composer then you need to load the guzzle library also ;)

mczernin commented 8 years ago

Thanks, somehow i didn't get it to work and used my VPS instead with composer installed :)