Class ‘DB’ not found in Lumen

2023-10-03 13:48:41 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