Support the ongoing development of Laravel.io →

4,604 Threads

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
posted 8 years ago

Return array of models in model

Hi, in model Item I need in function all() to get array of different models (like groups, products,...

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

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

edit post with multiple categories checkbox using

how to use pivot table data related two tables like posts and categories. post-model.php public func...

0 Likes
4 Replies

Pass Values from Dropdown box using Ajax to Datatable

I'm trying to get a value from Dropdown List and send it to Laravel Controller via 'onChange' AJAX....

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

updating multiple table rows with one form

I have a form that I want to be able to update multiple rows at once. I have found online the method...

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

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

Read environment settings from mysql

Good day I am using Laravel 5 and I want to store some environment settings like timezone or url in...

0 Likes
0 Replies

Equivalent of FORCE INDEX FOR JOIN in Laravel Query Builder

Hey there! I'm looking for a way to use FORCE INDEX FOR JOIN clause using the Query Builder, Basical...

0 Likes
0 Replies

Loading many to many Model relationship

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

0 Likes
4 Replies

Change MySQL connection of Laravel migrate command

I'm using laravel 5 and I have problem with migrations. The migrate command has a --database option...

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

MYSQL 1364 ERROR

How to solve this error would be greatly appreciated. Have googled but answers don't work

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

What infrastructure or cloud you suggest for a SAAS with Laravel?

Hi, I would like to know what do you suggest for my next SAAS? Does AWS make the job? Or DigitalOce...

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.