Yii News 2024
Published on December 26, 2024 by Alexander Makarov
Hello everyone! It is Alex Makarov and Yii news. Really long time passed since last news issue. The reason for that is that we were too focused on Yii3, so basically no time left for properly putting news together. The work we did is huge.
Funding
Good news and bad news come along. Good news is that there are some funds going in and that we spend these well, getting more team time for focused development. Bad news is that Tidelift cut funding for PHP significantly and there are way fewer funds than what we can spend. For contributions from $10/month, we can add you to a closed direct Telegram channel where dev team is available.
Team
- Sergei Tigrov joined DB and Active Record development. He's excellent with databases and his progress is awesome.
- Sergei Predvoditelev took Yii3 release manager responsibility. Handling it well.
- New Yii2 team was formed
Yii 1
Further PHP compatibility enhancements and bug fixes were made to version 1 of the framework. PHP 8.3 is now officially supported.
Yii 2
Yii2 got some nice minor enhancements additionally to usual bug fixes:
- Enums support in query builder.
- Performance improvements.
- String helper methods to mask a string and retrieve a substring that lies between two strings.
- PHP 8.3 support.
- Yii 2.0.49
- Yii 2.0.50
- Yii 2.0.51
Extensions got updates as well:
- Debug 2.1.24 and Debug 2.1.25
- Queue 2.3.6 and Queue 2.3.7
- Auth Client 2.2.15 and Auth Client 2.2.16
- Symfony mailer 4.0
- Sphinx 2.0.16
- Twig 2.4.3 and Twig 2.5.0
From the other news:
- Larry Ullman posted the final revision of his Yii Book 2nd Edition about Yii2.
- Yii 2.2 is in development, slowly taking a good shape. The idea is to throw away everything deprecated and use Yii3 packages where possible.
Yii 3
- We're at 93%. Last news issue it was 74%. 105/113 packages released.
- Here's the current roadmap of what's left to be done.
๐ New package releases
ย
ย
- Proxy middleware โ helpful thing if you're behind a load balancer.
- DB Migration โ database migrations.
- Hydrator 1.0.0 โ filling objects with data.
- Yii Validating Hydrator 1.0 โ same as above but with validation.
- Yii Request Provider 1.0 โ get current PSR-7 request as a dependency.
- Yii Cycle 1.0 โ Cycle ORM integration.
- Requirements 1.0.0 โ simple requirements checker.
- Console application template 1.0.0 โ application template for console apps.
- Yii Form 1.0 โ widgets for dynamic forms generation.
- Yii Form Model 1.0 โ base form model as well as filling, displaying and validating it.
๐ Package updates
Together with Alexey Rogachev we've implemented weather API proxy for Twindo.ai using Yii3. It's in production and works well. There are more production projects in the wild made using released packages made by both Yii3 core team and community members.
Team members presented Yii3 at a few PHP conferences. Reception was good so far.
Initially we've planned to push the release out beginning of December but realized that if we do so, we'll basically burn out, and it's better to be a bit late but keep the tempo after release since we'll definitely need to address all the usual post-release feedback.
๐ข Call for help
You can help with:
- Code.
- Testing.
- Ideas.
- Documentation.
No contribution is too small.
๐ Our reading/using recommendations
- MetaStorm โ PhpStorm plugin by Yii3 core team member Dmitry Derepko
- Integrating Yii3 packages into WordPress
- A number of posts in my blog
- TDD's Missing Skill: Behavioral Composition
- Migrating from PER-CS v1.0 (PSR-12) to PER-CS v2.0
- Turn Any PHP Script into a Native Single-File Binary
- Array, classes and anonymous classes memory usage
- array_filter() versus Loop Condition Checks
- PHP - Using the PSR-20 Clock
- The architecture of todayโs LLM applications
- Demystifying LLMs: How they can do things they werenโt trained to do
- Advent 2023: PSR-15
- SQL Murder Mystery
- How to get composer to suggest users to install a dependency as a dev dependency
- Workerman adapters for many frameworks, including Yii
- Testing tips
- Web development with Yii3 Packages: Part 1 โ Database
- Web development with Yii3 Packages: Part 2 โ DI Container
- Performance Testing with K6: The New Top Dog for Load Testing and CI Pipelines
- htmx extension for Yii3
- Docker: Use Compose Watch
- A way to mock PHP internal functions with xepozz/internal-mocker
- Yii3 demo application built according to the architectural principles of DDD and hexagonal
- Processing One Billion Rows in PHP!
- Reducing PHP's CPU usage by nearly 40% by upgrading from Ubuntu 20.04 to 22.04
- The PHP Foundation discussions
- Visualize JSON into interactive graphs
- Optimizing PHP applications for performance
- Wilmer from Yii team released up-to-date fork of Foxy, composer-npm bridge
- Building PHP docker images in a better way with Wolfi-OS
- Vertical Slice Architecture Myths You Need To Know!
- Coupling and Cohesion
- Cognitive Load is what matters
- WeakMaps a hidden gem in PHP
- Practical Logging for PHP Applications with OpenTelemetry
- PHP library to interact with Telegram Bot API by Yii3 team member, Sergey Predvoditelev
- Boosting PHP performance: mastering OPcache optimization with Blackfire
- Unlock ChatGPTโs power with PHP: Your 1-hour journey to custom AI assistants
- An Asteroids-like game, running in a terminal, written in PHP
- The Configuration Complexity Clock
- PHP 8.4 Property Hooks: Can we get rid of getters/setters now? A benchmark
- Australia/Lord_Howe is the weirdest timezone
- To double quote or not, that's the question!
- List of PHP native interfaces, and their implementation
- Whatโs new in PHP 8.4 in terms of performance, debugging and operations
- NumPower - Extension for numerical calculations and scientific computing made for PHP
- Local Speech to Text in PHP made easy thanks to Whisper.cpp and OpenAI
- Migrating a production database without any downtime
โค๏ธ Thank you!
I would like to thank all backers and contributors for making Yii 3 possible. We are moving it forward together!
- CraftCMS - Great OpenSource Yii2-powered CMS.
- Icons8: free icons, photos, illustrations, and music - Open Collective - We provide the neat icons, photos, illustrations, and music. Developers, use our API to insert all the content we have into your apps.
- Onetwist Software - High-quality software development.
- HumHub - OpenSource team communication solution.
- dmstr - Docker-based cloud solutions.
- DudeSquare B.V. - Open Collective.
- Skillshare โ Online classes platform.
- knpb media
- dataskills
We would like to ask for the support of the entire Yii Framework community to ensure we have the necessary funds to continue contributing to open source, including Yii1, Yii2, and Yii3. This will undoubtedly allow us to dedicate more hours to the development of Yii3 and the maintenance of Yii1 and Yii2. Together, we can achieve it.
๐ Special thanks goes to all Yii3 code contributors. I won't provide a list this time since it will take ages to scroll, and I'm pretty happy it is like that. Keep the contributions going. You're making a difference.
๐ Merry Christmas and Happy New Year ๐
โค๏ธย ย 1๐ย ย 1๐๏ธย ย 1๐ย ย 1