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

HTTP 1.1.0 released

Dec 28, 2020

Version 1.1.0 of yiisoft/http package was released.

ContentDispositionHeader was introduced. It helps building Content-Disposition header that complies to RFC-6266 and works in majority of modern browsers:

$name = \Yiisoft\Http\ContentDispositionHeader::name();

Read more

Session 1.0.0

Dec 26, 2020

Session package implements a session service, PSR-15 session middleware, and a flash message service which helps use one-time messages.

You can access session data through SessionInterface.

/** @var \Yiisoft\Session\SessionInterface $session */
$myId = $session->get('my_id');
if ($myId === null) {
    $session->set('my_id', 42);
}

Read more

i18n 1.0.0

Dec 25, 2020

Another Yii3 family package is released. This time it is yiisoft/i18n. The package provides common internationalization utilities and currently includes a Locale class. It stores locale information created from BCP 47 formatted string. Can parse locale string, modify locale parts, form locale string from parts, and derive fallback locale.

$locale = new \Yiisoft\I18n\Locale('es-CL');
echo $locale->language(); // es
echo $locale->region(); // CL

$locale = $locale->withLanguage('en');
echo $locale->asString(); // en-CL

echo $locale->fallbackLocale()->asString(); // en

The package has 100% code coverage and 100% mutation score.

Test support 1.0.0

Dec 24, 2020

First release of test support package was tagged. The package is intended to simplify the process of testing application elements that depend on PSR interfaces and is currently covering:

  • Container Interface, PSR-11
  • Event Dispatcher, PSR-14
  • Simple Cache, PSR-16

More interfaces are to be covered in the subsequent releases. Extensive documentation is available.

Aliases 1.1.2

Dec 24, 2020

Patch release of aliases package was tagged. It is fixing a bug with nested aliases and getAll().

Update does not require anything special. Just do composer update.

Composer config plugin 0.5.0

Dec 24, 2020

A pre-release version 0.5.0 of Composer config plugin was tagged. The plugin takes care of assembling configuration from multiple sources as configured in composer.json. That usually happens on composer update or composer install. Assembled configs are then used in the application cutting application bootstrap time significantly.

The plugin is still under development so there still could be configuration syntax changes.

Cookies 1.0.0 released

Dec 2, 2020

First version of cookies package released.

The package helps in working with HTTP cookies in a PSR-7 environment:

  • provides a handy abstraction representing a cookie
  • allows dealing with many cookies at once
  • forms and adds Set-Cookie headers to response

According to our quality standards, it has full test coverag, high MSI score and type coverage.

Usage examples are available in package readme.

Strings 1.1.0 released

Nov 13, 2020

A minor version of strings package was released:

  • Flags for WildcardPattern now could be turned off by passing a boolean flag.
  • An option withEnding() was added to WildcardPattern. It is allowing to match ending of testing string only ignoring the beginning.

More details could be found in the package CHANGELOG.

Injector 1.0.3 released

Nov 5, 2020

New version of Injector package was tagged. It has two bugfixes and some internal refactoring.

A complete list of changes can be found in the CHANGELOG.

Security 1.0.0 released

Oct 31, 2020

First verison of independent security package was released.

The package provides various security-related utilities such as:

  • Random values generation
  • Password hashing and validation
  • Encryption and decryption
  • Data tampering prevention

Read more

HTTP 1.0.0 released

Sep 1, 2020

First verison of HTTP independent package was released.

The package provides:

  • Constants for HTTP protocol headers, methods and statuses. All along with short descriptions and RFC links.
  • PSR-7, PSR-17 PhpStorm meta for HTTP protocol headers, methods and statuses.

More details could be found in the package README.

Strings 1.0.0 released

Aug 31, 2020

First version of yiisoft/strings standalone package was released.

The package provides:

  • StringHelper that has static methods to work with strings;
  • NumericHelper that has static methods to work with numeric strings;
  • Inflector provides methods such as toPlural() or toSlug() that derive a new string based on the string given;
  • WildcardPattern is a shell wildcard pattern to match strings against.

More details could be found in the package README.

Injector 1.0.2 released

Aug 28, 2020

New version of Injector package was tagged. It is focused on PHP 8 support and takes new PHP features, such as union types, into account.

Check it out

Json 1.0.0 released

Aug 26, 2020

First version of yiisoft/json standalone package was released.

The package provides methods to encode and decode JSON.

  • It always throws \JsonException instead of returning false on error.
  • It has sensible defaults, so you don't have to specify flags all the time.
  • It has handy method to encode for HTML safely.
  • It handles \JsonSerializable, \DateTimeInterface, and \SimpleXMLElement well.

Usage example is available in readme.

Auth 1.0.0 released

Aug 25, 2020

First version of yiisoft/auth standalone package was released.

The package provides various authentication methods, a set of abstractions to implement in your application, and a PSR-15 middleware to authenticate an identity. Out of the box it provides HTTP basic authentication, HTTP bearer authentication, custom HTTP header authentication, query parameter authentication, and composite authentication that combines multiple methods. It is possible to add your own authentication methods.

More description and usage examples are available in readme.

The code follows our new standards and has 100% test coverage and high mutation score.

Access 1.0.0 released

Aug 25, 2020

First version of yiisoft/access standalone package was released.

This package provides an interface for checking checking if certain user has certain permission. Optional parameters could be passed for fine-grained access checks.

Usage example is available in readme.

Aliases 1.0.0 released

Jun 8, 2020

First version of yiisoft/aliases standalone package was released.

The package aim is to store path aliases, i.e. short name representing a long path (a file path, a URL, etc.). Path alias value may have another value as its part. For example, @vendor may store path to vendor directory while @bin may store @vendor/bin.

More description and usage examples are available in readme.

The code has 100% test coverage and 100% mutation score i.e. it is very stable.

Injector 1.0.0 released

May 2, 2020

Injector can invoke methods or create objects resolving their dependencies from a PSR-11 container via autowiring. It can:

  • Invoke callable or create an object of a given class.
  • Resolve dependencies by parameter types using the given PSR-11 container.
  • Pass concrete dependency instances by type.
  • Pass arguments by name.

As one of the central parts of Yii 3 it is what does all the auto-wiring into action handlers and widgets.

Since is a framework-independent package, it can be used in any PHP project.

Check it out

Friendly exception 1.0.0 released

Mar 4, 2020

First Yii 3 package is released. Friendly Exception is an exception interface that provides a friendly name and a possible solution. Error handlers may consider the interface to render additional information right at the error screen.

The package is framework-independent so could be used with any PHP code.

Check it out

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

Years

  • 2026 (45)
  • 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 385
  • 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)