Class ‘DB’ not found in Lumen

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

Leave a Reply

Your email address will not be published. Required fields are marked *