-
Laravel Pint runs CS Fixer to apply a clean code style.
Updating the Mixins keeps introducing code that does not agree with Pint.
The block starts with 2 empty lines which Pint removes,
The Pint ad…
-
### Describe the Bug
`[previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1390 Prepared statement contains too many placeholders at /var/www/bookstack/vendor/lar…
-
- Larastan Version: 2.10.8
- Laravel Version: 11.23.*
### Description
Starting from Laravel 11.23.* the following error
```
Parameter 1 $relations of method Illuminate\Database\Eloquent\Build…
-
Hello,
I have an issue with adding subscribers.
When a user tries to subscribe by the button "Subscribe", the page attempts to send the request but after 30 seconds, it fails. The same thing hap…
-
Hello, I am trying to come up with a way to access a categories root ancestor from a belongsToMany relationship. I have tried using a combination of `staudenmeir/eloquent-has-many-deep` and `staudenme…
-
# Differences between lazy loading and eager loading
In Laravel, eager loading and lazy loading are two different techniques for retrieving related data when working with Eloquent models. They are us…
-
- Laravel-mongodb Version: 5.1
- PHP Version: 8.2
- Laravel Version 11
- Database Driver & Version:
### Description:
How to apply for casting when there is embedded fields
### Steps to repr…
-
**Describe the bug**
Return types for some methods are not formed correctly when using relationships in Laravel models.
**To Reproduce**
```php
namespace App\Models;
use Illuminate\Databa…
-
- Larastan Version: v2.9.9
- Laravel Version: v11.23.5
### Description
I have a custom eloquent/model collection `ModelCollection` for all my models. `newCollection()` and genericness etc all w…
-
On 11.9.2 everything works.
On 11.10, the following error occurs when updating or saving media:
```
{
"message": "There is no conversion named `thumb`",
"exception": "Spatie\\MediaLibrary\\M…