Questions tagged [laravel-6]

Laravel 6.0 is a past main version of the open-source PHP web framework created by Taylor Otwell. It was released on September 3, 2019. Use the [laravel] tag for general Laravel related questions.

Laravel 6.0 (LTS) continues the improvements made in Laravel 5.8 by introducing semantic versioning, compatibility with Laravel Vapor, improved authorization responses, job middleware, lazy collections, sub-query improvements, the extraction of frontend scaffolding to the laravel/ui Composer package, and a variety of other bug fixes and usability improvements.

What is new:

  • Semantic Versioning
  • Laravel Vapor Compatibility
  • Improved Exceptions Via Ignition
  • Improved Authorization Responses
  • Job Middleware
  • Lazy Collections
  • Eloquent Subquery Enhancements
  • Laravel UI

Resources:

1918 questions
0
votes
1 answer

how to config mail server in laravel 6?

i cant able to config mail server in laravel 6 my config file or fallowed .evn…
kealaxshan
  • 338
  • 2
  • 14
0
votes
1 answer

Load More option not working in Laravel AJAX

I'm trying to fetch blogs using AJAX function in Laravel. But it is not working, neither showing any error. What I want is to display a load more button from where more blogs will be loaded using AJAX request. Here is my front-end code:
Murtaza Ahmad
  • 267
  • 1
  • 5
  • 16
0
votes
4 answers

AS function not working in LARAVEL database statement

I want to join two tables in my Laravel project but any same field name in two tables i use. User table: id name gender Gender table: id name So i create join function in Controller like this: $account = DB::table('users') …
0
votes
0 answers

How to testing Laravel 6 using PHPSpec?

I already search it on Google for a while, and I found this article but the package that using for this article is not support Laravel 6, I want to use PHPSpec but I don't want to use older Laravel versions, so I already tried using my PHPSpec yml…
0
votes
1 answer

using laravel auth with different table

As previously asked I want to use different table(clients) for auth. I have allready edited some codes, but still I am not able to use auth method. I've tried too many variations but, still can't login with auth it after user…
tyasird
  • 926
  • 1
  • 12
  • 29
0
votes
1 answer

CRUD error in view when DB is empty in Laravel 6

I am trying to make a CRUD page using a single view. When I have data in the DB its displaying my table without any errors. However, if the DB is empty, its displays the error as the following. Undefined variable: Product Please help. What am I…
Ajay
  • 13
  • 4
0
votes
1 answer

Tailing a log within Laravel never executes Symfony Process callback

I'm trying to tail a log file using a console command to detect specific errors. However, the call back in the run(...) portion of my script is never called in the Symfony Process: use Illuminate\Console\Command; use…
eComEvo
  • 11,669
  • 26
  • 89
  • 145
0
votes
2 answers

Register view from laravel doesn't show and recognize the variable from my controller Laravel 6.0

I have a select in my view that shows the information i want to select, the view is the register from laravel,but i added other forms, the form with method POST that has the select doesn't recognize the variable from the controller, i did the same…
Hguedez
  • 97
  • 10
0
votes
0 answers

Laravel 6: Localization lost once page redirects

I am trying to set up localization on my website. However, when the user clicks on his preferred language, the default redirects function back() returns the default value of appLocale. Request use to change language:
0
votes
0 answers

Image upload not working on server (but working on local) in Laravel. Images not passed to controller

I'm having issues with an image uploading form in Laravel. On my localhost everything is working fine, but when i push to a server the images don't get passed to the controller. The form has the enctype="multipart/form-data" This is my form-field…
JasperVdV
  • 1
  • 1
0
votes
1 answer

Delete multiple data in laravel using checkbox and disabled button when buttons are not checked

I am facing a little problem with multiple delete in Laravel. Whenever I did not check a checkbox I want the button to be disabled and vice-versa. $(document).ready(function() { //$("#btn_del").click(function() { // …
mutairu
  • 67
  • 6
  • 16
0
votes
2 answers

Laravel foreign key constraint is incorrectly formed I have searched and cannot find the answer

class CreateMediaTable extends Migration { public function up() { Schema::create('media', function (Blueprint $table) { $table->increments('id'); $table->unsignedBigInteger('id_users'); …
0
votes
3 answers

How to search by condition

I need to output only those users who fall into the conditions. For example, if Yes, two dates from (01.01.2020) to (06.01.2020) and all users whose date is in this interval were displayed on the screen In my controller I'm doing this: $data_ot =…
v43523
  • 5
  • 2
0
votes
0 answers

Click on export link and check status code and file export or not?

Pleas any one help me I have spend too much time but no luck. When I perform test case for Export CSV file. I'm getting error as on below: There was 1 error: 1)…
Ijaz Ali
  • 128
  • 9
0
votes
1 answer

Multiple images upload not working Laravel 6

i´m trying to upload multiple image with laravel but only the last image was uploaded Controller $mobimage = new Mobimage; if ($request->has('image')){ $file = $request->file('image'); foreach ($file as $files){ …
user12652201
1 2 3
99
100