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

Request body parser 1.0.0 released

Feb 2, 2021

First version of request body parser package was released. The package is a PSR-15 middleware that allows parsing PSR-7 server request body selecting the parser according to the server request mime type.

Out of the box it parses application/json requests where JSON is in the body. More parsers for mime types could be added by implementing a very simple ParserInterface.

Check README for details.

Cache and drivers 1.0.0

Feb 2, 2021

First versions of cache package and its drivers were released.

Main library is to be used as a wrapper around PSR-16 compatible caching libraries. We call these drivers. It adds an ability to set default TTL and key prefix per cache instance, provides a built-in behavior to cache stampede prevention, and adds cache invalidation dependencies on top of PSR-16. Check the details in README.

The following drivers were released along with main package:

Read more

Arrays 1.0.0 released

Feb 2, 2021

First stable release of arrays package was tagged.

The package provides:

  • ArrayHelper that has static methods to work with arrays;
  • ArraySorter that has static methods for sort arrays;
  • ArrayAccessTrait provides the implementation for \IteratorAggregate, \ArrayAccess and \Countable;
  • ArrayableInterface and ArrayableTrait for use in classes who want to support customizable representation of their instances.

As usual with Yii 3 packages, there is 100% unit test coverage, high level of Psalm static analysis and high MSI mutation score. The package isn't dependent on the framework so could be either used as part of Yii or separately.

Strings 1.2.0 released

Jan 22, 2021

A minor version of strings package was released:

  • Add method StringHelper::split() that split a string to array with non-empty lines.
  • Add method NumericHelper::isInteger() that checks whether the given string is an integer number.
  • Add support of a boolean values to NumericHelper::normalize().

More details could be found in the package CHANGELOG.

Auth 3.0.0 released

Jan 13, 2021

A major version of yiisoft/auth standalone package was released.

IdentityWithTokenRepositoryInterface does not extend IdentityRepositoryInterface so these could be used independently.

More description and usage examples are available in readme.

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.

  • «
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • »
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)