PHPackages                             anklimsk/cakephp-basic-functions - 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. anklimsk/cakephp-basic-functions

ActiveCakephp-plugin

anklimsk/cakephp-basic-functions
================================

Global basic utilities for the CakePHP 2.x application

v1.0.2(6y ago)01.7k5MITPHPPHP &gt;=5.4

Since Aug 5Pushed 6y agoCompare

[ Source](https://github.com/anklimsk/cakephp-basic-functions)[ Packagist](https://packagist.org/packages/anklimsk/cakephp-basic-functions)[ Docs](https://github.com/anklimsk/cakephp-basic-functions)[ RSS](/packages/anklimsk-cakephp-basic-functions/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (5)Dependencies (2)Versions (8)Used By (5)

CakePHP 2.x Basic functions plugin
==================================

[](#cakephp-2x-basic-functions-plugin)

[![Build Status](https://camo.githubusercontent.com/7c620e13227cad9e9b94265cde743bee8f91016ef5d3682963589b0a50ceb25c/68747470733a2f2f7472617669732d63692e636f6d2f616e6b6c696d736b2f63616b657068702d62617369632d66756e6374696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/anklimsk/cakephp-basic-functions)[![Coverage Status](https://camo.githubusercontent.com/e761d2750788d28126043f1f5419286d203fbb35ca926b31ffbea5febc2cd52b/68747470733a2f2f636f6465636f762e696f2f67682f616e6b6c696d736b2f63616b657068702d62617369632d66756e6374696f6e732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/anklimsk/cakephp-basic-functions)[![Latest Stable Version](https://camo.githubusercontent.com/be76334f6e8a0657f009944c547406faaa8bcb8684211575b30baef9469126ed/68747470733a2f2f706f7365722e707567782e6f72672f616e6b6c696d736b2f63616b657068702d62617369632d66756e6374696f6e732f76657273696f6e)](https://packagist.org/packages/anklimsk/cakephp-basic-functions)[![License](https://camo.githubusercontent.com/fa8c04c96ea6b6003a1e11f59079c1fa92804d6a1f600f592d02fe9fcf2547be/68747470733a2f2f706f7365722e707567782e6f72672f616e6b6c696d736b2f63616b657068702d62617369632d66756e6374696f6e732f6c6963656e7365)](https://packagist.org/packages/anklimsk/cakephp-basic-functions)

Global basic utilities for the CakePHP application

This plugin provides next features:
-----------------------------------

[](#this-plugin-provides-next-features)

- Getting array of constants value with name `constsToWords()`;
- Getting array of constants values by prefix `constsVals()`;
- Getting name of constant by prefix and value `constValToLcSingle()`;
- Translate array values by Domain name `translArray()`;
- Getting a string with the first character of string capitalized `mb_ucfirst()`;
- Checking whether the string is GUID `isGuid()`;
- Getting readable GUID from binary string LDAP `GuidToString()`;
- Getting GUID for LDAP query from readable GUID string `GuidStringToLdap()`;
- Analog of PHP function `str_pad()` for using unicode `mb_str_pad()`;
- Getting unicode char by its code `unichr()`;
- Checking whether the array is zero-indexed and sequential `isAssoc()`;
- Checking string is binary `isBinary()`;
- Getting information about the current language of the UI and converting it.

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

[](#installation)

1. Install the Plugin using composer: `composer require anklimsk/cakephp-basic-functions`
2. Add the next line to the end of the file `app/Config/bootstrap.php`:

    ```
    CakePlugin::load('CakeBasicFunctions', ['bootstrap' => true]);
    ```

Using
-----

[](#using)

[Using this plugin](docs/USING.md)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~119 days

Total

6

Last Release

2359d ago

Major Versions

v0.4.2 → v1.0.02018-10-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/140887a79183c767c877d9ddb80aeaf88e0abd091f8dc1cd6e599ab7e30e1d82?d=identicon)[anklimsk](/maintainers/anklimsk)

---

Top Contributors

[![anklimsk](https://avatars.githubusercontent.com/u/42044955?v=4)](https://github.com/anklimsk "anklimsk (76 commits)")

---

Tags

cakephp-plugincakephp2

### Embed Badge

![Health badge](/badges/anklimsk-cakephp-basic-functions/health.svg)

```
[![Health](https://phpackages.com/badges/anklimsk-cakephp-basic-functions/health.svg)](https://phpackages.com/packages/anklimsk-cakephp-basic-functions)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)

PHPackages © 2026

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