Support the ongoing development of Laravel.io →

4,302 Threads

Status updates by Friends

Hey fellow Laravel friends, I'm trying to build status updates like Facebook. But my question is how...

0 Likes
3 Replies
posted 10 years ago

Laravel. Secure pages for logged in users

Hi; I set up the authentication page and it seems to be working fine, would u please check confirm I...

0 Likes
4 Replies

Eloquent class all() function causing server error 500

So I have a table on my database, with an eloquent class allowing me to access it. So far everything...

0 Likes
0 Replies
posted 10 years ago

Is there eloquent model postLoad event?

Hi. I want to do something after table row loaded. Is there eloquent model postLoad event? Like doct...

0 Likes
0 Replies

whereIn error: Prepared statement contains too many placeholders

I have a simple query like this: $userIdLists = Users::whereIn('id', $idList)->select(array('id')...

0 Likes
2 Replies
Solved

Error while reading from array

I'm trying to make simple example of reading data from multiple sources, storing that data in associ...

0 Likes
1 Replies
Solved

Laravel is crazy

Long story short. I created a migration named "create_music_table" which have following fi...

0 Likes
3 Replies

using groupby for display

I have the following tables set up widgets table: id, name, widget_types_id widget_types table: id n...

0 Likes
1 Replies

Many to many relation needs refresh after attaching new records?

I am writing an app that administers tests to students. I have a model that represents a prototype o...

0 Likes
1 Replies

Retrieve Data from 2 Tables

$orders = DB::table('orders') ->join('order_item', function($join) { $join->on('orders.id', '=...

0 Likes
1 Replies

Why is this eagerly loaded relationship returning me an empty array?

I have the following tables: lessons - lessonID - lessonName .. sections - sectionID - lessonID ref...

0 Likes
0 Replies

mongodb and laravel4

Hello, I would like to know some suggestion about using using mongodb with laravel4. thanks.

0 Likes
1 Replies
Solved

Relationships in repositories

Hi! Recently I was using a bit of repositories and one thing I am really curious about is how to imp...

0 Likes
0 Replies

Fetching Big Data in Eloquent

Any recommendations on Out of memory issue in fetching the result in Eloquent? I added DB::disableQu...

0 Likes
3 Replies

Display 'Category' names of posts

Hi, I have 3 tables in my database listings (id, title) categories (id, name, parent_id) category_l...

0 Likes
1 Replies
Solved

Eloquent query database and return output with relationship.

Hi guys. I need to return a list of products that belong to X category, so I created an input parame...

0 Likes
4 Replies
posted 10 years ago

Eloquent Relationships Across Databases?

I have two database that are required to be used for our Corporate Intranet. Is it possible to crea...

0 Likes
1 Replies

Issue with Grabbing data

$data = array( 'name' => Input::get('name') 'itemCart' => Cart::conte...

0 Likes
1 Replies
Solved

How to get belongsToMany items when using AngularJs

Hello , I have belongsTo-hasMany relationship between my post and author model.My posts index route...

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