PHPackages                             camilord/utilus - 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. camilord/utilus

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

camilord/utilus
===============

Camilo3rd's PHP Utils Library

1.0.51(3w ago)167.9k↓15.2%2MITPHPPHP &gt;=7.4CI failing

Since Mar 17Pushed 3w ago1 watchersCompare

[ Source](https://github.com/camilord/utilus)[ Packagist](https://packagist.org/packages/camilord/utilus)[ Docs](https://github.com/camilord/utilus)[ RSS](/packages/camilord-utilus/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (53)Used By (2)

camilord/utilus
===============

[](#camilordutilus)

Camilo3rd's PHP Utils Library

[![codecov](https://camo.githubusercontent.com/d040f978a2eb6033c658949713c4fe48e6cc488a8874840c0ab0e8bdeacc451e/68747470733a2f2f636f6465636f762e696f2f67682f63616d696c6f72642f7574696c75732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/camilord/utilus)

Installing the library
======================

[](#installing-the-library)

```
{
    "require": {
        "camilord/utilus": "^1.0"
    }
}
```

or

```
composer require camilord/utilus
```

Usage
=====

[](#usage)

This library is my collection from my various projects. It is a mini library which every time I create a project, I don't have to recreate these classes and functions, all I need to do is add this package and start my work. Few example below:

GENERATING UUID

```
// I need UUID
echo UUID::v4();
```

OUTPUT:

`b9ef0e9e-3249-31a1-a529-640a129890ac`

UPLOADING FILE

```
// I need to process upload file
$tmp_dir = '/tmp/junkies/';
$uploader = new FileUpload($_FILES);
$uploader->setTemporaryUploadDir($tmp_dir, true);
$fileObj = $uploader->processUpload('document_name');
echo $fileObj->getFilePath();
```

OUTPUT:

`/tmp/junkies/tmp_073240_03927845092742.jpg`

GET DOMAIN SSL EXPIRY DAYS LEFT

```
// I need to know the number of days left for my domain SSL
$sslUtil = new SSLUtil();
$url = 'https://www.abcs.co.nz';
$days = $sslUtil->getSslDaysLeft($url);
if ($days === false) {
    echo "Error! Cannot fetch SSL information.";
} else {
    echo $days.' days left';
}
```

OUTPUT:

`370 days left`

AWS SQS CHUNKING DATA

Symfony:

```
$chunks = ArrayUtilus::aws_sqs_array_chunk($data);

foreach ($chunks as $chunk)
{
    $this->bus->dispatch(new DataUpdateMessage($chunk));
}
```

Laravel:

```
$chunks = ArrayUtilus::aws_sqs_array_chunk($data);

foreach ($chunks as $chunk)
{
    DataUpdateQueue::dispatch($chunk)->onConnection($sqs_connection);
}
```

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity76

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 ~59 days

Recently: every ~78 days

Total

52

Last Release

25d ago

PHP version history (4 changes)1.0.7PHP 5.6.\*

1.0.8PHP &gt;5.6

1.0.11PHP &gt;=5.5

1.0.29PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/36291d0ff9126e11641fe3805397bab26324f5514741f5b48b18fa8f183fdbd8?d=identicon)[camilo3rd](/maintainers/camilo3rd)

---

Top Contributors

[![camilord](https://avatars.githubusercontent.com/u/2794294?v=4)](https://github.com/camilord "camilord (38 commits)")

---

Tags

utilutils

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/camilord-utilus/health.svg)

```
[![Health](https://phpackages.com/badges/camilord-utilus/health.svg)](https://phpackages.com/packages/camilord-utilus)
```

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.3M192](/packages/danielstjules-stringy)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4915.7M18](/packages/voku-arrayy)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M26](/packages/vaimo-composer-patches)[voku/stringy

A string manipulation library with multibyte support

1863.9M26](/packages/voku-stringy)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[statamic/stringy

A string manipulation library with multibyte support, forked from @statamic

245.0M18](/packages/statamic-stringy)

PHPackages © 2026

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