Yii 2: The Fast, Secure and Professional PHP Framework
55 result(s) for “yii”
Приветствую! Это заключительная статья цикла о разработке web приложения с использованием фреймворков Yii и AngularJS. На данный момент у нас есть полностью работающее приложение, и остаётся добавить возможность перевода интерфейса на разные языки. Примечание. Ссылки на все пред…
В предыдущих статьях этого цикла мы практически завершили создание нашего web приложения (ссылки на предыдущие статьи вы найдёте внизу этой страницы). Мы можем создавать и редактировать объекты, отображать их на карте. Но для полноценной работы приложения нам необходимо создават…
One of my readers built a really cool and useful site using Yii 2 named www.archers-multitool.com. The site is written in German, but you can use the Google translate feature to read the text in your native language. I really like the implementation, it’s a super-clean mob…
On August 5, 2015, Yii 2.0.6 was released. You can check out the official release announcement here. This release has over 70 minor new features and bug fixes, including: better migrations syntax improvements in error handling more control over ActiveForm using javascript nested…
As of January 2025, “The Yii Book” is no longer maintained or commercially available. “The Yii Book” is now open source and can be downloaded from its GitHub repo. My sincerest thanks to everyone that supported the book over the years, and to the Yii comm…
It took forever, but the fifth and final update for version 2 of the Yii framework has been posted. This brings the book to version 2.0. After a lifetime and half, and probably beyond when it’s of much use to anyone, the book is officially complete. It took forever, and th…
Oh man… So before I get to the good news (another update to “The Yii Book”), I should answer the million-dollar question of “Why in the #$&*$%&(&% is it taking so long to finish this book?!?!” I’ll start by saying that, in gener…
I just posted the third update of the second edition of “The Yii Book“. This update brings this edition of the book to 365 pages, with two more revised chapters, getting to a total of 14, and completing Part II of the book. (I’m a little bit farther along than that, but th…
I’m about to go offline for a couple of days (for personal reasons) and was hoping to get an update out beforehand, but it doesn’t look like that is going to happen. (And, as is the way with such things, if you try to do something computer-y when you have no time to …
On Monday, November 2, 2015, I posted the second update of the second edition of “The Yii Book“. (I was hoping to blog about it here on Tuesday but…) This update brings the book to 307 pages, with four more revised chapters, bringing the total to 12. Specific r…
I just posted the first update for the second edition of “The Yii Book“, covering version 2 of the Yii framework. The release notes are lengthy, but a couple of quick “I’m aware” thoughts up front… I’m not pleased with the image quality …
We’ve added a new Yii3 demo application: https://github.com/yiisoft/demo-summarizer It started as a practical way to test yiisoft/queue together with AMQP and Redis/Valkey drivers in Yii3 application, but it turned into a useful demo on its own. The app lets you upload documents…
Yii HTML version 4.2.0 was released. In this version: Add beforeInput() and afterInput() methods to abstract BooleanInputTag, extended by Radio and Checkbox Add beforeCheckbox() and afterCheckbox() methods to CheckboxList, and beforeRadio() and afterRadio() methods to RadioList
Yii Runner RoadRunner version 3.2.0 was released. In this version: Add PHP 8.5 support Add spiral/roadrunner-http version ^v4.0.0 support
File validator SplFileInfo support in Image validator Other changes Yii Validator version 2.6.0 was released. This release adds a new File validator, extends Image validator input support, and includes translation, documentation, and internal code quality improvements. File vali…
Yii2 HTTP Client version 2.0.17 was released. In this version: Fixed TypeError: stream_get_contents(): Argument #1 ($stream) must be of type resource, bool given when PHP error reporting is turned off. Fixed the PHP 8.5 deprecation for the predefined locally scoped $http_respons…
Yii2 REDIS version 2.1.2 was released. In this version: Reverted the custom retry logic in PredisConnection after updating the predis package.
Yii2 REDIS version 2.1.1 was released. In this version: Fixed PHP 7.4 compatibility. Prevented an infinite loop in parseResponse() when fread() returns an empty string on a broken socket. Fixed fwrite(): supplied resource is not a valid stream. Removed PHP 7.3 support to align w…
Yii2 DEBUG version 2.1.28 was released. In this version: Silenced fetch errors. Added a null check before accessing panels. Applied Yii2 coding standards. Fixed generated coverage reports. Improved documentation and Composer scripts. Fixed README logo sources for proper color sc…
Yii HTML version 4.1.0 was released. In this version: Add test helper functions for controlling HTML ID generation
Yii Active Record version 1.1.0 was released. In this version: Clarify $relations parameter type in JoinWith::__construct() from array<string|Closure> to array<string|callable(ActiveQueryInterface):void> Optimize performance of ActiveRecord::get() method Remove check…
Yii RBAC PHP File Storage version 2.1.0 was released. In this version: Change PHP constraint in composer.json to 8.1 - 8.5 Bump yiisoft/rbac version to ^2.1 Apply code style fixes Explicitly import functions and constants in "use" section
We are pleased to announce the release of Yii Framework version 2.0.55. Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version. In this release: Security fix for CVE-2026-39850: internal variables in View::renderPhpFile()…
Yii Log Email Target version 4.2.0 was released. In this version: Change PHP constraint in composer.json to 8.1 - 8.5 Raise the minimum yiisoft/mailer version to ^6.0 and adapt the code accordingly Explicitly import classes in "use" section
Hey everyone, I’m working on a Yii 1.x–based ERP/POS system and recently implemented Redis caching for performance optimization. Thought I’d share my setup and a few lessons learned in case it helps someone still maintaining Yii 1.x apps. My Setup ¶'components'=>array( 'cache…
First stable version of FrankenPHP worker runner released. The runner allows using FrankenPHP in worker mode. In this mode application is initializer once per worker and is serving multiple reqests in this state resulting in signficiant performance gains. Since the application d…
Both web template and API template got 1.4.0 release which adds expicit Caddyfile configs for production and development Docker environments. These configs are in docker/Caddyfile for production image and docker/dev/Caddyfile for development image. After these are edited you nee…
Yii3 API project template version 1.3.0 was released. In this version: Do not write logs to file since that's not needed for both Docker and ./yii serve Add .env for development without Docker Add "service update paused" case for swarm deployment log parsing
Yii3 web application template version 1.3.0 was released. In this version: Replace deprecated PHP CS Fixer rule set @PER-CS2.0 with @PER-CS Do not write logs to file since that's not needed for both Docker and ./yii serve Allow symfony/console 8 Remove yiisoft/data-response depe…
Yii Proxy version 1.2 was released. This version adds support for PHP 8.5.
bestyii/yii2-tabler ¶ 产品定位 当前交付面 适合什么项目 和应用的边界 安装 快速开始 组件契约 资源策略 产品目标 稳定性与兼容原则 质量与可维护性 文档入口 选型结论 bestyii/yii2-tabler 是一个面向 Yii2 后台、运营平台和数据管理界面的 Tabler 组件包。 它不是单纯的 CSS 主题封装,而是把 Tabler 的视觉语言、常见后台部件和前端插件整合成可复用的 Yii2 Widget 与 Asset Bundle。 从产品目标上,它不应只是一个“Tabler 版补充包”,而应逐步成为 yiisoft/…
Yii2 IDE Helper ¶ 功能特性 安装 使用 PhpStorm Meta 文件详解 PhpStorm 配置 生成文件示例 测试 贡献 许可证 致谢 为 Yii2 框架提供 PhpStorm 智能代码补全支持,灵感来源于 barryvdh/laravel-ide-helper 功能特性 ¶ ✅ 为 Yii2 组件生成完整的 PHPDoc 类型提示 ✅ 为 ActiveRecord 模型生成属性和方法文档 ✅ 为 ActiveQuery 生成查询构建器提示 ✅ 生成 PhpStorm Meta 文件支持高级 IDE 特性(DI 容器、类型推断)…
ChartJs Widget ¶ Installation Usage Further Information Contributing Credits License Este paquete es un fork de 2amigos/yii2-chartjs-widget, el cual se encuentra en modo de solo lectura. Este fork fue creado para mantener vivo el paquete y continuar su mantenimiento. Renders a C…
yii2-recurring-date ¶ Main Features Installation Usage JSON Format (persisted) Calculation of the Next Expiration Date Configuration and Customization Validations and UX Behavior Internationalization (i18n) Tests Best Practices and Notes Contributing License A Yii2 extension/wid…
Yii2 - Modern Starter Kit Screenshots Requirements Installation Production Build Configuration Directory Structure Testing Yii2 - Modern Starter Kit is a modern, full-featured Yii 2 application template with React frontend powered by Inertia.js. The template includes a beautiful…
Introduction Installation Quick Setup Core Features Best Practices Common Patterns Troubleshooting Additional Resources Conclusion Introduction ¶Inertia.js is a modern approach to building single-page applications (SPAs) without the complexity of building an API. It allows you t…
yii2-scheduler ¶ Installation Usage Upgrade notes Release checklist Logging Monitoring Events Cleanup and safety Compatibility License High-resolution cron-like job scheduler for Yii2 supporting: External cron mode (invoke the scheduler from system cron, typically every minute) …
Yii2 Google Gemini Component (v2.0.0) ¶ What’s New in 2.0.0 Feature Summary Requirements Installation Quick Start Usage Examples Caching Modes Deep Dive Console Commands Configuration Options Supported Models (Snapshot) Canonical Response Format Helper Methods Cache Modes (Summa…
Searchable & Dependent Dropdown Widget for Yii2 ¶ Features Installation Usage Styling Features Configuration Options Recent Changes (v1.0.1) License A reusable Yii2 widget that provides a searchable dropdown list with support for dependent (cascading) dropdowns. It is design…
Yii2 Web Extension Installation Components A package of helper classes for working with web components in Yii2. Installation ¶Run php composer.phar require mspirkov/yii2-web or add "mspirkov/yii2-web": "^0.4" to the require section of your composer.json file. Components ¶ Cookie…
Yii2 DB Extension Installation Components A package of helper classes for working with databases in Yii2. Installation ¶Run php composer.phar require mspirkov/yii2-db or add "mspirkov/yii2-db": "^0.3" to the require section of your composer.json file. Components ¶ AbstractReposi…
Don't forget to like and subscribe :-) Intro ¶ Git Docker PSR Standards by Framework Interoperability Group Dependency injection + container 135 packages by Yii invoke() Theory around __invoke(): Hash annotations for class attributes Running the demo application Disclaimer Addin…
Here goes another minor release with some fixes and improvements. Codeception 1.8 now supports Laravel 4.1 and Yii2 and is tested for this frameworks on Travis. Also Laravel and Yii modules got some nice new actions for database interactions. Laravel, Yii2, and Phalcon framework…
Yii3 reCAPTCHA ¶ Requirements Installation Configuration Usage License Google reCAPTCHA v2 and v3 field + server-side validator for Yii3. Requirements ¶ PHP 8.3+ PSR-18 HTTP client PSR-17 request + stream factories Installation ¶composer require yiirocks/recaptcha A PSR-18 clien…
Voyti — Yii3 User Management Extension ¶ Table of Contents Features Requirements Quick Start Configuration Social Authentication Console commands Middleware RBAC Routes Testing Credits License войти /vɐjˈtʲi/ verb "to enter" or "to log in" Highly customizable and extensible user…
Yii Bootstrap 5 version 1.2.0 was released. In this version: Add tabIndex() method to Button widget Raise yiisoft/html version to ^3.13 || ^4.0 Fix Collapse re-encoding content already managed by Toggler
darktoolz/yii2-rexfilter ¶composer require darktoolz/yii2-rexfilter "@dev"
Yii2 Sentry ¶ Features Installation Configuration Built-in Collectors Usage How Collectors Work Creating a Custom Collector License Read this in other languages: English, Русский Complete Sentry integration for Yii2 framework: logging, tracing and profiling. Features ¶ Tracking …