(PHP) Eloquent doodles for Laravel
Different ways of getting a single model and checking if it’s there.
Different ways of getting a single model and checking if it’s there.
To protect routes, in Laravel, from unauthorized visits you can use route groups. All routes in group will be affected by the auth before filter.
Getting OSX to install Laravel properly is a minor nightmare. Here are some good instructions on how to get it to use MAMP php instead of the broken default one that comes with OSX. https://gist.github.com/irazasyed/5987693