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 - 1.9.9

Published by dereuromark almost 5 years ago

Bugfixes

  • Fixed BitmaskedBehavior
cakephp-tools - 1.9.8

Published by dereuromark about 5 years ago

Bugfixes

  • Fixed Gravatar helper URL generation.
  • Fixed some general translations to domain bound ones.
cakephp-tools - 1.9.7

Published by dereuromark about 5 years ago

Improvements

  • Added Meter helper similar to Progress helper, for gauge display as meter bars instead of progress bars.
  • Added HTML5 elements for both Meter and Progress helper, including an option for the textual alternative as fallback for older browsers.
  • Added RefererRedirect component for better referer experience around edit action and paginated/filtered index action.
cakephp-tools - 1.9.6

Published by dereuromark about 5 years ago

Improvements

Added ProgressHelper for calculating and displaying basic text-based progress bars.

The main advantage of the progress helper over default round() calculation is that it only fully displays
0 and 100 percent borders (including the char icon representation) if truly fully that min/max value.
So for 0.9999 as well as 0.0001 etc it will not yet display the completely full or empty bar.
If you want that, you need to pre-round before passing it in.

cakephp-tools - 1.9.5

Published by dereuromark about 5 years ago

Bugfixes

  • Fixed signatures to return null instead of false
  • Auto-load Flash component for ShuntRequestController
cakephp-tools - 1.9.4

Published by dereuromark over 5 years ago

Improvements

  • Refactored enum() into a EnumTrait for easier inclusion in projects.
    No need to extend this plugin's Entity class anymore.
  • Added docs for it.
cakephp-tools - 1.9.3

Published by dereuromark over 5 years ago

Improvements

  • Added AfterSave behavior to allow the entity to be available inside afterSave() callback.

Bugfixes

  • Fixed BitmaskedBehavior to not remove the mapped field
cakephp-tools - 1.9.2

Published by dereuromark over 5 years ago

Bugfixes

Fixed regression Tools component deep trimming.

cakephp-tools - 1.9.1

Published by dereuromark almost 6 years ago

Improvements

  • Removed deprecations, min CakePHP version is now 3.7.
  • Added Utility::notBlank() as more correct version of Utility::notEmpty()
cakephp-tools - 1.9.0

Published by dereuromark almost 6 years ago

Improvements

  • Improve TreeHelper (autoPath/autoPathClass, entity support, parent info in element/callback, indentation character) and add documentation
  • Add TypeMapBehavior to allow runtime changes on the column types
  • PHP 7.3 compatibility
cakephp-tools - 1.8.0

Published by dereuromark almost 6 years ago

Improvements

Allow Slugged behavior to use custom slugger via 'mode' config. Use any callable here.
It internally still uses the deprecated Inflector::slug(), so you can also easily replace it now with the Text::slug() method:

use Cake\Utility\Text;
...
$this->addBehavior('Tools.Slugged', ['mode' => [Text::class, 'slug']]);
cakephp-tools - 1.7.0

Published by dereuromark almost 6 years ago

Improvements

  • Fix BitmaskedBehavior empty usability
  • Improved Bitmasked custom finder find('bits') to include types exact (default) and contain.
    The latter allows you to do easy filtering - on paginated views for example.
cakephp-tools - 1.6.0

Published by dereuromark almost 6 years ago

Improvements

  • Added a list of exceptions that also are 404 even with referer present.
  • Deprecations removed.

Min CakePHP version is now 3.6.

cakephp-tools - 0.12.4

Published by dereuromark about 6 years ago

2.x maintenance release

Fixed GoogleMaps helper to be able to use an API key Google.apiKey via Configure.
This is required since 2018 and otherwise will not render the map.

cakephp-tools - 1.5.7

Published by dereuromark about 6 years ago

Improvements

  • Add getSafeRedirectUrl() for post/query + default without compromising redirecting (security issue for external redirect injection)
  • Allow $disableErrorHandlerMiddleware in IntergrationTestCase to globally deactivate instead of verbosely per test case.
cakephp-tools - 1.5.6

Published by dereuromark over 6 years ago

Improvements

Add TypographyHelper (upgraded from 2.x) to work alongside TypographicBehavior.
Add MissingTemplateException into 404 whitelist.

Bugfixes

SluggedBehavior and comma is now working as expected.

cakephp-tools - 1.5.5

Published by dereuromark over 6 years ago

Bugfixes

  • Better aliasing on the Bitmasked behavior.
  • Fixed a regression due to 7.2 count issue refactor
  • Removed deprecations and require CakePHP 3.5+
  • Added also new exceptions for 404 logging
cakephp-tools - 1.5.4

Published by dereuromark over 6 years ago

Bugfixes

Adjust ErrorHandler to not require a request object.

cakephp-tools - 1.5.3

Published by dereuromark over 6 years ago

Improvements

Add a custom finder find('bits') for BitmaskedBehavior usage.

cakephp-tools - 1.5.2

Published by dereuromark almost 7 years ago

Bugfixes

Fixed BitmaskedBehavior for rows returned as array.

Package Rankings
Top 0.99% on Packagist.org
Badges
Extracted from project README
CI Coverage Status Minimum PHP Version Coding Standards