Trending questions in Laravel

0 votes
1 answer

Error:Uncaught ReferenceError: is not defined at HTMLAnchorElement.onclick

Hello, With my limited understanding, I tried to ...READ MORE

Apr 14 in Laravel by Niroj
• 22,110 points
1,107 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 in Laravel by Niroj
• 22,110 points
1,291 views
0 votes
1 answer

Error - 419 Sorry, your session has expired.Post request in Laravel?

Hello, case 1 : if you are running ...READ MORE

Mar 31 in Laravel by Niroj
• 22,110 points
1,050 views
0 votes
1 answer

How to access images inside public folder in laravel?

Hii, Just put your Images in Public Directory ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
745 views
0 votes
1 answer

How to load blade or php content into a view via ajax/jquery in laravel?

Hello @kartik, Assuming you're using jQuery... create a route ...READ MORE

Apr 14 in Laravel by Niroj
• 22,110 points
260 views
0 votes
1 answer
0 votes
1 answer

Error:file_put_contents(meta/services.json): failed to open stream: Permission denied?

Hello @kartik, Below steps helped me fix the ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
635 views
0 votes
1 answer

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

Hii @kartik, if you are using Swift Mailer: ...READ MORE

Mar 31 in Laravel by Niroj
• 22,110 points
727 views
0 votes
1 answer

How to set a new value for data-url attribute using jquery?

Hii, In your line: $(this).attr('data-url',value.url); are you sure this refers to the ...READ MORE

Apr 14 in Laravel by Niroj
• 22,110 points
46 views
0 votes
1 answer

Error: Exception file_put_contents failed to open stream: No such file or directory in Laravel?

Hello, You should typically run the php artisan config:cache command ...READ MORE

Mar 31 in Laravel by Niroj
• 22,110 points
644 views
0 votes
1 answer

Error “ETXTBSY: text file is busy” on npm install

Hello, 1.Make sure to update node to latest ...READ MORE

Apr 14 in Laravel by Niroj
• 22,110 points
32 views
0 votes
0 answers

Error:DataTables wont show results : “Ajax Error” and “500 Internal Server Error”

I'm new to Laravel PHP Framework and currently continue ...READ MORE

Apr 15 in Laravel by kartik
• 10,990 points
26 views
0 votes
1 answer

How to pass an array as a URL parameter?

Hello, Here you can try this out var myArray ...READ MORE

Apr 14 in Laravel by Niroj
• 22,110 points
29 views
0 votes
1 answer

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

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

Mar 26 in Laravel by Niroj
• 22,110 points
821 views
0 votes
1 answer

How to install all required PHP extensions for Laravel?

Hello, Laravel Server Requirements mentions that BCMath, Ctype, JSON, Mbstring, OpenSSL, PDO, Tokenizer and XML extensions are required. Most the ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
308 views
0 votes
1 answer

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

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

Mar 31 in Laravel by Niroj
• 22,110 points
545 views
0 votes
1 answer

Error:Class 'App\Http\Controllers\App\Model' not found?

Hello, In your code you're resolving the Tag class as ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
395 views
0 votes
1 answer

Error:Class '\App\User' not found in Laravel when changing the namespace in Laravel?

Hello @kartik Go to config/auth.php and change App\User:class ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
382 views
0 votes
1 answer

Error:Failed to open stream: Permission denied in Laravel?

Hii @kartik, To solve permissions issue on Laravel, ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
374 views
0 votes
1 answer

Error: “No scheduled commands are ready to run.” in Laravel?

Hello @kartik, Run php artisan and see if your commands ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
228 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 in Laravel by Niroj
• 22,110 points
525 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 in Laravel by Niroj
• 22,110 points
826 views
0 votes
1 answer

How to break a for each loop in laravel blade view?

Hello @kartik, By default, blade doesn't have @break and @continue which are ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
179 views
0 votes
1 answer

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

Hii @kartik, To create a migration, you may ...READ MORE

Mar 30 in Laravel by Niroj
• 22,110 points
480 views
0 votes
1 answer

How to connect to mysql with laravel?

Hello, Laravel makes it very easy to manage ...READ MORE

Apr 9 in Laravel by Niroj
• 22,110 points
41 views
0 votes
1 answer

How to get data from Laravel backend and display in Vue/Nuxt frontend

Hello, You have to use the package dotenv. Then ...READ MORE

Apr 8 in Laravel by Niroj
• 22,110 points
73 views
0 votes
1 answer

How to get all pending jobs in laravel queue on redis?

Hello @kartik, Here is the way I do ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
139 views
0 votes
1 answer

Constructor redirect is not working in Laravel?

Hello, vent with Illuminate\Routing\Redirector, laravel set redirect in ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
143 views
0 votes
1 answer

How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?

Hello, To create both of the created_at and updated_at columns: $t->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $t->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP on update ...READ MORE

Apr 2 in Laravel by Niroj
• 22,110 points
298 views
0 votes
1 answer

Error: laravel.log could not be opened?

Hello, Never use 777 for directories on your ...READ MORE

Apr 2 in Laravel by Niroj
• 22,110 points
296 views
0 votes
1 answer

Artisan migration error “Class 'Doctrine\\DBAL\\Driver\\PDOMySql\\Driver' not found”?

Hello @kartik, This message shows up if you ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
86 views
0 votes
1 answer

Where to register Facades & Service Providers in Lumen?

Hello, To register a facade with an alias, ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
89 views
0 votes
1 answer

Error:Laravel [InvalidArgumentException] Script “post-install-cmd” is not defined in this package

Hello @kartik, Do composer global update before laravel new <project-name> and you'll ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
52 views
0 votes
1 answer

How to execute Stored Procedure from Laravel?

Hello @kartik, You can try something like this DB::select('exec ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
185 views
0 votes
1 answer

How I can disable templates caching in development mode?

Hii @kartik, Create a new middleware, add to ...READ MORE

Apr 6 in Laravel by Niroj
• 22,110 points
21 views
0 votes
1 answer

How to place the ~/.composer/vendor/bin directory in your PATH?

Hello @kartik, To put this folder on the ...READ MORE

Apr 2 in Laravel by Niroj
• 22,110 points
193 views
0 votes
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 in Laravel by Niroj
• 22,110 points
262 views
0 votes
1 answer

Error:Composer Out of memory in Laravel?

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

Mar 30 in Laravel by Niroj
• 22,110 points
282 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 in Laravel by Niroj
• 22,110 points
204 views
0 votes
1 answer

How to import a mysql dump to a laravel migration?

Hello @kartik You can import dumps in Laravel ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
50 views
0 votes
1 answer

How to echo to console in Laravel and Artisan?

Hello @kartik, You can try this as this ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
32 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 in Laravel by Niroj
• 22,110 points
192 views
0 votes
1 answer

Why soft deleted entities appear in query results?

Hello @kartik, Sometimes, you will get the soft deleted table ...READ MORE

Apr 3 in Laravel by Niroj
• 22,110 points
16 views
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 in Laravel by Niroj
• 22,110 points
143 views
0 votes
1 answer

How to get a list of registered route paths in Laravel?

Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE

Mar 31 in Laravel by Niroj
• 22,110 points
111 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 in Laravel by Niroj
• 22,110 points
146 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 in Laravel by Niroj
• 22,110 points
145 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 in Laravel by Niroj
• 22,110 points
66 views
0 votes
1 answer

How can I install Laravel via Laravel Installer on Windows?

Hello, The PATH for Windows: I’ve found the location ...READ MORE

Mar 31 in Laravel by Niroj
• 22,110 points
45 views
0 votes
1 answer

Describe Fillable Attribute in a Laravel model?

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

Mar 27 in Laravel by Niroj
• 22,110 points
176 views