Support the ongoing development of Laravel.io →

4,311 Threads

InsertGetId or Eloquent Model creation generating errors with Oracle

Hi, I'm developping an application with Oracle 10g as database. In ny code, i'm creation a model and...

0 Likes
0 Replies

Trying to get property of non-object

I have 2 table user and usedetail. Having relationship(1-to-many) and working fine. But problem is w...

0 Likes
6 Replies

trouble with morphOne

Hello everyone! I have a little problem with Polymorphic relationships en Laravel 5.2. For example,...

0 Likes
1 Replies

Many to many pivot table issue / show all users with their role

I want to get all users: $users=User::get(); After that i want to se for every of them the role. fo...

0 Likes
1 Replies

How to add a additional condition in a join using query builder laravel 5.3?

My regular query is like this : SELECT e.field1, b.field2, c.field3, d.field4, a.field5 , a.field6...

0 Likes
4 Replies

Laravel Scout Where Clause Not Working As Expected

Am implementing full-text search with Laravel Scout and TNTSearch, everything is working fine aside...

0 Likes
0 Replies

Symfony \ Component \ Debug \ Exception \ FatalErrorException Class 'lembar' not found

im using laravel 4.2... idk this problem, but in localhost is running when in hosting im get error ....

0 Likes
0 Replies

Define models relationships of a large existing database

I'm migrating a platform builded over Yii Framework 1.1.16 to Laravel 5.3. I would like to know if t...

0 Likes
0 Replies

want to execute command in controller

Hi , I want to execute below command , when someone submit the post mean store function of postcontr...

0 Likes
1 Replies

getting correct id on join

I'm wondering how to get the correct id on join without specifying the table or 'as' in the select p...

0 Likes
1 Replies

How do you compare many to many relationships? Laravel 5.3

I have a set of relationships that looks like this: The users and agencies have a lot of data store...

0 Likes
0 Replies

Random pagination cache

Hello, I am trying to cache a query which is ordered by RAND() in my category->questions() relati...

0 Likes
1 Replies

Avoid automatic database field shadowing when using ->join()

Dear Laravel community, coming from other Web frameworks like Django, Ruby on Rails, etc., I have fo...

0 Likes
4 Replies

Laravel 5 Q&A Database Design Help

Need suggestions for a Q&A database design that I will use to interview small business owners. B...

0 Likes
1 Replies

Human readable dates in the future

Hi, I've been using Carbon for a while (and it's great) but I'm wondering if there's a similar tool...

0 Likes
0 Replies

Eloquent Many to Many Queries returning empty or incorrect. Why? Laravel 5.3

So, this is weird. I have been implementing ontoMany relationships between users and various data se...

0 Likes
1 Replies
Solved

Loading many to many Model relationship

$this->user->with([ 'organisations', 'organisations.posts' ])->get() The result of this is...

0 Likes
4 Replies

Change the format of a date before saving?

I have a date that's being selected in a datepicker in the following format using AM/PM Y-m-d g:i A...

0 Likes
1 Replies

Special character problem

Hi! I've got this exception when I van to save Ő character into the database. What should I do? SQLS...

0 Likes
1 Replies

Multi-level dynamic menu (bootstrap)

Hello guys, i'm trying to create multi-level dynamic menu compatible with bootstrap3. I have already...

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