Class ‘DB’ not found in Lumen

2024-03-04 05:35:03 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