Livewire 3.0 has been released, and minors Laravel and Symfony versions
Livewire is a huge package that will allow you to build interactive browser applications with PHP, for example you can implement a "Live User Presence" as we show in this newsletter, and more!
👨💻 Do you need a developer?
A Senior Developer As A Service. A fixed subscription for unlimited request. You can pause it, or cancel at any moment. A great opportunity to launch your SaaS or improve your product.
[Ad] https://developerjoy.co - Appear here
PHP
🆕 PHP 8.2.9 Released!
The PHP development team announces the immediate availability of PHP 8.2.9. This is a security release. All PHP 8.2 users are encouraged to upgrade to this version.
Laravel
🆕 Laravel 10.20
Couple new features this week brings us to Laravel 10.20. Here are the highlights:
Allow default values when merging values into a resource in #48073
Add
createOrFirst
toEloquent
in #47973Allow using
*Trashed()
methods onMorphTo
relationship in #47880Add ability to measure a single callable and get result in #48077
Add
assertJsonPathCanonicalizing
in #48117Configurable storage path via environment variable in #48115
Support providing subquery as value to
where
in #48116
You may review the full branch diff on GitHub for a complete list of changes.
📦 Livewire 3.0 has been release
The list of changes is huge, and the upgrade process is not easy, but worth it.
📚 How to implement “Live Time Presence” with Livewire 3.0
Interesting article about how can you show which users are reading an article in real-time, for example, with Livewire 3.0.
Symfony
🆕 6.3 changelog:
e4ada73: [Serializer] fix serialized name with groups during denormalization
bf4ea59: [Serializer] fix deserializing of nested snake_case attributes using CamelCaseToSnakeCaseNameConverter
469f1cc: [Serializer] fix deserializing object collection properties
02bd9da: [HtmlSanitizer] allow league/uri v7
897a054: [AssetMapper] improve the error message when a downloaded file is missing
cd5af8b: [Mailer] fix attachment base64 content string in MailerSendApiTransport
🆕 6.4 changelog:
3265ec2: [Clock] add $modifier argument to the now() helper
060ee11, 7f49e8d: [FrameworkBundle] deprecate not setting both framework.session.save_path and framework.session.handler_id at the same time
c64214c: [DependencyInjection] add #[AutowireLocator] attribute
f354c1e: [FrameworkBundle, Validator] deprecate annotation occurrences
8462874: [HttpKernel] fix checking for the runtime mode in DebugLoggerConfigurator
991d81e: [Validator] un-deprecate passing an annotation reader to AnnotationLoader
609ec6b: [Serializer] remove @SerializedPath annotation from test
c24906f: [AssetMapper] add command to download missing downloaded packages
🆕 7.0 changelog:
d906ee8: [Form] use never return type in form events
056c66e: [FrameworkBundle, Validator] remove remaining deprecations
d510239: [FrameworkBundle] remove compat code
📚 Beautiful Symfony Controllers With The “View” Event
Recently I embraced the power of the “View” kernel event offered by the framework. And it has been a lifesaver!
Articles & Misc
📚 I paid $299.00 to sponsor a newsletter [Results]
Is it worth the investment? I am going to share everything with you, we are going to see how much traffic, leads and sales I have generated.
📚 PHP Fibers: A practical example
While fibers are not threads, they can help make your code more efficient at doing multiple things more quickly, which might on the surface seem like threading (hence the confusion I think).