Support the ongoing development of Laravel.io →

4,606 Threads

Database Table relationship

I have 4 tables namely - users, user_projects, project_rooms and user_wishlists their table columns...

0 Likes
0 Replies

Best way to do lots of query calculations?

I am creating a finance logging system for some club managers, it logs things like payments, attenda...

0 Likes
2 Replies

How to get inserted id of pivot when attach()

Hey. I need to get the ID of pivot when inserting related items in Many to Many. Ex. $pivot_id = $pe...

0 Likes
2 Replies
Solved

Suggest a good Chart Framework or package for Laravel

Hi Everyone.. I am developing laravel web application , now i want to display a daily work report gr...

0 Likes
2 Replies

JS issue with bllim laravel4-datatables-package

Hi, I am using bllim\laravel4-datatables-package using the tutorial in the below link, I am able to...

0 Likes
1 Replies

Having issue while trying to use model route binding

By using this code I'm trying to return the post from posts table which has the same id by {post}. R...

0 Likes
0 Replies

Need to download thousands of photos and reupload to Amazon S3. How?

I can download files to my local server and I can use the Amazon S3 package to reupload. However, i...

0 Likes
1 Replies

How and why to use the IoC container of Laravel

I've just written an article to shed some light on what the IoC container is and how to leverage it...

0 Likes
4 Replies

running package migration inside migration failed in prodction enviroment.

I have a migration file which contain running migration of a package: Artisan::call('migrate', array...

0 Likes
0 Replies

verify model attach

I am attaching model A to model B as per a defined Many-to-Many relationship. Such as $user->role...

0 Likes
1 Replies

Defining relationships among database tables with Eloquent

In this article we'll see how to define even complex relationships among database tables with Eloque...

0 Likes
0 Replies

orWhere('column', 'operator', 'value') does not handle NULL

I am using several scope functions in an eloquent model to retrieve data, and in one of the function...

0 Likes
1 Replies
posted 10 years ago

Wrapping eloquent relation object

Hi, How can I add new attribute to my new object before for example find but i dont want save that n...

0 Likes
0 Replies

PostgreSQL: using .pg_service.conf and .pgpass

Folks, I'd like to manage my PostgreSQL servers separately from Laravel, and to that end, I'd like t...

0 Likes
0 Replies

Working with Multiple Domains to Display Different Content

Depending on the domain id like to display a different php page. i.e. Domain1.com -> myapp.com/th...

0 Likes
2 Replies

ORM value '0' set to NULL on save

Hey there, Ive got a model with a value 0, when i DD the model the original and attributes value's a...

sglara liked this thread

1 Likes
5 Replies

Laravel 3.2.14 generates a wrong query

Hello! Today i needed to update an old script, look at that: Model: class Match extends Eloquent {...

0 Likes
2 Replies
posted 10 years ago

Need help with Importing CSV to Database

Hello, I'm using the following package to import a CSV file into the database http://csv.thephpleagu...

0 Likes
1 Replies
posted 10 years ago

How to make unique result from many JOIN and toArray()?

Hello my laravel is return this after many join: http://laravel.io/bin/524qR I want to this return t...

0 Likes
1 Replies

Migrate command is cancelled on Laravel 4.2.*?

Now i run php artisan migrate is Cancelled! Pl help me.

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.