Most voted questions in Laravel

0 votes
1 answer

Class ClassName does not exist:ReflectionException in Laravel?

Hello @lkartik, Perform a composer update, then composer dump-autoload. If the ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,680 points
2,165 views
0 votes
1 answer

How to include a sub-view in Blade templates in Laravel?

Hello @kartik, You can use the blade template ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,680 points
5,553 views
0 votes
1 answer

How do I set up phpMyAdmin on a Laravel Homestead box?

Hello, Step 1: Go to the phpMyAdmin website, download the latest ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,680 points
2,498 views
0 votes
2 answers

How to solve expected response code 220 but got code “”, with message “” in Laravel?

This problem can generally occur when you ...READ MORE

Dec 16, 2020 in Laravel by Gitika
• 65,870 points
14,062 views
0 votes
1 answer

Error:My Routes are Returning a 404 in Laravel?

Hii @kartik Routes Use them to define specific routes ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
8,210 views
0 votes
1 answer

How to get distinct values for non-key column fields in Laravel?

Hello @kartik In eloquent you can use this $users ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
10,051 views
0 votes
1 answer

Error: 'Unchecked runtime.lastError: The message port closed before a response was received' chrome issue?

Hii, I had same problem when responding on ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
18,891 views
0 votes
1 answer

How to set port for php artisan.php serve in Laravel?

Hii @kartik, When we use the php artisan serve ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
3,929 views
0 votes
1 answer

How can we Create Multiple Where Clause Query Using Laravel Eloquent?

Hii, You can use Conditions using Array: $users = User::where([ ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
7,257 views
0 votes
1 answer

Getting the query builder to output its raw SQL query as a String?

Hello, DB::QueryLog() only work after you execute the query $builder->get(). ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
679 views
0 votes
1 answer

Error:Composer Out of memory in Laravel?

Hey @kartik, This Error  happens in almost all ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
4,556 views
0 votes
1 answer

Explain Guarded Attribute in a Laravel model?

Hii, The guarded attribute is the opposite of ...READ MORE

Mar 27, 2020 in Laravel by Niroj
• 82,680 points
5,410 views
0 votes
2 answers

Describe Fillable Attribute in a Laravel model?

Hello @kartik In eloquent ORM, $fillable attribute is ...READ MORE

Mar 27, 2020 in Laravel by Niroj
• 82,680 points
7,892 views
0 votes
1 answer

What is url helper in Laravel?

Hello, The url helper may be used to ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
295 views
0 votes
1 answer

What do you mean by Rate Limiting?How can we access control in number of routes in an application ?

Hey kartik, Laravel includes a middleware to rate ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
135 views
0 votes
1 answer

What is the difference between Facades and Dependency Injection in Laravel?

Hello, The main differnece between them is explained ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
979 views
0 votes
1 answer

How can we Create custom name while uploading image using storage?

Hello, You also can do like this $ImgValue ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
86 views
0 votes
2 answers

Error:Laravel Installation failed, reverting ./composer.json to its original content.?

Hello, You need to install php zip extension. Something ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
12,692 views
0 votes
1 answer

Error:login in Laravel. How to solve?

Hey, First check if your model login has a field password in ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
1,669 views
0 votes
1 answer

How do you register service providers?

Hey,  It is one of the most easy ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
135 views
0 votes
1 answer

Explain Extending Bindings in Laravel? And where to extend the bind in laravel?

Hii,  The extend method allows the modification of ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
256 views
0 votes
1 answer

What is Tagging in Laravel?

Hii @kartik, Occasionally, you may need to resolve ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
214 views
0 votes
1 answer

Explain Contextual Binding and how does it work?

Hello, Sometimes you may have two classes that ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
329 views
0 votes
1 answer

How to enable or disable maintenance mode in Laravel?

Hii, We have to use the following artisan ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
1,541 views
0 votes
1 answer

How to upload files in laravel?

Hey @kartik, We have to call Facades in ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
110 views
0 votes
1 answer

What is with() in Laravel?

Hello, with() function is used to eager load in ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
6,418 views
0 votes
1 answer

How to make a constant and use globally in laravel?

Hii, You can create a constants.php page in config folder ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
514 views
0 votes
1 answer

How to use mail() in laravel?

Hello, Laravel provides a powerful and clean API ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
169 views
0 votes
1 answer

How to create custom validation rules with Laravel?

Hii @kartik, Follow are the steps to create ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
177 views
0 votes
1 answer

How to use Stored Procedures in Laravel?

Hey, To create a Stored Procedure you can ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
2,210 views
0 votes
1 answer

.How to turn off CSRF protection for a particular route in Laravel?

Hey, We can add that particular URL or ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,680 points
1,908 views
0 votes
1 answer

How to pass CSRF token with ajax request in Laravel?

Hey, In between head, tag put <meta name="csrf-token" ...READ MORE

Mar 24, 2020 in Laravel by Dey
9,416 views
0 votes
1 answer

What is dependency injection in Laravel?

hey, In software engineering, dependency injection is a ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
247 views
0 votes
1 answer

What is yield in Laravel and what is the use of yield?

Hii kartik, In Laravel, @yield is principally used to define ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
6,943 views
0 votes
1 answer

How to check request is ajax or not in Laravel?

Hello, Laravel allow use of their library method that ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
572 views
0 votes
1 answer

What is Lumen in Laravel?

Hey @kartik Lumen is PHP micro-framework that built on ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
420 views
0 votes
1 answer

What are traits in Laravel?

Hii, PHP Traits are simply a group of methods ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
155 views
0 votes
1 answer

How to enable query log in Laravel?

Hello, You can use simple function that is ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
338 views
0 votes
1 answer

What is database migration and how to create database migration in Laravel?

Hii, Migrations are like version control for your database, ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
740 views
0 votes
1 answer

How to install Laravel via composer?

Hello, This is simple you just need to ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
593 views
0 votes
1 answer

Explain validations in laravel and How to validate my application incoming data?

Hey @kartik, In Programming validations are a handy ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,680 points
221 views
0 votes
1 answer

How can we check the logged-in user info in Laravel?

Hey @kartik, yes we can keep track of ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
174 views
0 votes
1 answer

How can we create a record in Laravel using eloquent?

We need to create a new model ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
232 views
0 votes
1 answer

How can someone change the default database type in Laravel?

Laravel is configured to use MySQL by ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
1,694 views
0 votes
1 answer

What is the use of the Eloquent cursor() method in Laravel?

Hello, The cursor method allows us to iterate ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
3,236 views
0 votes
1 answer

How can we use the custom table in Laravel?

Hey, We can easily use custom table in ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
462 views
0 votes
5 answers

How to get user's IP address in Laravel?

Looking at the Laravel API: Request::ip(); Internally, it uses the getClientIps the ...READ MORE

Dec 15, 2020 in Laravel by Roshni
• 10,430 points
20,962 views
0 votes
1 answer

What do you meant by dd() function in Laravel?

Hey @kartik dd stands for "Dump and Die." Laravel's ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
5,025 views
0 votes
1 answer

What is service provider in Laravel?

Hey, Service providers can be defined as the ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
1,717 views
0 votes
2 answers

How to delete or clear caching in Laravel?

You can call an Artisan command outside ...READ MORE

Dec 16, 2020 in Laravel by Rajiv
• 8,880 points
37,131 views