Support the ongoing development of Laravel.io →

4,606 Threads

posted 10 years ago

Help Laravel tree-grid

Prompt if not difficult simple example of how to combine (laravel 4) /* https://github.com/khan4019/...

0 Likes
0 Replies
posted 10 years ago

Raw mysql statement with bindings in Laravel

I'm trying to run a raw mysql statement to Laravel's query builder, to create a new MySQL user. Of c...

0 Likes
1 Replies
posted 10 years ago

HHVM DB insert cuts off decimal numbers

I asked this question on StackOverflow but I'm not getting any response there, so I'm posting it her...

0 Likes
0 Replies

Why do I have to loop through the results of this query?

Hello, I am querying an external-to-my-application database. I expect to get one result back, but w...

0 Likes
3 Replies
posted 10 years ago

Help with a query

I have a query of hotels from a country and from a state. I want to display 4 random hotels from eac...

0 Likes
3 Replies
posted 10 years ago

still have class not found error after composer dump-autoload

I have laravel 4.2 on localhost (open-server.ru) Today I deleted old tables from database and tried...

0 Likes
0 Replies

Change database information L4

Hello everybody. First, Sorry for my english. I'm using Laravel 4 and i want to change information d...

0 Likes
0 Replies

Auto-create database? Pros and cons

I just started working with Laravel recently but ended up forking the framework repository since I w...

0 Likes
0 Replies

Update() not working in MongoDB, not commiting any changes.

hi there i have a problem, so i will have to update a post and when i update it it should commit to...

0 Likes
0 Replies

Trying to get property of non-object

Hii I got this error when I view a user's profile Trying to get property of non-object Route: Route:...

0 Likes
6 Replies

Fluent: Attribute Accessors?

Hi, till now I have used eloquent but needed to switch to fluent for a special case. Now I have a st...

0 Likes
0 Replies
posted 10 years ago

Get users with first image of user if this have images

Hi every one, i need opinions about how to create this sql query for a best performance with query b...

0 Likes
0 Replies

Custom option element in From::select()

Hello, Is there a way to insert an <option> element in front of the list generated with: Form:...

0 Likes
0 Replies
posted 10 years ago

How to deal with seed in L5?

So, question is clear in general... My seed looks like this: PostsTableSeeder.php class PostsTableSe...

0 Likes
2 Replies

Pass value to model directly

Hi guys, I'm making web API for my app. I need to return JSON array of models with relations count....

0 Likes
0 Replies

How to retrieve serialized data in Form::model and populate array of Form::select with multiselect?

I have a serialized data saved in my database, it's a values from array of categories. I created thi...

0 Likes
0 Replies

[L5] Would someone please help me building this EAV trait?

I want to add an EAV model to my app. So I made these tables to do that: Schema::create('attributes'...

0 Likes
0 Replies

PayPal Payments Pro PHP Virtual Terminal POS LARAVEL

This web-based virtual terminal for PayPal Payments Pro can be used as a replacement for the one tha...

0 Likes
1 Replies

ManytoMany with HasMany

Is there way to chain ManytoMany queries with hasMany? Thanks $user=User::find(Auth::Id());...

0 Likes
0 Replies

Dynamic properties for many-to-one relationships?

Note I'm using Laravel 5.0 (should I post elsewhere for 5.0? It's not available in the Laravel Vers...

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.