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

Data Response 1.0.0

Jun 21, 2021

First version of yiisoft/data-response pacakge was released.

The package allows responding with data that is then automatically converted into PSR-7 response using one of the formatters such as JSON or XML.

use Yiisoft\DataResponse\DataResponseFactory;
use Yiisoft\DataResponse\Formatter\JsonDataResponseFormatter;

Read more

RateLimiter 1.0.0

Jun 7, 2021

First version of yiisoft/rate-limiter package was released.

RateLimiter helps to prevent abuse by limiting the number of requests that could be me made consequentially.

For example, you may want to limit the API usage of each user to be at most 100 API calls within a period of 10 minutes. If too many requests are received from a user within the stated period of the time, a response with status code 429 (meaning "Too Many Requests") should be returned.

Read more

Yii 1.1.24 is released and security support extended

Jun 7, 2021

We are very pleased to announce that Yii Framework version 1.1.24 is released. You can download it at yiiframework.com/download/.

Yii 1.1 end of life was scheduled on 2021-12-31, however through support from our community we are pleased to announce extended support until 2023-12-31. This still only applies to security and compatibility fixes. See https://www.yiiframework.com/release-cycle for more details.

This release is a release of Yii 1.1 that has reached maintenance mode and will, only receive necessary security fixes and fixes to adjust the code for compatibility with PHP 7 and 8 if they do not cause breaking changes. This allows you to keep your servers PHP version up to date in the environments where old Yii 1.1 applications are hosted and stay within the version ranges supported by the PHP team.

Read more

Cookies 1.2.0

May 23, 2021

Cookies package version 1.2.0 was released. This version adds a parameter $encodeValue to the Cookie constructor and the Cookie::withRawValue() method that creates a cookie copy with a new value that will not be encoded.

Assets 1.0.0

May 16, 2021

First version of assets package was released. The package implements client-side asset (such as CSS and JavaScript) management for PHP. It helps resolve dependencies and get lists of files ready for generating HTML <script> and <link> tags.

Detailed usage guide is available [in the package readme]https://github.com/yiisoft/assets/blob/1.0.0/README.md#general-usage().

Error handler 1.0.0

May 13, 2021

Error handler package got its first release. This is generic PSR-15 and PSR-3 compatible error handling library.

The features are:

  • PSR-15 middleware for catching unhandled errors.
  • PSR-15 middleware for mapping certain exceptions to custom responses.
  • Production and debug modes.
  • Debug mode displays details, stacktrace, has dark and light themes and handy buttons to search for error without typing.

Read more

Yii event 1.0.0

May 13, 2021

Yii event is the first framework-specific package from Yii 3 family. Its goal is to make configuring events convenient. For the applications it provides three main config files:

  • events.php - Common event handlers for web and console.
  • events-web.php - Web event handlers.
  • events-console.php - Console event handlers.

The config syntax is the following:

return [
    EventName::class => [
        // Just a regular closure, it will be called from the Dispatcher "as is".
        static fn (EventName $event) => someStuff($event),
        
        // A regular closure with additional dependency. All the parameters after the first one (the event itself)
        // will be resolved from your DI container within `yiisoft/injector`.
        static fn (EventName $event, DependencyClass $dependency) => someStuff($event),
        
        // An example with a regular callable. If the `staticMethodName` method contains some dependencies,
        // they will be resolved the same way as in the previous example.
        [SomeClass::class, 'staticMethodName'],
        
        // Non-static methods are allowed too. In this case `SomeClass` will be instantiated by your DI container.
        [SomeClass::class, 'methodName'],
        
        // An object of a class with the `__invoke` method implemented
        new InvokableClass(),
        
        // In this case the `InvokableClass` with the `__invoke` method will be instantiated by your DI container
        InvokableClass::class,
        
        // Any definition of an invokable class may be here while your `$container->has('the definition)` 
        'di-alias'
    ],
];

For convenience, there's a configuration checker that is used in current application templates to check if all handlers declared are correct.

Translator 1.0.0 and related packages

May 13, 2021

First release of translator package was published. This package allows translating messages into several languages. It can work with both Yii-based applications and standalone PHP applications.

Translations in the code looks like the following:

// single translation
$messageIdentificator = 'submit';
echo $translator->translate($messageIdentificator);
// output: `Submit message`

Read more

ElasticSearch extension 2.1.1 released

May 6, 2021

We are very pleased to announce the release of ElasticSearch extension version 2.1.1. This is bugfix release solving a performance issue and an issue with counting collections with more than 10K elements.

See the CHANGELOG for details.

Gii extension 2.2.2 released

May 6, 2021

We are very pleased to announce the release of Gii extension version 2.2.2.

This release fixes some bugs, updates list of reserved keywords and enhances CRUD controller generator.

See the CHANGELOG for details.

Queue extension 2.3.2 released

May 5, 2021

Queue extension version 2.3.2 was released.

This version fixes PHP errors when PCNTL functions were disallowed.

Full changelog is available at GitHub.

Redis extension 2.0.15 released

May 5, 2021

We are very pleased to announce the release of Redis extension version 2.0.15.

This version adds support for adjusting PHP context options and parameters. This allows e.g. supporting self-signed certificates.

See the CHANGELOG for details.

Debug extension 2.1.17 released

May 5, 2021

Debug extension version 2.1.17 was released.

This release adds yii\debug\panels\DbPanel::$dbEventNames that allows specifying event names used to get profile logs for DB panel.

See the CHANGELOG for details.

Bootstrap 4 extension version 2.0.10 released

May 5, 2021

Bootstrap 4 extension version 2.0.10 was released.

This version fixes a bug and adds Toast widget.

See CHANGELOG for details.

Auth Client extension 2.2.10 released

May 5, 2021

We are very pleased to announce the release of Auth Client extension version 2.2.10.

This release adds proof key for code exchange PKCE support to OAuth2.

See the CHANGELOG for details.

ApiDoc extension version 2.1.6 released

May 5, 2021

We are very pleased to announce the release of the ApiDoc extension version 2.1.6.

This release fixes invalid path to solarized-light.css in HighlightBundle.

See the CHANGELOG for a full list of changes.

Yii 2.0.42

May 5, 2021

We are very pleased to announce the release of Yii Framework version 2.0.42. Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version. This release focus is mainly bug fixes.

Thanks to all Yii community members who contribute to the framework, translators who keep documentation translations up to date and community members who answer questions at forums.

There are many active Yii communities so if you need help or want to share your experience, feel free to join them.

A complete list of changes can be found in the CHANGELOG.

Cookies 1.1.0

May 5, 2021

Minor version of cookies package released:

  • Add the Yiisoft\Cookies\CookieEncryptor class to encrypt the value of the cookie and verify that it is tampered.
  • Add the Yiisoft\Cookies\CookieSigner class to sign the value of the cookie and verify that it is tampered.
  • Add the Yiisoft\Cookies\CookieMiddleware class to encrypt/sign the value of the cookie and verify that it is tampered.

Profiler 1.0.0

May 4, 2021

Another Yii3 family package was released. This time it is profiler. The package provides an ability to record performance profiles:

$profiler->begin('test');
//...some code
    $profiler->begin('test');
    //...some code
    $profiler->end('test');
//...some code
$profiler->end('test');

$messages = $profiler->getMessages(); 
print_r($messages);

Read more

Html 1.2.0

May 4, 2021

A minor version of Html package was tagged. In this version there are two additions:

  1. \Stringable is now supported as content for tags.
  2. Script::getContent() and Style::getContent() were added.
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (43)
  • 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 383
  • 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)