PHPackages                             whiterabbit/cakephp-utils - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. whiterabbit/cakephp-utils

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

whiterabbit/cakephp-utils
=========================

Some utils for CakePHP 3.x like an Uploadable Behaviour for AmazonS3

046PHP

Since Jan 30Pushed 10y ago5 watchersCompare

[ Source](https://github.com/MarketingAutomationDev/cakephp-utils)[ Packagist](https://packagist.org/packages/whiterabbit/cakephp-utils)[ RSS](/packages/whiterabbit-cakephp-utils/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

cakephp-utils
=============

[](#cakephp-utils)

Installation
------------

[](#installation)

You can install the plugin cackephp-utils into your CakePHP application using [composer](http://getcomposer.org) and executing the following lines in the root of your application.

```
composer require whiterabbit/cackephp-utils

```

Configuration
-------------

[](#configuration)

You will need to add the following line to your application's bootstrap.php file:

```
Plugin::load('WRUtils');
```

And in your AppController add

```
use WRUtils\Controller\WRTrait;

class AppController extends Controller
{
    use WRTrait;
}
```

In order to pass a customer name / site to the UploadableBehavior you have to put it in the parameter session Auth.User.customer\_site (ie from AppController):

```
$this->request->session()->write('Auth.User.customer_site', 'my.customer.site');
```

For the S3File Helper, in your AppController add

```
public function initialize() {
    $this->helpers[] = 'WRUtils.S3File';
}
```

version
-------

[](#version)

0.2.1

- S3FileHelper: Set the default image instead of an html code
- Added a customer site name to the uploadable behavior in order to create, in S3, separate bucket for different customers.
    if you want use this feature add the parameter Auth.User.customer\_site in your session

0.1.3.1 Solved sum bug on S3FileHelper

0.1.3 Added S3FileHelper helper

0.1.2 Added folder management for S3

0.1.1 Initial release

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2016 WhiteRabbit by Dino Fratelli

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/026cc62de73d1cf7e9d8026f8639d4bc35940221f7b36dadf526508afbad9a9e?d=identicon)[italopalanza](/maintainers/italopalanza)

![](https://www.gravatar.com/avatar/db144572a17b2eaf8dff6d383ac7e86c116b00417f72b1bc3145ddc6c50586bb?d=identicon)[r-da](/maintainers/r-da)

![](https://www.gravatar.com/avatar/be952b2112d8be7fbe78c56267e28f4e08cc6c408945a2aed8d2406c686aa170?d=identicon)[dinofratelli](/maintainers/dinofratelli)

---

Top Contributors

[![dinofratelli](https://avatars.githubusercontent.com/u/8737337?v=4)](https://github.com/dinofratelli "dinofratelli (13 commits)")

### Embed Badge

![Health badge](/badges/whiterabbit-cakephp-utils/health.svg)

```
[![Health](https://phpackages.com/badges/whiterabbit-cakephp-utils/health.svg)](https://phpackages.com/packages/whiterabbit-cakephp-utils)
```

###  Alternatives

[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
