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

Html 1.1.0

Apr 9, 2021

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

  1. Br tag.
  2. Table markup related tags.

VarDumper 1.1.0

Apr 8, 2021

An update was made to yiisoft/var-dumper package.

Starting with this version it can export closures and objects with closures.

Html 1.0.0

Mar 17, 2021

First stable version of Html package was tagged. The package could be used both along with Yii 3 or separately.

It is a handy library to generate HTML dynamically:

<?= Html::p()->class('float-right')->content(
    'Powered by ',
    Html::a(
        'Yii Framework',
        'https://www.yiiframework.com/',
        ['rel' => 'external']
    )
) ?>

Read more

Test support 1.3.0

Mar 15, 2021

Test support package version 1.3.0 was released.

New version adds implementation of PSR logger that accumulates all the logged messages and can return these as array:

$logger = new Yiisoft\Test\Support\Log\SimpleLogger();

$logger->emergency('Emergency message', ['key' => 'value']);
$logger->alert('Alert message', ['key' => 'value']);
$logger->critical('Critical message', ['key' => 'value']);
$logger->error('Error message', ['key' => 'value']);
$logger->warning('Warning message', ['key' => 'value']);
$logger->notice('Notice message', ['key' => 'value']);
$logger->info('Info message', ['key' => 'value']);
$logger->debug('Debug message', ['key' => 'value']);

$messages = $logger->getMessages();

Test support 1.2.1

Mar 10, 2021

Test support package version 1.2.1 was released.

New version makes it compatible with PSR-11 Container v1.1 and v2.0.

  • psr/container 1.1 adds argument type hints.
  • psr/container 2.0 adds return type hints (but only to the has() method).

The change is fully backwards compatible so update should not break anything.

Injector 1.0.4 released

Mar 10, 2021

Injector package version 1.0.4 was released.

New version makes it compatible with PSR-11 Container v1.1 and v2.0.

  • psr/container 1.1 adds argument type hints.
  • psr/container 2.0 adds return type hints (but only to the has() method).

The change is fully backwards compatible so update should not break anything.

Network Utilities 1.0.0

Mar 4, 2021

First version of network utilities package was tagged.

It has two helper classes, IpHelper to work with IPs and network masks, and DnsHelper to check DNS records.

The package does not depend on Yii and can be used by requiring it via Composer:

composer require yiisoft/network-utilities

Code is well-covered with tests, types and has 100% mutation score.

Yii 2.0.41

Mar 3, 2021

We are very pleased to announce the release of Yii Framework version 2.0.41. Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version.

Notable changes in this release:

  • Hardened security by invalidating all active sessions and "remember me" cookies on authKey change. Note that it requires properly implemented getAuthKey() and validateAuthKey() methods of yii\web\IdentityInterface. Check upgrade guide for details.
  • Ability to create URLs for non-GET-verb rules.
  • Faster request parsing for REST UrlRule with prefix handling.

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.

CSRF 1.0.0

Feb 23, 2021

First release of CSRF package was tagged. The package provides PSR-15 middleware for CSRF protection:

  • It supports two algorithms out of the box:
    • Synchronizer CSRF token with customizable token generation and storage. By default, it uses random data and session.
    • HMAC based token with customizable identity generation. Uses session by default.
  • It has ability to apply masking to CSRF token string to make BREACH attack impossible.

Extensive documentation is available.

Test support 1.1.0 and 1.2.0

Feb 23, 2021

Two minor versions of test support package were tagged. Both are about event dispatcher:

  • 1.1.0 adds SimpleEventDispatcher::clearEvents() that clear all events in event dispatcher.
  • 1.2.0 adds SimpleEventDispatcher::getEventClasses() that return classes of dispatched events.

Event dispatcher 1.0.0

Feb 16, 2021

First version of event dispatcher package was tagged. The dispatcher provides an ability to dispatch events and listen to events dispatched. It is:

  • PSR-14 compatible.
  • Simple and lightweight.
  • Encourages designing event hierarchy.
  • Can combine multiple event listener providers.

Usage description and examples are available in the package readme.

Log and drivers 1.0.0

Feb 11, 2021

First verisons of yiisoft/log and some of the drivers called "targets" were released.

Log is PSR-3 compatible so using it in your apps is easy:

final class MyClass
{
    private \Psr\Log\LoggerInterface $logger;
    
    public function __construct(\Psr\Log\LoggerInterface $logger)
    {
    	$this->logger = $logger;
    }
    
    public function doIt(): void
    {
    	$this->logger->info('Doing it!');
        
        // ...
    }
}

Read more

Auth JWT 1.0.0

Feb 11, 2021

First version of yiisoft/auth-jwt package was released. The package provides JWT authentication method for Yii Auth.

Configuration instructions are provided in the readme of the package.

VarDumper 1.0.0

Feb 10, 2021

First stable version of yiisoft/var-dumper package was released.

It enhances functionality of var_dump() and var_export() by dealing with recursive references, syntax highlighting and closures export.

It also provides convenient d() and dd() functions that may be used for quick dump-and-die style debugging.

More details are available in the package readme.

Files 1.0.0

Feb 10, 2021

First versions of yiisoft/files package was released. The package provides useful methods to manage files and directories.

More details could be found in package readme.

Strings 2.0.0 released

Feb 10, 2021

A major version of strings package was released. The changes are about \Yiisoft\Strings\WildcardPattern. ** was introduced and the class was overall simplified.

It is not backwards compatible with 1.x.x versions so check upgrade guide if you decide to upgrade.

More details could be found in the package CHANGELOG.

Request body parser 1.0.0 released

Feb 2, 2021

First version of request body parser package was released. The package is a PSR-15 middleware that allows parsing PSR-7 server request body selecting the parser according to the server request mime type.

Out of the box it parses application/json requests where JSON is in the body. More parsers for mime types could be added by implementing a very simple ParserInterface.

Check README for details.

Cache and drivers 1.0.0

Feb 2, 2021

First versions of cache package and its drivers were released.

Main library is to be used as a wrapper around PSR-16 compatible caching libraries. We call these drivers. It adds an ability to set default TTL and key prefix per cache instance, provides a built-in behavior to cache stampede prevention, and adds cache invalidation dependencies on top of PSR-16. Check the details in README.

The following drivers were released along with main package:

Read more

Arrays 1.0.0 released

Feb 2, 2021

First stable release of arrays package was tagged.

The package provides:

  • ArrayHelper that has static methods to work with arrays;
  • ArraySorter that has static methods for sort arrays;
  • ArrayAccessTrait provides the implementation for \IteratorAggregate, \ArrayAccess and \Countable;
  • ArrayableInterface and ArrayableTrait for use in classes who want to support customizable representation of their instances.

As usual with Yii 3 packages, there is 100% unit test coverage, high level of Psalm static analysis and high MSI mutation score. The package isn't dependent on the framework so could be either used as part of Yii or separately.

Strings 1.2.0 released

Jan 22, 2021

A minor version of strings package was released:

  • Add method StringHelper::split() that split a string to array with non-empty lines.
  • Add method NumericHelper::isInteger() that checks whether the given string is an integer number.
  • Add support of a boolean values to NumericHelper::normalize().

More details could be found in the package CHANGELOG.

  • «
  • 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)