j42 / laravel-firebase

A Firebase port for Laravel (4.2+)
MIT License
51 stars 22 forks source link

is this have compatibility with L5.2 #26

Open phpwebdev opened 8 years ago

phpwebdev commented 8 years ago

I can't run this on L5.2 I follow install instruction but have

FatalErrorException in Client.php line 174: Class 'J42\LaravelFirebase\FirebaseToken' not found

Any idea

Varun-Bawa commented 8 years ago

Exactly, I am also facing the same error,

This is the composer.json I am using for the require element

"php": ">=5.5.9", "laravel/framework": "5.2.*", "laravelcollective/html": "^5.2"

I need to add firebase to my application, it is really important . If you can provide with the step by step installation along with an example it would be really great.

I have tried all sorts of possibilites

    'Firebase' => J42\LaravelFirebase\LaravelFirebaseFacade::class

  //  'Firebase' => J42\LaravelFirebase\LaravelFirebaseFacade**::class**

even adding this class also seems an error since you haven't mentioned it but nothing works without it.

So if you could please help me in this issue, then it would be really great.

Thanks