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

View 4.0.0

Oct 25, 2021

Version 4.0.0 of View package is released. In this version:

  • Added ViewInterface that View and WebView implement.
  • Improved exception message on getting not exist block or parameter in View and WebView.
  • We flush currently being rendered view files on context change now via View::withContext() or WebView::withContext().

VarDumper 1.2.0

Oct 24, 2021

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

In this version \Yiisoft\VarDumper\VarDumper::withOffset() was added. It allows to adjust generated code nesting offset:

$test = [
    'value' => 42, // <--- default offset is 4 spaces
];

Arrays 2.0.0

Oct 23, 2021

Major version of yiisoft/arrays was released:

  • New ArrayHelper::group() that groups the array according to a specified key.
  • Support for iterable objects in ArrayHelper::map(), ArrayHelper::index(), ArrayHelper::group(), ArrayHelper::htmlEncode() and ArrayHelper::htmlDecode.
  • ArrayHelper and ArraySorter are now final.
  • Fixed incorrect default value returned from ArrayHelper::getValue() when key does not exist and default is array.

Yii View 4.0.0

Oct 21, 2021

Yii view package version 4.0.0 was tagged.

CsrfInjection now injects a stringable CSRF object with methods getToken(), getParameterName(), getHeaderName() and hiddenInput() instead of string token to common parameters.

CSRF 1.1.0

Oct 21, 2021

Minor verison of CSRF package was tagged adding ability to obtain parameter and header names set to the middleware via CsrfMiddleware::getParameterName() and CsrfMiddleware::getHeaderName().

Html 2.2.0

Oct 20, 2021

HTML package version 2.2.0 was released.

In this release:

  • Added nofollow() method to the A tag.
  • Added itemsFromValues() method to RadioList and CheckboxList. The method sets items with labels equal to values passed.
  • A third optional argument $attributes containing tag attributes in terms of name-value pairs has been added to methods Html::textInput(), Html::hiddenInput(), Html::passwordInput(), Html::fileInput(), Html::radio(), Html::checkbox(), Html::textarea().

Mutex and adapters 1.1.0

Oct 19, 2021

Minor version of mutex package was released. In this version two new exceptions were introduced: MutexLockedException and MutexReleaseException. We throw them instead of less specific RuntimeException.

Additionally, the following adapter packages were released to match:

  • File
  • PDO MySQL
  • PDO Oracle
  • PDO Postgres

Read more

Symfony Mailer 1.0.0

Oct 17, 2021

Symfony Mailer adapter for yiisoft/mailer was tagged stable.

It is relying on symfony/mailer to send emails and is recommended as replacement for now deprecated SwiftMailer.

As usual, it has 100% unit test coverage with 100% mutation score, and 100% type coverage checked with Psalm.

Html 2.1.0

Sep 23, 2021

HTML package version 2.1.0 was released.

In this release Noscript tag was added along with shortcuts for Script via methods Script::noscript() and Script::noscriptTag().

View and Yii View Extension 3.0

Sep 19, 2021

Major versions of yiisoft/view and yiisoft/yii-view were tagged.

  • View and WebView got fluent interface for their setters.
  • View::withAddedCommonParameters() and WebView::withAddedCommonParameters() were revemod since view should be mutable in order for parameters to be cascaded into sub-views.
  • Some metod and config option ranaming was performed in View and WebView. "Common parameters" became just "parameters".
  • ContentParametersInjectionInterface was replaced with ContentParametersInjectionInterface. It injects parameters for both views and layout.

View 2.1.0

Sep 14, 2021

Version 2.1.0 of View package is released. Immutable methods View::withAddedCommonParameters() and WebView::withAddedCommonParameters() are now available to add extra parameters available in all views and their sub-views.

Mailer 3.0.0, SwiftMailer 3.0.0, and Email Log Target 3.0.0

Aug 25, 2021

Mailer package version 3.0.0 was tagged. This version expands Yiisoft\Mailer\MessageInterface adding the following methods:

  • getDate() - Returns the date when the message was sent, or null if it was not set.
  • withDate() - Returns a new instance with the specified date when the message was sent.
  • getPriority() - Returns the priority of this message.
  • withPriority() - Returns a new instance with the specified priority of this message.

Read more

Html 2.0.0

Aug 24, 2021

HTML package version 2.0.0 was released. In this release:

  • Empty attribute values are not rendered anymore.
  • New tags added: Em, Strong, B and I.
  • null could be passed to Tag::class(), Tag::replaceClass(), BooleanInputTag::label() and BooleanInputTag::sideLabel(). Attribute won't be rendered.
  • as() and preload() were added to the Link tag.

Read more

Mutex and adapters 1.0.0

Aug 18, 2021

Fisrt version of mutex package was released. This package provides mutex implementation and allows mutual execution of concurrent processes in order to prevent "race conditions". This is achieved by using a "lock" mechanism. Each possibly concurrent processes cooperates by acquiring a lock before accessing the corresponding data.

There are multiple ways you can use the package. You can execute a callback in a synchronized mode i.e. only a single instance of the callback is executed at the same time:

/** @var \Yiisoft\Mutex\Synchronizer $synchronizer */
$newCount = $synchronizer->execute('critical', function () {
    return $counter->increase();
}, 10);

Read more

RateLimiter 2.0.0

Aug 15, 2021

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

It introduces new package design proposed by kafkiansky:

  • LimitPolicyInterface is there to easily change the policy of rate limiting i.e. while requests apply limiting to.
  • StorageInterface is there to use custom storage for request counters.
  • TimerInterface allowed us to rewrite tests not to use usleep() making them stable.

See UPGRADE for instructions on how to adjust your code if you are using first version of the package.

Email log target 1.0.0

Jul 5, 2021

First version of email log target package was released.

This package provides the email target for the yiisoft/log allowing to send logs via email.

Mailer 1.0.0 and SwiftMailer 1.0.0

Jul 5, 2021

First releases of mailer package and its SwiftMailer adapter were released.

The mailer package provides the content composition functionality, and a basic interface for sending emails. Actual mail sending is provided by separate interchangeable packages.

The following code can be used to send an email:

Read more

Yii View 1.0.0

Jul 5, 2021

First stable version of Yii View Extension was released.

The package is an extension of the Yii View Rendering Library. It adds WEB-specific functionality and compatibility with PSR-7 interfaces.

Check readme for details.

View Twig Renderer 1.0.0

Jul 5, 2021

First stable version of View Twig Renderer was released. The package is an extension of the Yii View Rendering Library. This extension provides a ViewRender that would allow you to use Twig view template engine.

Check package readme for details.

View 1.0.0

Jul 5, 2021

First version of View package is released. This library provides templates rendering abstraction supporting layout-view-subview hierarchy, custom renderers with PHP-based as default and more. It is used in Yii Framework 3 but is supposed to be usable separately.

PHP templates look like the following:

<?php

Read more

  • «
  • 1
  • 2
  • 3
  • 4
  • »
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)