Support the ongoing development of Laravel.io →

Why can't Eloquent use join clauses for eager loading?

class Cat extends Eloquent { public function user() { return $this->belongsTo('User'...

0 Likes
0 Replies

Eloquent relationships - getting user id..

Just a quick one, i'm struggling to do relationships correctly.. I have 2 tables 'users' and 'files'...

0 Likes
5 Replies
posted 10 years ago

Failed Job with Beanstalkd

I want to track failed jobs with beanstalkd. So far I've setup the failed_jobs table and created som...

0 Likes
3 Replies
posted 9 years ago

Laravel Ninja Needed

I have a web application that is developed and in beta. Looking for another Laravel developer to hel...

0 Likes
1 Replies

HAS_MANY relationship shows a Phantom IS NULL in query log and returns no rows

here is what I have CONTRACTOR and BID table class Contractor extends Eloquent { public function bid...

0 Likes
1 Replies
posted 9 years ago

how can i expire a session after special time?

hi I want to logout my user after one hour and I want to use session . for getting the login time i...

0 Likes
2 Replies

How to add data to many-to-many polymorphic relation?

I have an Org model and a Tag model. I want to associate tags with organizations. My database tables...

0 Likes
3 Replies
Solved

where clause with substruction?

i use to build a query like this: $query->where (col1 - col2) > 2 how can this be done with th...

0 Likes
2 Replies
posted 9 years ago

simple application tutorial using laravel ?

Hello thanks for the great work I am new to any php framework can someone tell me how i can setup it...

0 Likes
2 Replies

Populating a select (DropDown) from DB

Hi, I am having trouble with populating a dropdown with values from a relationship. The code below w...

0 Likes
3 Replies
Solved

how to retrieve data from database using table formatting

how to retrieve data from database using table formatting

0 Likes
3 Replies
Solved

Envoy/remote and Ubuntu default Apache setup

I'm normally used to working on cPanel servers, where vhosts and suphp are set up in such a way that...

0 Likes
0 Replies

how object work?

$from = Att::Find(Input::get('pos')); $to = Att::Find(Input::get('to'));...

0 Likes
3 Replies

Using the Google API

Hello, I'm relatively new to Laravel, I've researched this as thoroughly as I possibly can but unfor...

0 Likes
1 Replies

Comparing two solutions for making controllers thinner!

I just watched Jeffery way's Laracon pre-recorded presentation on Laracasts. There is a section on h...

0 Likes
5 Replies

408 Request Time-out

I think this is Chrome 35-related, as it has been giving me issues all day (have also had to repair...

0 Likes
1 Replies

How to set and get session by ajax request

Hi, I want to set a session value using session_put in a ajax request and then after that I want to...

0 Likes
1 Replies

Subfolder and namespaces

I've tried to create a nesting controller but I am not able to create a route for it. The documentat...

0 Likes
4 Replies

Multiple Laravel Apps

Hello everyone, I have a server on GoDaddy and I use this server like a portfolio. I want to add som...

0 Likes
5 Replies

addressing the parent table in the 2nd level nested query, SQL question

Hi, This one is completely SQL question. Assuming we have the next query: SELECT *, (SELECT COUNT(id...

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.

© 2024 Laravel.io - All rights reserved.