How-to articles, tricks, and solutions about LARAVEL-4
Displaying the Error Messages in Laravel after being Redirected from controller
In Laravel, you can use the withErrors method to pass error messages to a view after a redirect.
How to alias a table in Laravel Eloquent queries (or using Query Builder)?
To alias a table in a Laravel Eloquent query, you can use the as method on a DB facade.
Laravel Check If Related Model Exists
In Laravel, you can use the exists method on a relationship to check if it has any related models.