Support the ongoing development of Laravel.io →

4,562 Threads

Lumen - createPdoConnection is too slowl

I have an Api Service using Lumen 8 with a quite a lot of traffic, somewhere around 350 requests/sec...

0 Likes 0 Replies

SQLServer and Laravel: Invalid Object Name error

I migrated my MySQL database to SQL Server 2019. I made the required configurations: php.ini extensi...

1 Likes 1 Replies

Error: Attempt to read property "cpf" on null - Laravel 9

I'm trying to view details of a property that I registered in the bank and I'm getting this error me...

0 Likes 9 Replies
Solved

Paginating an eager loaded relationship

This is a thought on old thread paginate-an-eager-loaded-relationship that I can't comment anymore,...

0 Likes 0 Replies

Feature request: pass arguments to relationship functions

Hi, I could really use the ability to set an argument to a relationship function from a method such...

0 Likes 0 Replies
posted 3 weeks ago

Base table or view not found: 1146 Table

I want to create invoice application and the ERD for this application shown below : 1.) Customer tab...

0 Likes 2 Replies
Solved

multiple database connection in laravel

in my project I need to used multiple database. i create new connection in database.php and in env f...

0 Likes 3 Replies

m:n

Hey, iam pretty new in laravel and today i have the following problem and need your help: i created...

0 Likes 1 Replies

How to define eloquent relationship using parental package

I'm using parental package by caleb in my laravel project There i've two models: Intake, Trainee (wh...

0 Likes 0 Replies

Laravel IOT MQTT Integration

Client - Laravel Server Communication using MQTT. I read about a Laravel package (https://github.com...

0 Likes 0 Replies

Storing and Querying Schedules

Hello Everyone! I'm working on a multi-store system and I would need to store efficently working day...

0 Likes 1 Replies
Solved

Impossible relationship

Hi there, I've this strange situation in my application. These are the tables: property id - int...

0 Likes 0 Replies

Unable to create onetomany relation in dbeeee

I have one to many relation: Client: (a client can have many contrcts) public function contracts()...

0 Likes 0 Replies

Model stop performing queries

It's been a couple of months that I am experiencing a weird behaviour on my laravel project. Randoml...

0 Likes 4 Replies

Get data from all tables from 1 table only with Relation

I want to do relation in laravel with this database, what I wanted to happen is I can access all the...

1 Likes 0 Replies

Laravel and Presto IntegrationLaraveldasdPresto

Hello, I'm working with Amazon Athena and it is based on Presto. I need a library that integrates La...

0 Likes 0 Replies

How can I set a custom schema in the SQL Server?

In the database settings in Laravel, we can choose a custom schema for the PostgreSQL database by sp...

0 Likes 0 Replies

How do I make a factory that creates proper random titles?

I am working on a Laravel 8 blogging application. I need a large numer of articles in order to test...

0 Likes 3 Replies
Solved

Laravel - MorphTo relation sometimes returns null

I have a polymorphic relationship between an Article model and 3 models (Company, Group & User)...

0 Likes 1 Replies
Solved

sorting in descending orderlara

Hey, I am trying to display the most recent survey results of a user, which are stored in a mysql da...

0 Likes 3 Replies
Solved

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.

© 2022 Laravel.io - All rights reserved.