Latest questions in Laravel

+1 vote
1 answer

Error [PDOException]: Could not Find Driver in PostgreSQL?

Hii, I got this problem too. I have ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,880 points
28,573 views
+1 vote
1 answer

How to check if a record already exists in a laravel?

Hey, As a newbie it is most common ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,880 points
30,938 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,880 points
16,019 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,880 points
21,948 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,880 points
52,391 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,880 points
16,064 views
+2 votes
2 answers

How to add a new column to existing table of laravel in a migration?

You need do little modification in your ...READ MORE

Dec 10, 2020 in Laravel by anonymous
• 82,880 points
119,526 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,880 points
16,178 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,880 points
2,027 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,880 points
9,123 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,880 points
33,721 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,880 points
40,455 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,880 points
1,022 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,880 points
672 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,880 points
2,989 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,880 points
402 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,880 points
81,969 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,880 points
7,134 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,880 points
506 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,880 points
1,465 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,880 points
747 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,880 points
978 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,880 points
3,484 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,880 points
525 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,880 points
15,633 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,880 points
3,579 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,880 points
611 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,880 points
920 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,880 points
4,525 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,880 points
3,867 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
38,309 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,880 points
1,188 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,880 points
28,001 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,880 points
11,374 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,880 points
1,181 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,880 points
1,179 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,880 points
1,823 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,880 points
1,840 views
+1 vote
1 answer

What are named routes in Laravel and How can specify route names for controller actions?

Hey @kartik, Named routing is another amazing feature of ...READ MORE

Mar 23, 2020 in Laravel by Niroj
• 82,880 points
41,363 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,880 points
2,504 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,880 points
1,046 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,880 points
1,221 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,880 points
942 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,880 points
6,278 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,880 points
10,274 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,880 points
2,053 views
+1 vote
5 answers

How to get user's IP address in Laravel?

Hey, We can get the user's IP address ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,880 points
70,780 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,880 points
32,463 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,880 points
5,457 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,910 points
94,561 views