Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 5.2 supported? #461

Closed
f0und3r opened this issue Jan 29, 2016 · 5 comments
Closed

Laravel 5.2 supported? #461

f0und3r opened this issue Jan 29, 2016 · 5 comments

Comments

@f0und3r
Copy link

f0und3r commented Jan 29, 2016

Hello guys, actually laravel 5.2 supported?

PHP Fatal error: Call to undefined method Closure::__set_state() in /bootstrap/cache/config.php on line 543

@jfoliveira
Copy link

Could you post more details of how your environment/app is set up and which code block trigger this exception?

I'm running jwt-auth with Lumen 5.2 and it works fine, so chances are that Laravel 5.2 should is also supported.

@tdhsmith
Copy link
Contributor

Yes there's an issue with the config files because they relied on closures at one point but then Laravel officially dropped support. (#147 and many others)

If you're on develop you'll just have to republish your vendor config for jwt-auth. If you're on master, just copy the provider classnames from the develop branch's config.

@tymondesigns - Laravel 5.1/5.0 doesn't need the closures right? It was just 4.2? Cause then this should probably change before that 0.5 bugfix release...

@tymondesigns
Copy link
Owner

@tdhsmith oops, yea I forgot about this.. (it is laravel 5.1) I might make 0.5.8 now to remove closures from the config

@tdhsmith
Copy link
Contributor

Awesome! I just peeked at 0.5.7 and wondered that. 😛

@mtpultz
Copy link

mtpultz commented Feb 19, 2016

An example implementation for Laravel 5.2.x using the JWTGuard can be found at #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants