Support the ongoing development of Laravel.io →

4,606 Threads

Must return Relation

Hello, In my application i've 3 Model, Professeur, Etudiant and Administrator A Professeur manage ma...

0 Likes
3 Replies

db:seed on SQL server

Has anyone tried running db:seed on SQL server? My file consists of multiple rows with IDs specified...

0 Likes
1 Replies

Laravel 5 MSSQL

Hi all, i'm relatively new using Laravel. I have a Laravel app in a Debian server and I need to conn...

0 Likes
1 Replies

How to use raw sql Pagination in Laravel5?

Hi , everyone. $sql = "SELECT *,earth_distance(ll_to_earth(team.lat, team.lng), ll_to_earth(23....

0 Likes
2 Replies
posted 10 years ago

query building : "complex" join

Hi, I'm on laravel 4.2, with query builder (for mysql) I try to make a request looking like this (I...

0 Likes
6 Replies
Solved
posted 10 years ago

How can I pass data to view to be manipulated by Javascript?

Hi all, I am trying to pass data to a view, but in a format where it can be manipulated client side...

0 Likes
12 Replies

Is this a pivot table or not?

I cannot figure out my Eloquent Relationships and it is driving me NUTS! I've basically decided I've...

0 Likes
2 Replies

MySQL DAYOFWEEK in DB::raw

I'm trying to get all services where the serviceDate is on a Monday, and am getting something wrong....

0 Likes
1 Replies
Solved

Connect SQLITE into Laravel5?

I already installed SQLITE under laravel5 directory (laravel5/database/sqlite) I can also create dat...

0 Likes
0 Replies

Scope And Relationship on Same Model

I have a table called payments which contains a field called Vendor ZIP. I have a table called 20150...

0 Likes
1 Replies

L 4.2 groupby and rows - controller-model or blade problem

Hi everybody, I am new to Laravel - but we have all got to start sometime. I have a bunch of rows. i...

0 Likes
2 Replies

Inheritance between models.

Hi. I am new to laravel framework. I need to know that how can we do inheritance between two models...

0 Likes
1 Replies
posted 10 years ago

Beginner Question--White screen of death when I change servers

I'm working on outputting info from a database into a page. When I do it on my local MAMP server, it...

0 Likes
6 Replies
posted 10 years ago

General Error: 1215 cannot add foreign key constraint (Making Migration in Laravel 5)

Hi there, I trying make a migrate in Laravel 5 with the relation (One to Many) in my table user and...

0 Likes
0 Replies
posted 10 years ago

Paginate with order_by

Hi all, i have an issue with getting portfolio images, This is my index method. public function inde...

0 Likes
2 Replies
Solved

Bidirectional eager loading on L5 with 3 models

I already typed my issue here if you prefer, with the important bit of each classes I have 3 models...

0 Likes
1 Replies

Php artisan migrate error?

Hi guys, when I type the command in bash below, php artisan migrate I got the error below exception...

0 Likes
2 Replies

Weird SQL error while trying to remove related object

I have Category model which has one to one relationship to itself. It obviously has id and parent_id...

0 Likes
4 Replies
Solved

are tables updatable by modyfing schema migration file?

Let's say I want to add a column to a table, I tried to modify the schema file inserting the new col...

0 Likes
1 Replies
posted 10 years ago

mysqlworkbench mwb file to schema builder files

is it possible to convert an mwb file created with mysqlworkbench to schema builder files? Some kind...

0 Likes
2 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.