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

viewrenderermustachetemplating

Mustache for Yii

PHPYii FrameworkReleaseLicenseDownloadsCoverageBuild

Mustache templating for Yii, high-performance PHP framework.

Documentation

Development

License

Mustache for Yii is distributed under the MIT License.

Changelog

Changelog

Version 10.0.0

  • Breaking change: raised the required PHP version.
  • Breaking change: removed the view helpers.
  • Added a user guide based on MkDocs.
  • Added an example code.
  • Dropped the dependency on PHPUnit-Expect.
  • 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 GitHub 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



v9.0.0 is the latest of 25 releases



MIT license
Stats
14 github stars & 1 github forks
13 downloads in the last day
284 downloads in the last 30 days
4914 total downloads