Support the ongoing development of Laravel.io →

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 11 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 11 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 11 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 11 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 11 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 11 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 11 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

One model and multiple tabels

Can one model manage multiple tabels? I have Image class and 3 type of users(for each user i have o...

0 Likes
1 Replies

Redirect::refresh() and session variable

Hello! For some reason this code causes redirect loop and I have no idea why. I know I could use Ses...

0 Likes
1 Replies
posted 11 years ago

Returning to Laravel Site with Variables

I am working on a PayPal system, and part of the PayPal process is returning back to the main site....

0 Likes
2 Replies
Solved

How to set the Primary Key and Foreign Key to string

I'm not using the auto increment for the id instead i'm using the 32 char unique id. So when i creat...

0 Likes
6 Replies
Solved

Multiple image upload strange error

When upload just one image, the validator works. But, When upload multiple images by enable input's...

0 Likes
3 Replies

Laravel Queue with AWS

Let's say i'm submitting multiple Job to Queue with the same Job name. But while one job is processe...

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.

© 2025 Laravel.io - All rights reserved.