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 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.

Yii Session 3.0

Mar 4, 2025

Version 3.0 of Yii Session package was released. There a few changes and fixes:

  • remove sid_length and sid_bits_per_character options;
  • mark SessionException as final;
  • change PHP constraint in composer.json to 8.0 - 8.4;
  • explicitly mark nullable parameters.

Yii Definitions 3.4

Mar 2, 2025

Minor version of Yii Definitions package was released.

  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
  • Bump minimal required PHP version to 8.1
  • Improve definition validation for readonly properties and properties with asymmetric visibility
  • Minor performance optimization: use FQN for PHP functions, remove unnecessary conditions

Read more

Yii Security 1.1

Feb 26, 2025

Version 1.1 of Yii Security package was released. There are some improvements and changes:

  • Bump minimal required PHP version to 8.1
  • Change PHP constraint in composer.json to 8.1 - 8.4
  • Use SensitiveParameter attribute to mark sensitive parameters
  • Mark readonly properties

Read more

Yii Router 4.0 and FastRoute Adapter 4.0

Feb 25, 2025

Major versions of Yii Router and Yii Routere FastRoute Adapter adapter package were released.

Yii Router

  • Change UrlGeneratorInterface contract: on URL generation all unused arguments must be moved to query parameters, if query parameter with such name doesn't exist
  • Add debug collector for yiisoft/yii-debug
  • Add $hash parameter to UrlGeneratorInterface methods: generate(), generateAbsolute() and generateFromCurrent()
  • Replace two RouteCollectorInterface methods addRoute() and addGroup() to single addRoute()

Read more

Yii User 2.3

Feb 25, 2025

Version 2.3 of Yii User package was released. There are some improvements and changes:

  • Add ApiAuth authentication method
  • Rename UserAuth to WebAuth, mark UserAuth as deprecated
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
  • Improve debug message "Unable to authenticate user…" in LogginMiddleware

Read more

Yii HTTP Runner 3.1

Feb 21, 2025

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

  • Add $temporaryErrorHandler parameter to HttpApplicationRunner constructor. Mark parameter $logger and method withTemporaryErrorHandler() as deprecated.
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0.
  • Raise the minimum PHP version to 8.1 and minor refactoring.
  • Explicitly mark nullable parameters.
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (44)
  • 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 384
  • extensions 233
  • release 109
  • yii2 73
  • 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)