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 Assets 5.1

Mar 8, 2025

Version 5.1 of Yii Assets package was released. There a few changes:

  • improve static analyze annotations;
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0;
  • remove unnecessary array_filter call in AssetUtil::extractFilePathsForExport() method;
  • fix the nullable parameter declarations for compatibility with PHP 8.4.

Yii Assets 5.0

Dec 11, 2024

Version 5 of Yii Assets package was released.

  • Add AssetManager::getUrl() method instead of getAssetUrl() method that is marked as deprecated.
  • Move di-web configuration to di and allow to set publisher via parameters.
  • Add debug collector for yiisoft/yii-debug.
  • Raise the minimum PHP version to 8.1 and minor refactoring.

Read more

Yii Assets 4.0

Feb 13, 2023

Version 4.0 of Yii Assets package was released.

In this version configuration group names adapted to Yii conventions and added support of yiisoft/aliases version ^3.0.

Yii Assets 3.0

Jan 26, 2023

Version 3.0 of Yii Assets package was released. There a few changes and improvements:

  • raise PHP version to 8.0 and refactoring with PHP 8 features usage;
  • add AssetManager::registerCustomized() method.

Yii Assets 2.1.0

Jul 18, 2022

Version 2.1.0 of assets package was released. There a few changes:

  • change path hash logic in AssetPublisher to filemtime + filecount;
  • raise the minimum PHP version to 8.0.

Assets 2.0.0

Nov 4, 2021

Version 2.0.0 of assets package was released improving public API for more convenient use.

Previously you had to specify assets registered as array:

$assetManager->register([\App\Assets\MainAsset::class]);

Read more

Assets 1.0.0

May 16, 2021

First version of assets package was released. The package implements client-side asset (such as CSS and JavaScript) management for PHP. It helps resolve dependencies and get lists of files ready for generating HTML <script> and <link> tags.

Detailed usage guide is available [in the package readme]https://github.com/yiisoft/assets/blob/1.0.0/README.md#general-usage().

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)