[wiki] Aadhar Number Validator
In India have Aadhar number an we may need to valid it a input. So I created a validator for yii2 use yii\validators\Validator; class TAadharNumberValidator extends Validator { public $regExPattern =...
View Article[wiki] Convert JSON data to html table for display on page
I have a calls which help me display json directly in html table. Json2Table::formatContent($json); The code of Json2Table class is here ============================================ /** * Class convert...
View Article[wiki] GridView show sum of columns in footer.
GridView show sum of columns in footer `PHP use yii\grid\DataColumn; /** Sum of all the values in the column @author shiv / class TSumColumn extends DataColumn { public function...
View Article[wiki] How to Create and Use Validator Using Regular expressions
There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently...
View Article[wiki] Create Bootstrap5 based Image carousel with thumbnails
Use the following css styles for carousel to work as expected. .product_img_slide { padding: 100px 0 0 0; } .product_img_slide > .carousel-inner > .carousel-item { overflow: hidden; max-height:...
View Article[wiki] How to add a DropDown Language Picker (i18n) to the Menu
How To Add Internationalisation to the NavBar Menu in Yii2 ¶ Create the required Files Edit the /config/web.php file Edit all the files in the "views" folder and any sub folders Create the texts to be...
View Article[wiki] Integrating Yii3 packages into WordPress
Source code available Goal Approach Conclusion I was recently assigned with the task of integrating several extensive forms into a WordPress website. These forms comprised numerous fields, intricate...
View Article[wiki] Use Single Login Session on All Your Yii2 Application/Repository Under...
There are multiple blog that shows how to use seperate login for yii2 application but in this article i will show you how to use a single login screen for all your YII2 Advanced, YII2 Basic,...
View Article[extension] neoacevedo/yii2-material
Yii2 Material 3 ¶ Esta es una extensión primaria para [Yii framework 2.0](https://www.yiiframework.com). Encapsula componentes de [Material Design](https://m3.material.io/) en términos de Widgets Yii....
View Article[extension] andy87/yii2-file-crafter
Yii2 File Crafter Yii2 File Crafter - library for generating a many templates with minimal differences Content ¶ Setup Config Using Setup Requirements php >=8.0 Yii2 Composer Add package to project...
View Article[extension] fenomviewrenderer
Installation Usage Yii 2 extension for render views using Fenom template engine. Installation ¶composer require ensostudio/yii2-fenom Usage ¶You can add a custom template engine by reconfiguring view...
View Article[wiki] Yii3 - How to start
(draft) In Yii3 it is not as easy to start as it was with Yii2. You have to install and configure basic things on your own. Yii3 uses the modern approach based on independent packages and dependency...
View Article[extension] mspirkov/yii2-db
Yii2 DB 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.1" to the...
View Article[extension] mspirkov/yii2-web
Yii2 WEB 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.1" to...
View Article[extension] rft/yii2-searchable-depdrop
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...
View Article[extension] ldkafka/yii2-google-gemini
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...
View Article[extension] ldkafka/yii2-scheduler
yii2-scheduler ¶ Installation Usage Upgrade notes Release checklist Logging Cleanup and safety Compatibility License High-resolution cron-like job scheduler for Yii2 supporting: External cron mode...
View Article[wiki] Building Modern SPAs with Yii2 and Inertia.js
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...
View Article[extension] crenspire/yii2-react-starter
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...
View Article[extension] davidrnk/yii2-recurring-date
yii2-recurring-date ¶ Main Features Installation Usage JSON Format (persisted) Calculation of the Next Expiration Date Configuration and Customization Validations and UX Behavior Internationalization...
View Article[news] Yii RBAC DB 2.1
Yii RBAC Database storage 2.1.0 Yii RBAC DB version 2.1.0 was released. In this version: Adapt to Yii DB 2 Change PHP constraint in composer.json to 8.1 - 8.5 Refactor...
View Article[news] Yii3 web application template 1.1
Yii3 web application template version 1.1.0 was released. In this version: Add Makefile stop goal for stopping Docker containers Update structure in src/ directory Improve message for missing or...
View Article[news] Cycle ORM query adapter for yiisoft/data 1.0.0
Cycle ORM query adapter for yiisoft/data version 1.0.0 was released. There package provides Cycle ORM query adapter and writer for Yii Data. See package documentation for usage.
View Article[news] Yii3 API project template 1.1
Yii3 API project template version 1.1.0 was released. In this version: Add Makefile stop goal for stopping Docker containers (@samdark, Prune unused container and do not detach on make prod-deploy Add...
View Article[news] Yii Form Model 1.1
Yii Form Model version 1.1.0 was released. In this version: Add populateFromGet() and populateFromGetAndValidate() to FormHydrator Add PHP 8.5 support
View Article[news] Yii 1.1.32 is released
We are very pleased to announce that Yii Framework version 1.1.32 is released. You can download it at yiiframework.com/download/. Yii 1.1.32 adds support for PHP 8.4 and improves compatibility with PHP...
View Article[news] Redis extension 2.1.0 released
We are very pleased to announce the release of Redis extension version 2.1.0. This version fixes one PHP 8.4 compatibility issue that was found since last release, adds support for predis, changes...
View Article[news] Yii3 is released
It happened! Yii3 is officially released after years of intensive development and polishing. Yii was always following the same principles of being performant, flexible but with good defaults,...
View Article[news] Yii 2.0.54
We are pleased to announce the release of Yii Framework version 2.0.54. Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version. In this...
View Article[news] Queue extension 2.3.8 released
Version 2.3.8 of Queue extension for Yii 2 was released. This release fixes problems with SQS and Redis, prevents multiple execution of aborted jobs, and adds PHP 8.4 compatibility. Environment...
View Article[news] Yii View Twig Renderer 3.0
Yii Framework Twig Extension 3.0.0 Yii View Twig Renderer version 3.0.0 was released. In this version: Rename ViewRenderer to more understandable TwigTemplateRenderer Remove YiiTwigExtension Update...
View Article[extension] neoacevedo/yii2-chartjs-widget
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...
View Article[news] Yii Translator DB Message Storage 1.1.0
Yii Translator DB Message Storage version 1.1.0 was released. In this version: Raise the minimum PHP version to 8.1 Bump required yiisoft/db version to ^2.0 Change PHP constraint in composer.json to...
View Article[news] Yii Request Provider 1.3
Yii Request Provider version 1.3.0 was released. In this version: Add optional $request parameter to RequestProvider constructor Change PHP constraint in composer.json to 8.1 - 8.5
View Article[news] Yii Test Support 3.2
Supporting tools for testing version 3.2.0 was released. In this version added StringStream, a test-specific implementation of PSR-7 stream.
View Article[extension] chinaphp/yii2-ide-helper
Yii2 IDE Helper ¶ 功能特性 安装 使用 PhpStorm Meta 文件详解 PhpStorm 配置 生成文件示例 测试 贡献 许可证 致谢 为 Yii2 框架提供 PhpStorm 智能代码补全支持,灵感来源于 barryvdh/laravel-ide-helper 功能特性 ¶ ✅ 为 Yii2 组件生成完整的 PHPDoc 类型提示 ✅ 为 ActiveRecord...
View Article[news] Security lessons Yii learned thanks to GitHub Secure Open Source Fund
Last year Yii was chosen to be in session 3 of the GitHub Secure Open Source Fund as a project that impacts a significant part of the PHP landscape. We were in good company together with many wonderful...
View Article[news] Yii3 web application template 1.2.0
Yii3 web application template version 1.2.0 was released. In this version: Improved prod-deploy error handling so exact error is printed in case of rollback. Removed mutation testing since that's...
View Article[news] Yii3 support added to Tideways profiler
Yii3 support was added to Tideways profiler additionally to existing verison 1 and 2 support. Happy profiling!
View Article[news] Yii Data Response 2.2
Yii Data Response version 2.2.0 was released. In this version: Add DataStream Add FormatterInterface and implementations: HtmlFormatter, JsonFormatter, PlainTextFormatter, XmlFormatter Add...
View Article[news] Yii View Renderer 7.4
Minor version of Yii View Renderer were tagged. Introduce WebViewRenderer instead of ViewRenderer which is marked as deprecated. Explicitly import classes, functions, and constants in "use" section.
View Article[news] Yii Mailer 6.1
Yii Mailer version 6.1.0 was released. In this version: Add debug collector Explicitly import classes, functions, and constants in "use" section Remove unnecessary files from Composer package Add PHP...
View Article