Latest questions in Laravel

0 votes
0 answers

What is async workflow in React Redux architecture?

With the help of code can i ...READ MORE

May 7 in Laravel by Ashutosh
• 33,350 points
116 views
0 votes
0 answers

What is the purpose of yield in Redux-Saga generators?

Can i know What is the purpose ...READ MORE

May 7 in Laravel by Ashutosh
• 33,350 points
122 views
0 votes
0 answers

What saga methods are commonly used in async workflows?

Can i know What saga methods are ...READ MORE

May 7 in Laravel by Ashutosh
• 33,350 points
137 views
0 votes
0 answers

What changes are required in reducers for async logic?

Can i know What changes are required ...READ MORE

Apr 29 in Laravel by Ashutosh
• 33,350 points
145 views
0 votes
0 answers

What are the differences between takeEvery and takeLatest?

Can i know What are the differences ...READ MORE

Apr 29 in Laravel by Ashutosh
• 33,350 points
159 views
0 votes
0 answers

What are generators in Redux-Saga and how do they work?

WIth the help of code can i ...READ MORE

Apr 29 in Laravel by Ashutosh
• 33,350 points
125 views
0 votes
0 answers

What are best practices for writing clean Redux-Saga code?

Can i know What are best practices ...READ MORE

Apr 29 in Laravel by Ashutosh
• 33,350 points
117 views
0 votes
0 answers

How to write an async action creator using Redux Thunk?

Can you tell me How to write ...READ MORE

Apr 29 in Laravel by Ashutosh
• 33,350 points
119 views
0 votes
0 answers

How to trigger async action creators in Redux?

Can i know How to trigger async ...READ MORE

Apr 29 in Laravel by Ashutosh
• 33,350 points
119 views
0 votes
1 answer

How do reducers handle async action types in Redux?

Reducers are inherently pure functions, which means ...READ MORE

Apr 24 in Laravel by anonymous
195 views
0 votes
1 answer

What is the purpose of the useRouteMatch hook in React Router v5, and how is it used?

The useRouteMatch hook provides access to the ...READ MORE

Apr 17 in Laravel by anonymous
230 views
0 votes
1 answer

What is the role of the Switch component in React Router v5, and how does it differ from Routes in v6?

Switch Component (React Router v5) Role: Renders the ...READ MORE

Apr 17 in Laravel by anonymous
217 views
0 votes
1 answer

What are the main differences between BrowserRouter and HashRouter in React Router?

Here's a precise comparison between BrowserRouter and HashRouter in React Router ...READ MORE

Apr 17 in Laravel by anonymous
208 views
0 votes
1 answer

How to develop a pipe that formats credit card numbers with masking?

To develop a pipe that formats and ...READ MORE

Apr 17 in Laravel by anonymous
167 views
0 votes
1 answer

How to get current financial year in PHP?

You can get the current financial year ...READ MORE

Mar 11 in Laravel by Sanvi
353 views
0 votes
1 answer

How can you resolve merge conflicts in Git?

To resolve merge conflicts in Git, follow ...READ MORE

Dec 17, 2024 in Laravel by Navya
289 views
0 votes
0 answers

Laravel 5.3 - TokenMismatchException in VerifyCsrfToken.php line 68:

How can I fix the title-related issue ...READ MORE

Jul 28, 2022 in Laravel by Kithuzzz
• 38,000 points
1,391 views
0 votes
0 answers

How to add keywords in meta tag?

I have a categories table and I ...READ MORE

Jun 20, 2022 in Laravel by Mahmoud

edited Mar 4 245 views
0 votes
0 answers

Dependent form layout in Laravel 8 with Ajax

I want to create a form layout ...READ MORE

Feb 13, 2022 in Laravel by amijanina

edited Mar 4 234 views
0 votes
0 answers

How can I insert multiple unchecked checkboxes' values into DB not one input with hidden input fields?

<input type="checkbox" name="correct_answer[]" class="form-check-input" multiple> <input type="text" name="option[]" class="form-control"> <input type="checkbox" name="correct_answer[]" class="form-check-input" multiple> <input type="text" name="option[]" class="form-control my-2"> <input type="checkbox" name="correct_answer[]" class="form-check-input" multiple> <input type="text" name="option[]" class="form-control"> <input type="checkbox" name="correct_answer[]" class="form-check-input" multiple> <input type="text" name="option[]" class="form-control"> I want to insert first and second ...READ MORE

May 23, 2021 in Laravel by anonymous

edited Mar 4 218 views
0 votes
1 answer

How can I obtain a list of all files in a public folder in laravel?

'disks' => [ ...READ MORE

Mar 15, 2022 in Laravel by dhd

edited Mar 5 4,508 views
0 votes
1 answer

Required_if laravel with multiple value

You just have to pass all the ...READ MORE

Dec 8, 2020 in Laravel by Niroj
• 82,800 points
10,634 views
0 votes
1 answer

How to get all the users except current logged in user in laravel eloquent?

Hello @kartik, You can get the current user's ...READ MORE

Dec 8, 2020 in Laravel by Niroj
• 82,800 points
8,084 views
0 votes
1 answer

TypeError: process.getuid is not a function”

Hello @kartik, Simply running npm install solved it for ...READ MORE

Dec 8, 2020 in Laravel by Niroj
• 82,800 points
1,775 views
0 votes
1 answer

How to order results of related models in laravel eloquent?

Hello @kartik, You have a few ways of ...READ MORE

Dec 8, 2020 in Laravel by Niroj
• 82,800 points
2,349 views
0 votes
1 answer

How to chunk results from a custom query in Laravel

Hello @kartik, Try something like this: <?php $max = 100; $total ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,800 points
2,629 views
0 votes
1 answer

How to check if a cookie is set in laravel?

Hello @kartik, You can change: @if (Cookie::get('cookiename') !== false) to @if ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,800 points
4,424 views
0 votes
1 answer

How to check if a user email already exist?

Hello @kartik, The validation feature built into Laravel ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,800 points
3,853 views
0 votes
1 answer

How to create migration from existing database in laravel?

Hello @kartik,  Laravel migration generator for your existing ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,800 points
2,989 views
0 votes
1 answer

How to insert raw data in mysql database in laravel?

Try this: Suppose you have the following tables ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,800 points
1,384 views
0 votes
1 answer

How to validate exact words in Laravel?

Hello, Try this code: // option one: 'in' takes ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
2,922 views
0 votes
1 answer

How to redirect to Login if user not logged in Laravel?

Hello @kartik, You can use it in middleware. ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
28,520 views
0 votes
1 answer

How to delete confirmation in laravel?

Hello @kartik, If this is your link: <a href="#" ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
1,148 views
0 votes
1 answer

How to add new value in collection laravel?

Hello @kartik, If you have a collection you ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
2,486 views
0 votes
1 answer

Error:Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected ',', expecting variable (T_VARIABLE)

Hii, Try this command: php -S localhost:8000 -t public Then ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
3,245 views
0 votes
1 answer

How can I pass parameter from Route to Filter in laravel?

Hii, Filters can be passed parameters, like the ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
3,335 views
0 votes
1 answer

In an Laravelcollective submit button how to add icon?

Hello @kartik, Try to use Form::button instead of ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
2,364 views
0 votes
1 answer

How can I change variables in the .env file dynamically in Laravel?

Hii, You can created the function below: public static ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
4,640 views
0 votes
1 answer

How to Find User in Laravel by Username?

Hello, using the model. just like this User::where('username','John') -> ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
15,506 views
0 votes
1 answer

How to rename the "label" to "Resource Test"?

Hello, You can override the static label method ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
1,260 views
0 votes
1 answer

How to configure Laravel mail.php to use built-in mail function?

Hello, To do the same as mail() PHP ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
3,531 views
0 votes
1 answer

Error:Laravel PackageManifest.php: Undefined index: name

Hello, Try this, it is worked for me, ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
25,594 views
0 votes
1 answer

How to make Laravel (Blade) text field read only?

Just add it as the 3rd argument: {{ ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
4,725 views
0 votes
1 answer

Laravel validation exists where NOT

You can use unique Example 'email' => 'unique:users,email ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
6,116 views
0 votes
1 answer

Laravel Eloquent Query Builder Default Where Condition

Hello, normally override newQuery() for this. newQuery() is the method that Eloquent ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
4,330 views
0 votes
1 answer

Error:Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'

Hello @kartik, your laravel connexion (config / database.php) ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
15,984 views
0 votes
1 answer

How can I find the current language in a Laravel view?

Hello @kartik, The cleanest way to know the ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,800 points
5,027 views
0 votes
1 answer

How to select all column name from a table in laravel?

You can get all columns name by ...READ MORE

Dec 2, 2020 in Laravel by Niroj
• 82,800 points
6,946 views
0 votes
1 answer

How to use paginate() with a having() clause when column does not exist in table

Hello @kartik, You can calculate the distance in ...READ MORE

Dec 2, 2020 in Laravel by Niroj
• 82,800 points
2,340 views
0 votes
1 answer

How to “Refresh” the User object in Laravel?

Hello @kartik, You can update the cache object ...READ MORE

Dec 2, 2020 in Laravel by Niroj
• 82,800 points
933 views