cedx/yii2-mustache Mustache templating for the Yii Framework.

viewrenderermustachetemplating

Mustache for Yii

Yii Framework Runtime Release License Downloads Coverage

Mustache templating for the Yii Framework.

WARNING: this package is abandoned and no longer maintained.

Documentation

Development

License

Mustache for Yii is distributed under the MIT License.

Changelog

Changelog

Version 10.1.0

  • Updated the documentation.
  • Updated the package dependencies.

Version 10.0.0

  • Breaking change: raised the required PHP version.
  • Breaking change: using PHP 7.4 features, like arrow functions and typed properties.
  • Breaking change: the YII_DEBUG and Yii environment constants are not exposed anymore.
  • Added the ViewRenderer->view property.
  • Added a user guide based on MkDocs.
  • Added an example code.
  • Fixed the issue #8: partials don't support path aliases.
  • Fixed the issue #9: the Loader class does not take into account the view context.
  • Replaced the usage of yii\base\InvalidParamException class by yii\base\InvalidArgumentException.
  • Replaced the Phing build system by Robo.
  • Updated the package dependencies.

Version 9.0.0

  • Breaking change: classes extending from yii\base\Object now extend from BaseObject.
  • Breaking change: raised the required PHP version.
  • Breaking change: using PHP 7.1 features, like nullable types and void functions.

Version 8.0.0

  • Breaking change: removed the CACHE_KEY_PREFIX constants.
  • Breaking change: removed the ViewRenderer->cacheId property.
  • Added new unit tests.
  • Added the ViewRenderer->cache property.
  • Added the ViewRenderer->enableCaching property.
  • Changed licensing for the MIT License.

Version 7.0.0

  • Breaking change: renamed the yii\mustache\helpers\HTML class to Html.
  • Breaking change: renamed the yii\mustache\helpers\URL class to Url.
  • Updated the package dependencies.

Version 6.1.0

  • Enabled the strict typing.
  • Replaced phpDocumentor documentation generator by ApiGen.
  • Updated the package dependencies.

Version 6.0.0

  • Breaking change: added init() methods for validating the required properties.
  • Breaking change: the Cache class now extends from Object class, and implements the Mustache_Cache interface.
  • Breaking change: the Logger class now extends from Object class, and implements the PSR-3 logger interface.
  • Breaking change: replaced most of getters and setters by properties.
  • Ported the unit test assertions from TDD to BDD.
  • Updated the package dependencies.

Version 5.0.0

  • Breaking change: changed the signature of the constructors of the Cache and Logger classes.
  • Breaking change: removed the jsonSerialize() and __toString() methods.
  • Updated the package dependencies.

Version 4.1.0

  • Replaced the Codacy code coverage service by the Coveralls one.
  • Updated the package dependencies.

Version 4.0.0

  • Breaking change: removed the toJSON() methods.
  • Removed the final modifier from the jsonSerialize() methods.

Version 3.0.0

  • Breaking change: modified the signature of some class constructors.
  • Added public getters/setters to some private properties.
  • Added a fluent interface to the setters.
  • Added the jsonSerialize() and toJSON() methods.
  • Updated the package dependencies.

Version 2.0.0

  • Breaking change: moved the Helper class to the yii\mustache namespace.
  • Optimized the unit tests.
  • Removed dependency on framework messages.

Version 1.0.1

  • Updated the package dependencies.

Version 1.0.0

  • First stable release.

Version 0.5.3

  • Code optimization.
  • Updated the package dependencies.

Version 0.5.2

Version 0.5.1

Version 0.5.0

  • Breaking change: using PHP 7 features, like scalar and return type declarations.

Version 0.4.3

  • Added support for a default message category in I18N helper.

Version 0.4.2

  • Added code coverage.
  • Added new unit tests.
  • Added support for Travis CI continuous integration.
  • Changed licensing for the Apache License Version 2.0.
  • Updated the package dependencies.

Version 0.4.1

  • Added support for SonarQube code analyzer.
  • Replaced the custom build scripts by Phing.

Version 0.4.0

  • Dropped the development dependencies based on Node.js.
  • Replaced the build system by custom scripts.
  • Replaced the documentation system by Doxygen.

Version 0.3.0

  • Breaking change: ported the library API to Yii version 2.
  • Updated Mustache dependency to version 2.8.0.

Version 0.2.0

  • Breaking change: ported the library API to namespaces.

Version 0.1.1

  • Added CMustacheI18nHelper helper for internationalization.
  • Breaking change: moved CMustacheHtmlHelper->getTranslate() method to CMustacheI18nHelper class.
  • Fixed the issue #1.
  • Lowered the required PHP version.
  • Updated Mustache dependency to version 2.7.0.

Version 0.1.0

  • Initial release.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v10.0.0 is the latest of 26 releases



MIT license
Stats
15 github stars & 2 github forks
0 downloads in the last day
931 downloads in the last 30 days
38061 total downloads