PHPackages                             iamthes/useful-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. iamthes/useful-functions

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

iamthes/useful-functions
========================

Useful functions.

5813PHP

Since Dec 26Pushed 12y ago2 watchersCompare

[ Source](https://github.com/unlight/UsefulFunctions)[ Packagist](https://packagist.org/packages/iamthes/useful-functions)[ RSS](/packages/iamthes-useful-functions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

```
UsefulFunctions: Description
============================

This plugin do nothing as standalone. This plugin is used by other plugins and applications,
using specific functions which doesn't exists in Garden core.

Provides functions for:
- render elements
- validation
- manipulate arrays and objects
- work with files (upload, remove, etc.)
- process images (thumbnaills, sprites, etc.)
- run various common sql queries
- load html document or file to phpQuery
- translate short phrase by Google or Lingvo
- debug, etc.

Also:
- allow plugins to run time-based schedule code (like cron)
- nested sets tree model

SETUP
=====
Add folowing line to cron task file ('crontab -e')
*/5 * * * *  /usr/local/bin/php -q /home/www/htdocs/plugins/UsefulFunctions/bin/tick.php

CONFIGURATION
=============
$Configuration['Plugins']['UsefulFunctions']['Console']['MessageEnconding'] = 'cp866';
	Ecoding for messages in command line mode.

$Configuration['Plugins']['UsefulFunctions']['Console']['Check'] = TRUE;
	By default you cant run command line scripts from browser.
	Set this to False to disable checking.

$Configuration['Plugins']['UsefulFunctions']['ImPath'] = '/usr/local/bin/';
	ImageMagick path. If you are on Windows, this value can be c:\Program Files\ImageMagick\

$Configuration['Plugins']['UsefulFunctions']['LoremIpsum']['Language'] = 'latin';
	Lorem ipsum text language:
	latin - Standard Lipsum
	noIpsum - Don't start with "Lorem Ipsum"
	Other values:
	greek, hindi, russian, arabic, hebrew, letzebuergesch, etc.
	See full list at http://generator.lorem-ipsum.info/lorem-ipsum-copy

UPGRADE FROM PLUGINUTILS
========================
Some old plugins require PluginUtils plugin.
You can keep it. But very recomended to remove it, and use UsefulFunctions instead.
Open conf/config.php and do search & replace operation: PluginUtils => UsefulFunctions

CHANGELOG
=========
None.

EXTERNAL CRON SERVICES
======================
http://www.cronjobservices.com
http://www.crondroid.com/
http://www.mywebcron.com/
http://www.easycron.com/
http://www.cronjobs.org/
http://www.setcronjob.com/
http://cronjob.ru/
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.7% 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/702161df5ae4d3307459cd39e75f5be03080529835ce78447cd86226732f5834?d=identicon)[unlight](/maintainers/unlight)

---

Top Contributors

[![unlight](https://avatars.githubusercontent.com/u/301732?v=4)](https://github.com/unlight "unlight (75 commits)")[![cronjobservices](https://avatars.githubusercontent.com/u/5680316?v=4)](https://github.com/cronjobservices "cronjobservices (1 commits)")

### Embed Badge

![Health badge](/badges/iamthes-useful-functions/health.svg)

```
[![Health](https://phpackages.com/badges/iamthes-useful-functions/health.svg)](https://phpackages.com/packages/iamthes-useful-functions)
```

###  Alternatives

[youwe/workflow-gui

Workflow Configuration UI for Pimcore

2884.6k](/packages/youwe-workflow-gui)[edofre/yii2-fullcalendar

Yii2 widget for fullcalendar

2761.7k1](/packages/edofre-yii2-fullcalendar)[scottybo/laravel-facebook-sdk

Fully unit tested Facebook SDK v5 integration for Laravel 7.x

2225.0k](/packages/scottybo-laravel-facebook-sdk)[deha-soft/jp-string-helper

String helper for japanese

531.3k](/packages/deha-soft-jp-string-helper)

PHPackages © 2026

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