norkunas / onesignal-php-api

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

Laravel 5.1 Integration #30

Closed sha-phpnerd closed 8 years ago

sha-phpnerd commented 8 years ago

It is working standalone.

Can I use this with laravel ? it is to mention that , I've tried with Laravel but it doesn't install all requirements like standalone for that reason it returns error with : Undefined namespace Common and MessageFactory

use Http\Client\Common\HttpMethodsClient as HttpClient; use Http\Message\MessageFactory\GuzzleMessageFactory;

If, then please write a note for me...

Thank You

norkunas commented 8 years ago

@shahin88 hello,

Did you install the library with 1.0.x-dev version? If not then you should use as written in https://github.com/norkunas/onesignal-php-api/tree/0.1

sha-phpnerd commented 8 years ago

WOW; What an efficient solution. Thank you so much. :+1:

norkunas commented 8 years ago

No problem. :wink: