laravel-oauth2 icon indicating copy to clipboard operation
laravel-oauth2 copied to clipboard

Update README.md

Open Ryuske opened this issue 10 years ago • 3 comments

Wrote an example that is an actual controller, using proper Laravel4 techniques.

Just expounded upon the previous example since I had to change it a fair bit for Laravel 4 standards

Ryuske avatar Apr 04 '14 20:04 Ryuske

I just updated my first example to now include database implementation.

Ryuske avatar Apr 04 '14 20:04 Ryuske

Please make sure you follow PSR-2.

andreascreten avatar Apr 08 '14 07:04 andreascreten

That was just left over from the way I did it. On my platform you're redirected to a different place if you are registering vs. logging in. However there is no reason it can't be firstOrCreate.

As far as using the query builder, the way I did it was just personal preference. I don't really like multi-line functions, or really long lines. So that was purely just preference.

You could change both of those things, but it doesn't really change the flow that much.

Ryuske avatar Apr 08 '14 17:04 Ryuske