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 5.0.0

Feb 3, 2022

Version 5.0.0 of View package is released. There a few bugs fixed, some additions and a few backwards incompatible changes:

  1. New and adjusted methods in ViewInterface.
  2. Some methods became mutating instead of immutable since it is desired behavior considering sub-views and layout.
  3. A simple view context class, ViewContext, was added.

Detailed changelog

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

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.

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.

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