Support the ongoing development of Laravel.io →

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
posted 10 years ago

Internal/Sub Request with Json post body

Trying to create internal post request using a json body instead of post vars.. but Request create w...

0 Likes
0 Replies
posted 10 years ago

Where to process huge data in Laravel/PHP application

We have PHP web application where the user is doing minimum data operations. This is developed using...

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

Append columns to the requested columns

OK, just need a quick help, hope you guys can help me out. What I need is to append some columns to...

0 Likes
4 Replies
posted 10 years ago

Eloquent Eager Loading

Hi, I have 3 models: User Post Comment Comment belongs to a user and a post. A user has many posts a...

0 Likes
4 Replies

DB join not working as expected

<code> /* DB Structure Table: roles id || name Table: permissions id || name || display_name J...

0 Likes
0 Replies

Transaction doesn't rollback in paticular models.

Hi. I'm replacing old system to new laravel based one. There are many Database-Servers and tables, a...

0 Likes
1 Replies
Solved
posted 10 years ago

Problem with seeding.

I'm getting the following message by my code. preg_replace() parameter mismatch pattern is a string...

0 Likes
1 Replies
posted 10 years ago

Persistent Header with iFrame

Hello All, I was wondering if anyone could give me some pointers on how I could create a header in m...

0 Likes
0 Replies
posted 10 years ago

testing controller with Route::controller()

i'm very new with testing and i decide start to learn with a project that recently starter but i hav...

0 Likes
1 Replies
posted 10 years ago

Sortable tables jquery

I have been trying to get this table sortable could use some help Master.blade <!DOCTYPE html>...

0 Likes
0 Replies
posted 10 years ago

Installing former bundle

I am following these instructions to install Former but no matter which way I try it won't work. htt...

0 Likes
5 Replies

Multi model form 1-to-many with "add more" button

Let's say we want to build this form: Team: Team Name: Team Country: Members: Member A name: Member...

0 Likes
0 Replies
posted 10 years ago

Simple route does not work! What's wrong...

Hi there, This sound stupid but I can't get it to work. routes.php Route::get('/ac', function(){ r...

0 Likes
4 Replies
Solved

Return collection with relations as json

Hello Laravel forum! I'm having trouble returning an eloquent collection with relations as json. Thi...

0 Likes
2 Replies

deployment bug with git pull and composer update

When you update your code and added a new package in the composer.json And and a provider to the app...

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