Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel Tutorials / February 26, 2016

MySQL customizations in Laravel 5.2

Matt Stauffer has a new tutorial out showing how you can set up MySQL in Laravel 5.2 for “strict” mode.

With this new feature, Laravel now has the ability to do three things: Disable “strict” mode, returning to the <= 5.6 behavior; enable “strict” mode, setting it to the 5.7 behavior; or customizing exactly which modes are enabled.

All these settings are configurable from your config/database file or can be set up to use .env variables.

This appeared first on Laravel News
Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.