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

Config 1.1.0

Dec 31, 2021

Config package got a minor version.

It introduces ConfigInterface that is allowing one to customize the process of obtaining configs:

interface ConfigInterface
{
    public function get(string $group): array;
    public function has(string $group): bool;
}

Router and FastRoute adapter 1.0.0

Dec 30, 2021

Both router and its FastRoute adapter went stable. These are very central packages in Yii3.

The package provides PSR-7 compatible request routing and a PSR-15 middleware ready to be used in an application. Instead of implementing routing from ground up, the package provides an interface for configuring routes and could be used with an adapter package. Currently, the only adapter available is FastRoute.

Router has the following features:

Read more

Symfony mailer extension 2.0.0 released

Dec 30, 2021

We are very pleased to announce the release of Symfony mailer extension version 2.0.0.

Since Swiftmailer is not supported anymore, we encourage everyone to switch to new mailer adapter:

  1. Install yiisoft/yii2-symfonymailer.
  2. Adjust configuration.
  3. Remove yiisoft/yii2-swiftmailer.

Swiftmailer extension 2.1.3 released

Dec 30, 2021

We are very pleased to announce the release of Swiftmailer extension version 2.1.3. This release clones signers when cloning Message and emits a warning when opendkim is used.

See the CHANGELOG for details.

Sphinx extension 2.0.14 released

Dec 30, 2021

We are very pleased to announce the release of Sphinx extension version 2.0.14. This release adds implementation of methods for creating, deleting and updating real-time index schema for Sphinx version 3.

See the CHANGELOG for details.

Queue extension 2.3.3 released

Dec 30, 2021

Queue extension version 2.3.3 was released. This version has several enhancements:

  • Increased MySQL db job size to more than 65KB.
  • Added stack trace on error in verbose mode.
  • Added configurable AMQP routingKey option.
  • Added configurable AMQP Exchange type.

Read more

Gii extension 2.2.4 released

Dec 30, 2021

We are very pleased to announce the release of Gii extension version 2.2.4. This release fixes a number of bugs and adds validation rules for enableI18N and messageCategory to generator.

See the CHANGELOG for details.

Yii 2.0.44

Dec 29, 2021

We are very pleased to announce the release of Yii Framework version 2.0.44. Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version. This release includes a number of bug fixes as well as security enhancements and feature enhancements. Highlights are:

  • Added ability to turn the sorting off for a clicked column in GridView with multisort.
  • Added yii\helpers\Json::$keepObjectType and yii\web\JsonResponseFormatter::$keepObjectType in order to avoid changing zero-indexed objects to array in yii\helpers\Json::encode().
  • Added support for URI namespaced tags in XmlResponseFormatter.
  • Added yiiActiveForm validate_only property for skipping form auto-submission.

Read more

User 1.0.0

Dec 22, 2021

User package got stable release. It provides convenient user identity management and access checking:

  • Login and logout.
  • Getting currently logged in identity.
  • Changing current identity.
  • Access checking for current user.

Read more

Message extractor 1.0.0

Dec 20, 2021

Translation message extractor got its first stable version. It is a command-line tool that allows automatically extracting translation IDs from PHP source files and writing them to one of the translator message sources.

Such message sources are a good raw material for the actual translation. You don't have to keep track of what messages are there in the source code since you can re-run ./yii translator/extract command once again to update the message source.

You can find more details in the package readme.

Config 1.0.0

Dec 17, 2021

First stable version of Config package was tagged.

This Composer plugin provides assembling of configurations distributed with composer packages. It allows putting configuration needed to use a package right inside thus implementing a plugin system. The package becomes a plugin holding both the code and its configuration.

The package, despite its primary goal of being used in Yii3, is very flexible and allows to build various plugin systems. The config assembly plan is prepared on installing dependencies but the build itself if done runtime in an efficient manner simplifying debugging and development a lot. What is written in config files is what actually being executed so configuration errors displayed are helpful.

You can find more details and a usage guide in the package readme.

As usual, the package is covered with tests, has high mutation score and is checked with Psalm.

Yii Swagger 1.0.0

Dec 15, 2021

First version of Yii Swagger intergration package was released.

It provides an integration of Swagger-PHP with Yii3 allowing to generate API documentation based on annotations such as:

/**
 * @OA\Get(
 *     path="/api/endpoint",
 *     @OA\Response(response="200", description="Get default action")
 * )
 */
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
    // ...
}

More details are available in the package readme.

Yii 1.1.25 is released

Dec 13, 2021

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

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.

Yii 1.1.25 improves PHP 8.0 compatibility and includes some minor fixes.

Read more

Widget 1.0.0

Dec 12, 2021

First version of yiisoft/widget package was released.

Widgets are reusable building blocks used to create complex and configurable user interface elements in an object-oriented fashion.

This package provides an abstract class and a factory for creating widgets, ready-made widgets are provided in the yiisoft/yii-widgets package.

Usage details and syntax examples are available in the package readme.

Factory 1.0.0

Dec 11, 2021

First version of Factory package was released. This package provides abstract object factory allowing to create objects by given definition with dependencies resolved by a PSR-11 container. It is useful if you need to create objects using definition syntax and/or want to configure defaults for objects created.

$container = new PSR11DependencyInjectionContainer();
$factoryConfig = [
    EngineInterface::class => [
        'class' => EngineMarkOne::class,
        '__construct()' => [
            'power' => 42,
        ],
    ]
];

$factory = new Factory($container, $factoryConfig);

$one = $factory->create(EngineInterface::class);
$two = $factory->create([
    'class' => EngineInterface::class,
    '__construct()' => [
        'power' => 146,
    ],
]);

See package README for more details.

Yii HTTP

Dec 8, 2021

First release of yii-http package is tagged. It provides the application class, as well as the events and handlers needed to interact with HTTP. The package is implemented using PSR-7 interfaces.

More details are available in the package readme.

Yii Dependency Injection 1.0.0

Dec 3, 2021

Version 1.0.0 of Yii Dependency Injection container is released. It is a PSR-11 compatible dependency injection container that is able to instantiate and configure classes resolving dependencies.

Features are:

  • PSR-11 compatible.
  • Supports property injection, constructor injection and method injection.
  • Detects circular references.
  • Accepts array definitions. Could be used with mergeable configs.

Read more

Auth Client extension 2.2.12 released

Dec 3, 2021

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

This version fixes and enhances OpenID Connect client, adds application name check for Facebook client, and adds AuthAction::$defaultClientId and AuthAction::getClientId().

See the CHANGELOG for details.

Definitions 1.0.0

Nov 30, 2021

A stable version of definitions package was tagged.

The package provides syntax constructs describing a way to create and configure a service or an object.

The following are provided:

  • Definitions describing services or objects to create. This includes syntax, its validation and resolving it to objects.
  • References and dynamic references to point to other definitions. These include additional utility to refer to multiple definitions at once.

While, by itself, the package is not very useful for end users of the framework, it is a base upon which yiisoft/di and yiisoft/factory are built. And the base is solid with a great code coverage and mutation score.

CSRF 1.2.0

Nov 22, 2021

Minor verison of CSRF package was tagged adding ability to specify your own failure handler:

use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Yiisoft\Csrf\CsrfMiddleware;

/**
 * @var Psr\Http\Message\ResponseFactoryInterface $responseFactory
 * @var Yiisoft\Csrf\CsrfTokenInterface $csrfToken
 */
 
$failureHandler = new class ($responseFactory) implements RequestHandlerInterface {
    private ResponseFactoryInterface $responseFactory;
    
    public function __construct(ResponseFactoryInterface $responseFactory)
    {
        $this->responseFactory = $responseFactory;
    }

    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $response = $this->responseFactory->createResponse(400);
        $response->getBody()->write('Bad request.');
        return $response;
    }
};

$middleware = new CsrfMiddleware($responseFactory, $csrfToken, $failureHandler);
  • «
  • 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)