Questions
9,124 Laravel questions with worked answers.
Laravel, Auth::user() in controller
Title: Understanding Laravel Auth::user() in Controllers
Generate The Raw MySQL Query From Laravel Query Builder
Title: Generate The Raw MySQL Query From Laravel Query Builder
delete confirmation in laravel
Title: Adding Confirmation on Delete Actions in Laravel
Laravel get model attribute: difference between two methods
Title: Laravel get model attribute: Difference between two methods
Laravel 5.3 Validation Fails when Variables are Null
Title: Understanding Laravel 5.3 Validation Behavior with Null Values and Missing Parameters
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...
How to remove Auth in Laravel (PHP artisan)
Title: Effortlessly Removing or Reinitializing Auth in Laravel (PHP artisan)
How to get the application name in laravel?
Title: Accessing the Laravel Application Name Programmatically
laravel composer update : the requested PHP extension dom is missing from your system
Title: Troubleshooting "the requested PHP extension dom is missing from your system" during Laravel Composer update
Laravel 5.2 - pluck() method returns array
Title: 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...
spatie/laravel-permission There is no permission named `edit_project` for guard `api`
Title: Resolving Issues With spatie/laravel-permission and guard 'api'
Carbon::now() is not using UTC
Title: Understanding Timezones and Carbon::now() in Your Laravel Applications
Carbon.php The separation symbol could not be found Data missing
Title: Troubleshooting Carbon.php Date Manipulation Errors in Laravel Projects
Ajax call Laravel Route
Title: Properly Calling Laravel Routes or Controllers Using Ajax
laravel filament very slow
Title: Optimizing Laravel Filament Performance: Addressing Common Bottlenecks
Laravel DomPdf Add Custom Font
Title: Effortlessly Adding Custom Fonts to Laravel DomPDF Generations
How can I build a condition based query in Laravel?
Title: Efficiently Building Conditional Queries in Laravel - A Practical Guide
Laravel hasMany with where in a Polymorphic relationship
Title: Laravel Polymorphic Relationships with hasMany and Custom Conditions
Laravel routes not found after nginx install
Title: Laravel Routes Not Found after Nginx Install: A Comprehensive Guide
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
How to insert multiple rows from a single query using eloquent/fluent
Title: Efficiently Insert Multiple Rows from Single Query Using Eloquent/Fluent in Laravel
laravel is not recognized as an internal or external command
Title: Resolving 'Laravel is Not Recognized as an Internal or External Command' Issues
strpos(): Argument #1 ($haystack) must be of type string, array given
Title: Understanding and Resolving "strpos(): Argument #1 ($haystack) must be of type string, array given" Error in Laravel Development - A Comprehensive...
Laravel delete button with HTML form
Title: Adding Delete Button with HTML Form Confirmation for Users in Laravel