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

Yii Data Response 2.2

Feb 23, 2026

Yii Data Response version 2.2.0 was released. In this version:

  • Add DataStream
  • Add FormatterInterface and implementations: HtmlFormatter, JsonFormatter, PlainTextFormatter, XmlFormatter
  • Add DataResponseFactoryInterface and implementations: DataResponseFactory, FormattedResponseFactory, HtmlResponseFactory, JsonResponseFactory, PlainTextResponseFactory, XmlResponseFactory
  • Add middlewares: XmlDataResponseMiddleware, HtmlDataResponseMiddleware, JsonDataResponseMiddleware, PlainTextDataResponseMiddleware and DataResponseMiddleware

Read more

Yii Data Response 2.1

Mar 3, 2024

Yii Data Response package was updated with the following enhancements and fixes:

  • added PlainTextDataResponseFormatter formatter and FormatDataResponseAsPlainText middleware;
  • added support for psr/http-message version ^2.0;
  • raised minimum PHP version to 8.1 and refactor code;
  • explicitly added transitive dependencies psr/http-factory and psr/http-server-handler.

Yii Data Response 2.0

Feb 15, 2023

Version 2.0 of Yii Data Response package was released.

In this version configuration group names adapted to Yii conventions and updated yiisoft/http version to ^1.2.

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

Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (49)
  • 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 387
  • extensions 234
  • release 109
  • yii2 75
  • debug 30
  • view 28
  • html 25
  • auth client 24
  • 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)