cakephp-tools

A CakePHP Tools plugin containing lots of useful helpers, behaviors, components, shells, ...

MIT License

Downloads
688.9K
Stars
337
Committers
22
cakephp-tools - 2.5.2

Published by dereuromark almost 2 years ago

Improvements

  • IconHelper: Allow global and icon set attributes to get merged in with each render() call.
cakephp-tools - 2.5.1

Published by dereuromark almost 2 years ago

Fixes

  • Fixed icon name handling for title in Icon::render().
  • Fixed FontAwesome5 icon collector to work again with SVGs. Also added YML support.
cakephp-tools - 2.5.0

Published by dereuromark almost 2 years 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).

cakephp-tools - 2.4.2

Published by dereuromark almost 3 years ago

Fixes

Fixed Bitmasked behavior "contain" filtering to work with more than one value.
Before it always used the exact combination, whereas an OR of each value is correct for most use cases.
Also added containMode as and if one wants to use exact combination of values to be found.

Live demo of all cases available here: https://sandbox.dereuromark.de/sandbox/tools-examples/bitmask-search

cakephp-tools - 2.4.1

Published by dereuromark almost 3 years ago

Fixes

Fixed deprecation changes for validation of array input.

cakephp-tools - 2.4.0

Published by dereuromark almost 3 years ago

Improvements

  • CakePHP 4.3 checked/approved and PHP 7.3+ now.
  • Removed deprecations, specifically Time/Date in favor of immutable ones
  • TreeHelper supports case when using "div" as both type and itemType
cakephp-tools - 2.3.0

Published by dereuromark over 3 years ago

Improvements

Added InvalidArgumentException to 404 detected list of exceptions.
Those will be logged separately from the main errors.

cakephp-tools - 2.2.1

Published by dereuromark almost 4 years ago

Fixes

  • Fixed "edit" font-awesome v5 icon default
  • Fixed compatibility with PHP 8.
cakephp-tools - 2.2.0

Published by dereuromark almost 4 years ago

Improvements

  • Switched to font-awesome v5 icons for the default icons set.
  • Moved HtmlHelper methods into a trait for easier usage from project level if one extends already another HtmlHelper extension (e.g. Bootstrap one)
  • Moved UrlHelper methods into a trait for easier usage from project level if one extends already another UrlHelper extension (e.g. Bootstrap one)
  • Add admin backend for icon testing of FormHelper
  • Allow Bitmasked behavior to be applied on afterMarshal
  • CakePHP 4.1+ now
cakephp-tools - 2.1.3

Published by dereuromark about 4 years ago

Fixes

Fixed message defaulting for "from" when Config.adminEmail is set.

cakephp-tools - 2.1.2

Published by dereuromark about 4 years ago

Fixed

Fixed fullBase for full based URLs.

cakephp-tools - 2.1.1

Published by dereuromark about 4 years ago

Fixes

Fixed gender "Inter" text

cakephp-tools - 1.9.12

Published by dereuromark about 4 years ago

Fixes

Fixed gender "Inter" text

Improvements

Added FileLog for basic file logging without config needs.

cakephp-tools - 2.1.0

Published by dereuromark over 4 years ago

Fixes

Fixed complete URLs and links to contain also passed params.

Improvements

Tokens

Tokens are now quoteIdentifier save.
Make sure that you upgrade any existing ones.

A MigrationToolsTokens migration file is now also included for those that needed it, along with some documentation on use cases.

Deprecations removed

All deprecations have been removed. Tests are now running E_ALL again.

4.1 compatibility

CakePHP 4.1 has a small BC issue with Comparison vs ComparisonExpression, this release mitigates this.

cakephp-tools - 2.0.2

Published by dereuromark over 4 years ago

Fixes

Fixed 404 error handling to work again as per documentation.

cakephp-tools - 2.0.1

Published by dereuromark over 4 years ago

Fixes

  • Fixed warnings in Slugged behavior for some cases.
  • Allow Font Awesome 5 icons through custom namespace/prefix
cakephp-tools - 2.0.0

Published by dereuromark over 4 years ago

CakePHP 4 release

A useful bunch of tools for CakePHP apps.

  • Controller, Model, Helper additions
  • Best practice improvements/handling on top of the framework
cakephp-tools - 1.9.11

Published by dereuromark over 4 years ago

Fixes

  • Fixed FormatHelper class handling
cakephp-tools - 2.0.0-beta

Published by dereuromark almost 5 years ago

CakePHP 4 compatible pre-release.

Please help to finalize for stable release.

cakephp-tools - 1.9.10

Published by dereuromark almost 5 years ago

Bugfixes

  • Fixed Table::getRelatedInUse() and Table::getFieldInUse()
  • Fixed TimeHelper::published() to work with FrozenTime
Package Rankings
Top 0.99% on Packagist.org
Badges
Extracted from project README
CI Coverage Status Minimum PHP Version Coding Standards