Questions

9,124 Laravel questions with worked answers.

AuthenticationBlade

Laravel, Auth::user() in controller

Understanding Laravel Auth::user() in Controllers

1 July 2026 · Laravel Questions editorial team
DatabaseEloquent

Generate The Raw MySQL Query From Laravel Query Builder

Generate The Raw MySQL Query From Laravel Query Builder

1 July 2026 · Laravel Questions editorial team
RoutingValidation

delete confirmation in laravel

Adding Confirmation on Delete Actions in Laravel

1 July 2026 · Laravel Questions editorial team
EloquentAPI

Laravel get model attribute: difference between two methods

Laravel get model attribute: Difference between two methods

1 July 2026 · Laravel Questions editorial team
ValidationErrors

Laravel 5.3 Validation Fails when Variables are Null

Understanding Laravel 5.3 Validation Behavior with Null Values and Missing Parameters

1 July 2026 · Laravel Questions editorial team
ErrorsPerformance

How to avoid Maximum execution time of 60 seconds exceeded Laravel without change php.ini max_execution_time

You need to optimize your Laravel application's code for exporting large datasets, such as exporting over 100,000 data records. You've noticed that changing...

1 July 2026 · Laravel Questions editorial team
AuthenticationRouting

How to remove Auth in Laravel (PHP artisan)

Effortlessly Removing or Reinitializing Auth in Laravel (PHP artisan)

1 July 2026 · Laravel Questions editorial team
ArtisanConfiguration

How to get the application name in laravel?

Accessing the Laravel Application Name Programmatically

1 July 2026 · Laravel Questions editorial team
ComposerErrors

laravel composer update : the requested PHP extension dom is missing from your system

Troubleshooting "the requested PHP extension dom is missing from your system" during Laravel Composer update

1 July 2026 · Laravel Questions editorial team
DatabaseAPI

Laravel 5.2 - pluck() method returns array

Clarifying Laravel 5.2's pluck() Method Behavior Body: In the context of upgrading your project from Laravel 5.1 to 5.2, you might face some...

1 July 2026 · Laravel Questions editorial team
AuthenticationConfiguration

spatie/laravel-permission There is no permission named `edit_project` for guard `api`

Resolving Issues With spatie/laravel-permission and guard 'api'

1 July 2026 · Laravel Questions editorial team
ConfigurationEloquent

Carbon::now() is not using UTC

Understanding Timezones and Carbon::now() in Your Laravel Applications

1 July 2026 · Laravel Questions editorial team
ErrorsDatabase

Carbon.php The separation symbol could not be found Data missing

Troubleshooting Carbon.php Date Manipulation Errors in Laravel Projects

1 July 2026 · Laravel Questions editorial team
RoutingConfiguration

Ajax call Laravel Route

Properly Calling Laravel Routes or Controllers Using Ajax

1 July 2026 · Laravel Questions editorial team
PerformanceRouting

laravel filament very slow

Optimizing Laravel Filament Performance: Addressing Common Bottlenecks

1 July 2026 · Laravel Questions editorial team
FilesBlade

Laravel DomPdf Add Custom Font

Effortlessly Adding Custom Fonts to Laravel DomPDF Generations

1 July 2026 · Laravel Questions editorial team
DatabaseEloquent

How can I build a condition based query in Laravel?

Efficiently Building Conditional Queries in Laravel - A Practical Guide

1 July 2026 · Laravel Questions editorial team
EloquentDatabase

Laravel hasMany with where in a Polymorphic relationship

Laravel Polymorphic Relationships with hasMany and Custom Conditions

1 July 2026 · Laravel Questions editorial team
DeploymentErrors

Laravel routes not found after nginx install

Laravel Routes Not Found after Nginx Install: A Comprehensive Guide

1 July 2026 · Laravel Questions editorial team
ComposerErrors

Fresh Laravel 11 Filament install requirements could not be resolved to an installable set of packages

Fresh Laravel 11 Filament Install Requirements Could Not Be Resolved to an Installable Set of Packages

1 July 2026 · Laravel Questions editorial team
EloquentDatabase

How to insert multiple rows from a single query using eloquent/fluent

Efficiently Insert Multiple Rows from Single Query Using Eloquent/Fluent in Laravel

1 July 2026 · Laravel Questions editorial team
ArtisanErrors

laravel is not recognized as an internal or external command

Resolving 'Laravel is Not Recognized as an Internal or External Command' Issues

1 July 2026 · Laravel Questions editorial team
ErrorsDatabase

strpos(): Argument #1 ($haystack) must be of type string, array given

Understanding and Resolving "strpos(): Argument #1 ($haystack) must be of type string, array given" Error in Laravel Development - A Comprehensive...

1 July 2026 · Laravel Questions editorial team
Routing

Laravel delete button with HTML form

Adding Delete Button with HTML Form Confirmation for Users in Laravel

1 July 2026 · Laravel Questions editorial team

Our network