Support the ongoing development of Laravel.io →

4,606 Threads

Problem with eager loading with pivot table and specified ids

I have User, Tag, Offer models. Every Offer can have multiple Tags and they are written in TaggedAs...

0 Likes
8 Replies
Solved

Is there a better way to retrieve unassigned relationship models?

Hello, I am trying to get a list of all unassigned addresses to be displayed in a combo-box for the...

0 Likes
2 Replies
Solved

Undefined property: Illuminate\Database\Eloquent\Collection::$item

hi every body i have problem with viewing database my User class has public function item() { retu...

0 Likes
4 Replies

Get subcategories if they available in categories

I'm retrieving data from two tables which are categories and subcategories. categories cat_id contai...

0 Likes
0 Replies

Paginator won't work standalone

I'm using standalone Illuminate/Database 5.0. The docs say to enable pagination all you need is $all...

0 Likes
2 Replies

How to retrive data from database to a treeview using laravel

My requirement is to construct the treeview using database values.(I'm not using eloquent here. Inst...

0 Likes
1 Replies
Solved

problem with migration

hi i have problem with migration when i use php artisan migrate show below error : [Illuminate\Datab...

0 Likes
5 Replies

I can't access data in array using Input

The doc tells: When working on forms with "array" inputs, you may use dot notation to acce...

0 Likes
1 Replies
posted 10 years ago

Any free vmware backup solutions?

As per the title really, i need some way of backing up VMware virtual machines without having to shu...

0 Likes
2 Replies

orderBy doesn't work.

Hello guys, I'm trying to order mysql results but orderBy() doesn't work. Here is the code: $orders...

0 Likes
4 Replies
Solved

How do I query using a junction table?

Hi, I am new to laravel to I am probably missing something very obvious but I was hoping someone cou...

0 Likes
1 Replies
Solved

Laravel + AngularJS Generator

Hi guys, I'm working on a generator for Laravel and AngularJS. The idea came from scaffolders, which...

0 Likes
1 Replies

how to gettting different queries (models) results with one statement?

Sorry if my title is confusing, not sure how to explain this within a line. Let's say I have a table...

0 Likes
0 Replies

Get Children order_by

Hi my dear laravel buddies, I have an issues with the children category with order_by query, i'm usi...

0 Likes
0 Replies

Timestamp of DB queries within a transaction

I'm using DB::transaction and SoftDeletes. For those unfamiliar with Laravel the SoftDelete function...

0 Likes
2 Replies

Using existing MySQL database with Laravel 5.1

Hi there a Laravel newbie building a Laravel 5.1- based app which needs to talk to an existing, popu...

0 Likes
2 Replies

what is the best way to let the user query DB and display results in the same view as the form (ajax? how?)

I have a form the user can use to retrieve data from the DB, then I want to update the same page to...

0 Likes
0 Replies

User creation and Authentication in Laravel 5.1

I am trying to make a simple user login and registration in laravel 5.1. It seems MUCH easier to do...

0 Likes
1 Replies

How to get the data-* value of the selected option

Greetings! I don't know if it's possible or not, but I'd like to retrieve something from a selected...

0 Likes
3 Replies

Laravel Not Displaying Uploaded Images

Hi guys, I am trying to create a laravel site that allows one to upload an image, and then view the...

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