Yii Framework 34k+
  • News
  • Guide
  • API
  • Wiki
  • Forum
  • Community
    • Places
    • Members
    • Hall of Fame
    • Badges
  • More
    • Learn
    • Books
    • Resources
    • Develop
    • Download Yii
    • Extensions
    • Report an Issue
    • Report a Security Issue
    • Contribute to Yii
    • Donate
    • About
    • Release Cycle
    • License
    • Team
    • Official Logos and Design
Login

Yii Validator 2.4

Jul 7, 2025

Yii Validator version 2.4.0 was released. In this version:

  • Allow use callable rules into Nested
  • Support stringable objects as validation error messages
  • Fix WhenMissing not working in nested rules
  • Fix incorrect Nested rule processing within Each

Yii HTTP Runner 3.2

Jun 14, 2025

Minor version of Yii HTTP Runner were tagged. In this version made several changes and improvements.

  • Add HttpApplicationRunner::runAndGetResponse() method that returns response without emit.
  • Add $emitter, $useRemoveBodyByStatusMiddleware, $useContentLengthMiddleware and $useHeadRequestMiddleware parameters to HttpApplicationRunner constructor.
  • Minor refactor internal class RequestFactory: explicitly mark read-only properties and add type to parameter of create() method.
  • Don't remove Content-Length header if it is set and emit is called without body.

Yii Middleware 1.1

Jun 10, 2025

Minor version of Yii Middleware has been released. Here are the list of improvements and fixes included in the new version:

  • bumped PHP minimal version to 8.1 and refactor code to use new features;
  • changed PHP constraint in composer.json to 8.1 - 8.4;
  • bumped yiisoft/router version to ^4.0;
  • bumped yiisoft/session version to ^3.0;

Read more

Yii HTML 3.11

Jun 10, 2025

Version 3.11 of Yii HTML package is released. Here are the list of improvements and fixes included in the new version:

  • added classes for Code and Pre tags, Html::code() and Html::pre() methods;
  • added psalm type OptionsData in Select class;
  • explicitly marked parameters as nullable.

Yii HTTP Middleware 1.1

Jun 9, 2025

Minor version of Yii HTTP Middleware has been released.

This release adds RemoveBodyMiddleware, which removes the response body for specific HTTP status codes.

Yii HTTP Middleware 1.0

Jun 4, 2025

First stable version of Yii HTTP Middleware was released.

The package provides a collection of PSR-15 middleware focused on HTTP features:

  • ContentLengthMiddleware — manages the Content-Length header in the response;
  • CorsAllowAllMiddleware — adds CORS headers allowing any request origins in later requests;
  • ForceSecureConnectionMiddleware — redirects insecure requests from HTTP to HTTPS and adds headers necessary to enhance the security policy;
  • HeadRequestMiddleware — removes body from response for HEAD request;

Read more

Yii Caching Library 3.1

Jun 1, 2025

Version 3.1 of Yii Caching Library is released.

  • Added interface SerializerInterface for data serialization, and PhpSerializer implementation.
  • Made normalize() method static in CacheKeyNormalizer class.
  • Changed PHP constraint in composer.json to 8.1 - 8.4.
  • Raised the minimum PHP version to 8.1 and minor refactoring.

Read more

Yii Dependency Injection 1.4

May 30, 2025

Version 1.4 of Yii Dependency Injection container is released.

  • Added TagReference::id() method.
  • Changed PHP constraint in composer.json to 8.1 - 8.4.
  • Made BuildingException and NotFoundException friendly.
  • Made $config parameter in Container constructor optional.

Read more

Yii PSR Emitter 1.0

May 21, 2025

First release of Yii PSR Emitter package was done. It provides EmitterInterface that is responsible for sending PSR-7 HTTP responses as well as several implementations of the interface:

  • SapiEmitter - sends a response using standard PHP Server API;
  • FakeEmiiter - a fake emitter that does nothing, except for capturing response (useful for testing purposes).

Additionally, the package provides EmitterMiddleware PSR-15 middleware that can be used in an application to send a response by any EmitterInterface implementation.

General usage:

/** 
 * @var \Psr\Http\Message\ResponseInterface $response 
 */
$emitter = new \Yiisoft\PsrEmitter\SapiEmitter();
$emitter->emit($response);

Yii View 12.2

May 16, 2025

Version 12.2 of Yii View package has been released. Here are the list of improvements and fixes included in the new version:

  • allowed to pass Stringable objects to WebView::setTitle() method;
  • allowed using multiple theme paths in yiisoft/view → theme → pathMap package parameter.

Yii Runner RoadRunner 3.1

May 13, 2025

Minor version of Yii Runner RoadRunner package was released.

In this release:

  • added temporal support;
  • improved RoadRunnerGrpcApplicationRunner: added error handling, bootstrap loading, event checking, and DI container usage;
  • raised required version of yiisoft/error-handler to ^4.0;
  • changed PHP constraint in composer.json to 8.1 - 8.4;

Read more

Yii Validator 2.3

May 7, 2025

Version 2.3 of Yii Validator package has been released.

The Uuid validation rule was added in this version.

Yii Error Handler 4.1

Apr 18, 2025

Yii Error Handler package was updated with the following enhancements:

  • Add Yiisoft\ErrorHandler\ThrowableResponseFactory that provides a response for Throwable object with renderer provider usage.
  • Mark Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory as deprecated.
  • Set content type header in renderers.
  • Fix dark mode argument display issues.

Bootstrap5 1.0.0

Apr 13, 2025

First stable release of yiisoft/bootstrap5 package was tagged. The package presents Bootstrap 5 UI framework in terms of Yii widgets allowing easy usage in PHP templates, theming and more.

<?php
use Yiisoft\Bootstrap5\Carousel;
use Yiisoft\Bootstrap5\CarouselItem;
use Yiisoft\Html\Tag\Div;
use Yiisoft\Html\Tag\H2;
use Yiisoft\Html\Tag\P;
?>

<?= Carousel::widget()
    ->id('carouselExampleOnlyText')
    ->items(
        CarouselItem::to(
            Div::tag()
                ->addClass('bg-primary text-white p-5 text-center')
                ->addContent(
                    H2::tag()->content('Title 1'),
                    P::tag()->content('This is the first slide with text.'),
                ),
        ),
        CarouselItem::to(
            Div::tag()
                ->addClass('bg-success text-white p-5 text-center')
                ->addContent(
                    H2::tag()->content('Title 2'),
                    P::tag()->content('This is the second slide with text.'),
                ),
        ),
        CarouselItem::to(
            Div::tag()
                ->addClass('bg-danger text-white p-5 text-center')
                ->addContent(
                    H2::tag()->content('Title 3'),
                    P::tag()->content('This is the third slide with text.'),
                ),
        ),
    );

Check more examples in the package user guide.

Yii RBAC 2.1

Apr 4, 2025

Version 2.1 of Yii RBAC package is released.

  • Added optional $clock parameter to Manager constructor to get current time.
  • Changed PHP constraint in composer.json to 8.1 - 8.4.
  • Fixed bug when default roles were not checked in Manager::userHasPermission().

Yii HTML 3.10

Apr 3, 2025

Version 3.10 of Yii HTML package is released. Here are the list of improvements and fixes included in the new version:

  • made $content parameter optional in Button factories;
  • allowed to pass null to Select::value() method;
  • render loading attribute before src;
  • changed PHP constraint in composer.json to 8.1 - 8.4;

Read more

Yii Form 1.4

Mar 27, 2025

Version 1.4 of Yii Form package is released.

  • Change PHP constraint in composer.json to 8.1 - 8.4.
  • Improve "Bootstrap 5 Horizontal" theme for checkbox.
  • In PartsFeild class change $beforeInput and $afterInput properties' scope to protected.
  • Suppress all extra HTML for "Hidden" field.

Yii View 12.1

Mar 15, 2025

Version 12.1 of Yii View package has been released. Here are the list of improvements and fixes included in the new version:

  • changed PHP constraint in composer.json to 8.1 - 8.4;
  • allowed using ../ in the name of the view to refer to parent directory of the directory containing the view currently being rendered;
  • explicitly marked nullable parameters;
  • fixed exception message when relative path is used without currently rendered view.

Yii Hydrator 1.6

Mar 14, 2025

Version 1.6 of Yii Hydrator package has been released. Here are the list of improvements included in the new version:

  • added nested mapping support via new ObjectMap class;
  • changed PHP constraint in composer.json to 8.1 - 8.4;
  • improved psalm annotation in HydratorInterface::create() method.

Yii Assets 5.1

Mar 8, 2025

Version 5.1 of Yii Assets package was released. There a few changes:

  • improve static analyze annotations;
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0;
  • remove unnecessary array_filter call in AssetUtil::extractFilePathsForExport() method;
  • fix the nullable parameter declarations for compatibility with PHP 8.4.
  • «
  • 1
  • 2
  • 3
  • 4
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (48)
  • 2025 (92)
  • 2024 (80)
  • 2023 (90)
  • 2022 (82)
  • 2021 (101)
  • 2020 (64)
  • 2019 (75)
  • 2018 (32)
  • 2017 (35)
  • 2016 (30)
  • 2015 (9)
  • 2014 (6)
  • 2013 (11)
  • 2012 (14)
  • 2011 (10)
  • 2010 (10)
  • 2009 (23)
  • 2008 (5)

Popular Tags

  • yii3 387
  • extensions 233
  • release 109
  • yii2 74
  • debug 30
  • view 28
  • html 25
  • auth client 23
  • bootstrap 21
  • redis 20
  • Yii 1.1
  • Guide
  • API
  • Wiki
  • Yii 2
  • Guide
  • API
  • Wiki
  • Yii3
  • Guide
  • API
  • Cookbook
  • Terms of service
  • License
  • Contact Us
  • Supported by
  • Your donations
  • JetBrains logo
  • © 2008 - 2026 Yii (Website Source Code)