Class ‘DB’ not found in Lumen

2019-10-22 11:50:31 Janny Laravel

Fixing Class 'DB' not found

By defaults Facades are not enabled in Lumen, To use DB Facade functions un-comment $app->withFacades(); line from your bootstrap/app.php file.

This post is submitted by one of our members. You may submit a new post here.

Related Tricks