packagist dereuromark/cakephp-tools 2.5.0

latest releases: dev-master, dev-cake4, 3.7.0...
22 months ago

Improvements

Localized datetime formatting

Added FrozenTime::formatLocalized() for PHP 8.1+ safe localized output of date(time) values.

Font icons

Added IconHelper::render() as way to display font icons now, deprecating FormatHelper::icon().
It now is able to serve the following icons out of the box and even side-by-side using prefixing (prefix:icon-name):

  • FontAwesome v4/v5/v6
  • BootstrapIcons
  • Material
  • Feather

But based on its DI nature, you can register any Icon class inside and serve any custom or even own icon font this way now.
Each Icon class has full control over the rendering of the HTML.

Using IconHelper::names() you can get a list of all font icons available in your PHP code.

Tip: Use IdeHelperExtra plugin to get full autocomplete for the icon names as input for render($name).

Don't miss a new cakephp-tools release

NewReleases is sending notifications on new releases.