How to fix Class ‘App\Http\Controllers\Auth’ not found

in Class ‘App\Http\Controllers\Auth’ not found Resolve Error for Go to YourCustomController after that add use Auth; at the top on the Controller Page. Display Error: Class ‘App\Http\Controllers\Auth’ not found -FatalErrorException in LoginController.php FatalErrorException in LoginController.php line 52: Class ‘App\Http\Controllers\Admin\Auth\Auth’ not found in LoginController.php line 52 Solution for “Class ‘App\Http\Controllers\Auth’ not found” use Auth; // Illuminate\Support\Facades\Auth … Read more How to fix Class ‘App\Http\Controllers\Auth’ not found

laravel print last query | Executed | Sql | php | tutorials

In this article, We will know you how to get and print last query in laravel eloquent. manytimes while working with laravel any project php framework you required to print last executed query for source code tetsing with debugging . print last query in laravel You can use laravel DB::getQueryLog() method to get all an … Read more laravel print last query | Executed | Sql | php | tutorials

Laravel dd And Dump – dd() vs var_dump() vs print_r()

Laravel provides 2 built-in Debugging techniques dd() and dump() for debugging. You can print these Debugging techniques on all the data collection instances. You can more read additional main official documentation for use a dump() and dd() Debugging techniques. dd stands for dump and die In this article show you latest new Laravel versions, when … Read more Laravel dd And Dump – dd() vs var_dump() vs print_r()

Laravel if statement multiple conditions – if condition in Laravel

I will learn how to use if condition in laravel select Db Raw Query with Conditional (@if, @else, @elseif, @isset, @empty, and @unless) Statements in Laravel. i can use mysql case when statement with db raw in laravel. If you want to use mysql method then you must have to use db raw method. in … Read more Laravel if statement multiple conditions – if condition in Laravel