Questions

9,124 Laravel questions with worked answers.

DatabaseEloquent

laravel:how to use LOWERCASE Function in Eloquent Query?

Laravel: How to Use LOWERCASE Function in Eloquent Query Correctly?

10 July 2026 · Laravel Questions editorial team
FilesComposer

Laravel league/flysystem getting file URL with AWS S3

Managing File URLs in Laravel with league/flysystem and AWS S3 Adapter

10 July 2026 · Laravel Questions editorial team
RoutingErrors

Laravel 4 All Routes Except Home Result in 404 Error

Troubleshooting Laravel 4 Routing Issues: Fixing 404 Errors on Routes Except Home Route

10 July 2026 · Laravel Questions editorial team
QueuesConfiguration

Can I handle jobs timeout in Laravel?

Handling Timeout Issues in Laravel Jobs

10 July 2026 · Laravel Questions editorial team
ArtisanMigrations

Using Artisan::call() to pass non-option arguments

Efficiently Passing Non-Option Arguments with Artisan::call() in Laravel

10 July 2026 · Laravel Questions editorial team
RoutingBlade

How to return routes to views in laravel

Exploring Route Rendering in Laravel: The Correct Way to Load Views Using Routes

10 July 2026 · Laravel Questions editorial team
DatabaseEloquent

Return new id with DB::insert() in Laravel 4

Retrieving New IDs with DB::insert() in Laravel 4: A Comprehensive Guide

10 July 2026 · Laravel Questions editorial team
ErrorsFiles

file_put_contents , failed to open stream: No such file or directory Laravel

Troubleshooting fileputcontents Errors and No Such File or Directory Issues in Laravel

10 July 2026 · Laravel Questions editorial team
EloquentAPI

Laravel, How to use where conditions for relation's column?

Mastering Eloquent Relational Queries in Laravel for Complex Scenarios

10 July 2026 · Laravel Questions editorial team
ErrorsAPI

Laravel - Guzzle Request / cURL error 6: Could not resolve host

Understanding and Resolving Laravel Guzzle Request / cURL Errors When Resolving Host Issues

10 July 2026 · Laravel Questions editorial team
ArtisanAuthentication

Creating users table in Laravel

A Comprehensive Guide to Recreating Laravel's Users Table for Authentication

10 July 2026 · Laravel Questions editorial team
APIEmail

Sending POST request with Guzzle in Laravel

Sending POST Requests with Guzzle in Laravel for Zoho Mail API

10 July 2026 · Laravel Questions editorial team
MigrationsDatabase

How to delete all the rows in a table using Eloquent?

Efficiently Deleting Entire Tables Using Eloquent in Laravel

10 July 2026 · Laravel Questions editorial team
TestingPerformance

Test query execution time in laravel

A Comprehensive Guide on Testing Query Execution Time in Laravel

10 July 2026 · Laravel Questions editorial team

How do I sort a Laravel Collection by multiple properties with both asc and desc?

Sorting Laravel Collections by Multiple Properties with Ascending and Descending Order

10 July 2026 · Laravel Questions editorial team
EmailAuthentication

Expected response code 235 but got code 535 laravel send email using office365 smtp

Solving Common Issues with Office365 SMTP and Laravel Email Sending

10 July 2026 · Laravel Questions editorial team
AuthenticationRouting

laravel 8 auth Route [login] not defined

Solving Laravel 8 Auth Route [login] Not Defined Error for User Login and Restrictions

10 July 2026 · Laravel Questions editorial team
FilesValidation

Validate only alphanumeric characters in Laravel

Validate Only Alphanumeric Characters in Laravel: A Comprehensive Guide

10 July 2026 · Laravel Questions editorial team
RoutingAuthentication

Laravel 5 Auth logout not working

Troubleshooting Laravel 5 Auth Logout Issues

10 July 2026 · Laravel Questions editorial team
ConfigurationAPI

Laravel, how to get the environment value?

The Correct Approach to Retrieving Environment Values in Laravel Applications

9 July 2026 · Laravel Questions editorial team
ValidationAuthentication

Class 'App\Validator' not found laravel

Resolving Class 'App\Validator' Not Found Error in Laravel 5.1 Authentication Controller

9 July 2026 · Laravel Questions editorial team
RoutingErrors

ReflectionException - Middleware class does not exist Laravel 5.2

ReflectionException - Middleware Class Does Not Exist for Laravel 5.2 API Development

9 July 2026 · Laravel Questions editorial team
ComposerMigrations

Target class [Database\Seeders\UsersTableSeeder] does not exist

Target class [Database\Seeders\UsersTableSeeder] does not exist - A Comprehensive Guide to Resolving the Issue

9 July 2026 · Laravel Questions editorial team
ErrorsConfiguration

Laravel guzzle cURL error 6: Could not resolve host: http (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Understanding and Resolving Laravel Guzzle/cURL Errors: Decoding Curl Error 6 - Could Not Resolve Host 'http'

9 July 2026 · Laravel Questions editorial team

Our network