Questions tagged [laravel-5.6]

Laravel 5.6 is a previous version of the open-source PHP web framework created by Taylor Otwell. It was released on February 7, 2018. Use it in addition to the laravel-5 tag if your question is specific to Laravel 5.6. Use the Laravel tag for general Laravel related questions.

Laravel 5.6 is a previous version of Laravel 5. It was released on February 7, 2018.

What is new:

  • Logging Improvements
  • Single Server Task Scheduling
  • Dynamic Rate Limiting
  • Broadcast Channel Classes
  • Model Serialization Improvements
  • Argon2 Password Hashing
  • Collision (Pretty CLI Output)
  • Bootstrap 4

Resources:

1859 questions
0
votes
0 answers

Multiple where through relation (not chained) Laravel Eloquent

This is a simple example of my situation: There is a model User that hasOne UserInfo. I want to retrieve a User via (where) different UserInfo columns, but I don't want all the wheres to be chained and specifically I don't want the ->get() being…
OurBG
  • 507
  • 1
  • 8
  • 22
0
votes
1 answer

Laravel Relations, Models and Migrations

I have a problem with my relations in laravel: I have two tables, Languages and Customers.The customer just can have 1 language. These are my migrations and Models: Migrations: Schema::create('tbl_customers', function (Blueprint $table){ …
Angel Mora
  • 43
  • 1
  • 5
0
votes
2 answers

Creating virtual host in ubuntu 18.04

I m trying to create virtual host in my ubuntu 18.04 for my laravel project and i had installed xampp as well but there is no any apache2 folder created in my /etc folder so that i cant find sites-available/ folder How to create virtual host in…
Vhndaree
  • 594
  • 1
  • 6
  • 20
0
votes
1 answer

Integrating Font Awesome in Laravel 5.6

I have a Laravel application. I downloaded an admin_template and integrated it into my app. I use Font Awesome with CDN in my admin-template, and it works no problem. In the front pages of the application, I can't use Font Awesome. I tried all the…
Ozal Zarbaliyev
  • 566
  • 6
  • 22
0
votes
1 answer

Laravel 5 Multiple relationships on same table with type

I've got two models: User & Address In Address, there is a type attribute which it is an Enum column which can be set either to SHIPPING or BILLING. User can have one Address in SHIPPING type and one in BILLING type. Relationship as below: public…
Park Lai
  • 313
  • 1
  • 3
  • 13
0
votes
1 answer

Laravel 5.6 controller post action methods truncates boolean value

I am making an AJAX post to Laravel controller like below.