How-to articles, tricks, and solutions about LARAVEL-5

ReflectionException: Class ClassName does not exist - Laravel

This error message indicates that Laravel is trying to use a class that it can't find.

Reloading .env variables without restarting server (Laravel 5, shared hosting)

In Laravel 5, you can use the php artisan config:cache command to compile all of your configuration into a single file, which will be loaded quickly by the framework.

SQLSTATE[42S22]: Column not found: 1054 Unknown column

It looks like you are encountering an error with the message "SQLSTATE[42S22]: Column not found: 1054 Unknown column".

Switch in Laravel 5 - Blade

In Laravel 5, the Blade templating engine provides a "switch" statement that allows you to compare a variable to multiple values and execute different code for each match.

Trying to get Laravel 5 email to work

To get Laravel 5's email functionality to work, you will need to configure your SMTP settings in the .env file, located in the root directory of your Laravel project.

1 2