Support the ongoing development of Laravel.io →

4,608 Threads

Eager loading with multiple relations

I wish to list a member with events he/she participates, and his/her collar numbers (idnumbers) for...

0 Likes
5 Replies
Solved

unit test General error: 1 Cannot add a NOT NULL column

Hi, be patience I'm quite new at unit test in laravel I've this migrations use Illuminate\Database\S...

0 Likes
0 Replies

Eloquent query relations.

Hi, can someone halp me with this problema. I want load events based on city_id stored in locations...

0 Likes
0 Replies

Eager loading error - Trying to get property of non-object

I'm trying to utilize the eager loading feature in laravel but it doesn't work as i expected. When i...

0 Likes
0 Replies

How to make search with pagination?

I want create a gallery. How can I do?

0 Likes
1 Replies

Help with ordering related models

I'm trying to order my data, by the "belongsTo" association. Model: Contact BelongsTo: Age...

0 Likes
0 Replies

Relationships issue (maybe me doing something wrong HELP!)

I have the following controller and models. Controller public function index($slug) { $d...

0 Likes
6 Replies
Solved

Build query with ckeckboxes values.

Is there a way to build a query on checkboxes values? I have 7 checkboxes, then only if a single che...

0 Likes
0 Replies
posted 10 years ago

Newbie to Laravel

I would like to simple database application with add delete modify and view functionality. Kindly su...

0 Likes
0 Replies

Retrieve data from lookup table

Hi there, I'm very new to Laravel and I'm creating a dummy blog application to help me understand th...

0 Likes
1 Replies

call to undefined method where()

Hi ! I've a problem with a fresh install of laravel 4 I make a migration files with some columns and...

0 Likes
1 Replies

How can I debug an eloquent result ?

Hi, How can I debug the result of this please ? $result = $this->hasMany('UserGrade'); count($res...

0 Likes
2 Replies
posted 11 years ago

Does anyone know how to connect to SQL Server using integrated authentication?

Hi, For context, the web server I'm using is IIS. I need to connect to SQL Server using Windows doma...

0 Likes
2 Replies

I can't connect to SQL Server 2008 R2

I just installed Laravel 4.0 and I'm trying to get it connected to my database. i've gone into my d...

0 Likes
4 Replies
posted 10 years ago

Migrate database without using the console

Hi all, I've now been using Laravel for a month so I'm actually quite new to everything. I like the...

0 Likes
3 Replies
Solved

Tracking Balances

Hello, Just looking for an opinion here, as I can't get my head round what seems to be a trivial pro...

0 Likes
1 Replies

in Laravel 4, i can't create data in another connection

the code can't create data UserToken::on('user')->create($token_data); result: {"error"...

0 Likes
0 Replies

use $query var as limit

select * from `prices` where `prices`.`item_id` in ('1', '2', '3') and `created_at` <= '2014-06-2...

0 Likes
0 Replies

Parameters in relationships referencing other relationships

I'm trying to limit the results from a relationship based on results in another relationship. Here's...

0 Likes
1 Replies

Printing out all tags (manytomany)

Hey guys. Still having a bit of a hard time learning the relationships ^^ So i wanna print out all t...

0 Likes
3 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.