Laravel tip. Use the `File` rule facade for fluent image validation. Chain methods like `image()`, `min()`, `max()`, and `dimensions()` for cleaner, more readable validation rules compared to string-based syntax.
Laravel starter kits have just became "safer" with new added defaults.
- Enforcing immutable dates with CarbonImmutable - Not allowing destructive commands in production - Requiring safer passwords by default in production
Laravel Daily
Laravel AI SDK should be released *today*.
But if you wanna read about it earlier, the DOCS are already live since yesterday: github.com/laravel/docs/blob/12.x/ai-sdk.md
Of course, it's still early, and subject to change.
21 hours ago | [YT] | 143
View 4 replies
Laravel Daily
Laravel tip.
Use the `File` rule facade for fluent image validation.
Chain methods like `image()`, `min()`, `max()`, and `dimensions()` for cleaner, more readable validation rules compared to string-based syntax.
1 day ago | [YT] | 319
View 2 replies
Laravel Daily
Laravel starter kits have just became "safer" with new added defaults.
- Enforcing immutable dates with CarbonImmutable
- Not allowing destructive commands in production
- Requiring safer passwords by default in production
Read more in the changelog: laravel.com/docs/changelog
2 days ago | [YT] | 255
View 10 replies
Laravel Daily
Laravel tip.
I love Eloquent `when()` method for queries longer than 2-3 conditions.
Then it visually looks like ONE statement for filtering, instead of many if-statements.
Of course, alternative is to use external packages like `spatie/laravel-query-builder` but this approach is native.
1 week ago | [YT] | 438
View 25 replies
Laravel Daily
Laravel tip.
Instead of repeating password validation rules everywhere, use `Password::defaults()` in a service provider to set global password requirements.
Then reference it throughout your app (login/register/profile/API) with `Password::defaults()` for consistent validation.
1 week ago | [YT] | 410
View 5 replies
Laravel Daily
Laravel tip.
Laravel's `$request->date()` method automatically parses date strings from request input into Carbon instances.
You can specify format and timezone, making date handling in controllers much cleaner than manual parsing.
1 week ago | [YT] | 299
View 8 replies
Laravel Daily
NEW Laravel Boost v.2.0 with Skills support.
Review coming soon!
1 week ago | [YT] | 237
View 10 replies
Laravel Daily
LAST DAY of discount week!
40% off my THREE products:
1. Laravel Daily yearly/lifetime (auto-applied): laraveldaily.com/billing?mtm_campaign=youtube-post…
2. Filament Examples (coupon LIVEWIRE4) filamentexamples.com/?mtm_campaign=youtube-post-26…
3. Paid Substack of AI Coding Daily: direct link aicodingdaily.substack.com/subscribe?coupon=765338…
1 week ago | [YT] | 31
View 0 replies
Laravel Daily
Laravel tip.
Scheduled commands support `onSuccess()` and `onFailure()` lifecycle callbacks.
Handle success/failure scenarios directly - perfect for notifications, error tracking, or task-specific cleanup logic.
2 weeks ago | [YT] | 425
View 7 replies
Laravel Daily
Discount week!
40% off my THREE products:
1. Laravel Daily yearly/lifetime (auto-applied): laraveldaily.com/billing?mtm_campaign=youtube-post…
2. Filament Examples (coupon LIVEWIRE4) filamentexamples.com/?mtm_campaign=youtube-post-26…
3. Paid Substack of AI Coding Daily: direct link aicodingdaily.substack.com/subscribe?coupon=765338…
Ends Sunday, Jan 25.
2 weeks ago | [YT] | 27
View 0 replies
Load more