### Laravel Version
11.29.0
### PHP Version
8.3.11
### Database Driver & Version
_No response_
### Description
My Laravel project has the following directory structure:
```
├── app
│ ...
### Laravel Version
11.29.0
### PHP Version
8.3.6
### Database Driver & Version
mysql Ver 8.0.39-0ubuntu0.24.04.2 for Linux on x86_64 ((Ubuntu))
### Description
After installa...
I spend a whole afternoon designing an email template named `resources/views/customers/welcome.blade.php`.
Then I run the `php artisan make:mail --view=customers.welcome`.
And my completed te...
This PR introduces the `dropColumnsIfExists` method in `Builder` and `dropColumnIfExists` in `Blueprint`.
These methods add a convenient way to safely drop columns from a table if they exist, pr...
correct, and that's how this change works. because you're destructuring you're not assigning the result of the `partition` method, you're defining based on the `0` and `1` keys of the return value....
> and also doesn't really make any logical sense for how someone would want to use this
I'm not sure about that. See this example:
```php
[$adults, $kids] = User::all()->partition(fn ($user)...
the way `partition` currently works is it returns an `Eloquent\Collection` of `Eloquent\Collection`s, which is technically not allowed by the generic type hints defined by the class, and also doesn...
Not all the Exceptions extending `HttpException` will have a message (I am saying not all, instead of none as being too busy right now to test all of them).
For example:
```php
Route::get('t...
@marius-mcp how come?
The `Relation` class does not extend the `Builder` class.
And the `Illuminate\Support\Traits\ForwardsCalls` trait would only forward to the `Builder` class calls to meth...
Any update on this? I've tried couple of solutions for this problem from this issue but I can't make it work, my commands are still not discovered by Laravel.
The `ValidatePostSize` middleware ensures the POST is under the allowed size set in `php.ini`.
However the exception message is empty
```json
{
"message": ""
}
```
This PR adds a me...