PHPackages                             aristidesneto/helpers - 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. aristidesneto/helpers

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

aristidesneto/helpers
=====================

Helpers and validations classes

v1.0.0(5y ago)0708MITPHPPHP ^7.4|^8.0CI failing

Since Mar 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/aristidesneto/helpers)[ Packagist](https://packagist.org/packages/aristidesneto/helpers)[ Docs](https://github.com/aristidesneto/helpers)[ Fund](https://aristides.dev)[ GitHub Sponsors](https://github.com/aristidesneto)[ RSS](/packages/aristidesneto-helpers/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Helpers
=======

[](#helpers)

[![Latest Version on Packagist](https://camo.githubusercontent.com/164d7221646e7f96b516ff0f328fc5f15c60db4a1704bc364de9edaf764d60e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6172697374696465736e65746f2f68656c70657273)](https://packagist.org/packages/aristidesneto/helpers)[![Total Downloads](https://camo.githubusercontent.com/08910e4f277de26e40a7da7414f1c6a50e768dbc4f7e3a49fd7a451805ef0d21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6172697374696465736e65746f2f68656c70657273)](https://packagist.org/packages/aristidesneto/helpers)

Conjunto de classes de `Helpers` e `Validations` para otimizar sua aplicação.

Instalação
----------

[](#instalação)

Instale o pacote via composer:

```
composer require aristidesneto/helpers
```

Uso
---

[](#uso)

```
require __DIR__ . '/vendor/autoload.php';

use Aristides\Helpers\Helpers;
use Aristides\Helpers\Validations;

// Validações
Validations::cpf('123.456.789-10'); // true or false

Validations::cnpj('11222333444455'); // true or false

Validations::email('contato@email.com') // true or false

// Helpers
Helpers::formatMoneyToReal('1485.48'); // 1.485,48
Helpers::formatMoneyToReal('873.11', true); // R$ 873,11

Helpers::formatMoneyToDatabase('45.367,98'); // 45367.98
Helpers::formatMoneyToDatabase('R$ 88.475.411,89'); // 88475411.89

Helpers::transformMonth(3); // Março
Helpers::transformMonth(3, false); // Mar

Helpers::transformWeekDays(2); // Segunda-feira
Helpers::transformWeekDays(2, false); // Seg

Helpers::mask('(##) #####-####', '12999887766'); // (12) 99988-7766
Helpers::mask('##.###.###/####-##', '41636863000137'); // 41.636.863/0001-37
```

Testes
------

[](#testes)

```
composer test
```

Contribuindo
------------

[](#contribuindo)

Veja [CONTRIBUTING](.github/CONTRIBUTING.md) para mais detalhes.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

1844d ago

Major Versions

v0.2.0 → v1.0.02021-06-05

### Community

Maintainers

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

---

Top Contributors

[![aristidesneto](https://avatars.githubusercontent.com/u/6685135?v=4)](https://github.com/aristidesneto "aristidesneto (9 commits)")

---

Tags

helpersvalidations

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/aristidesneto-helpers/health.svg)

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

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

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

Array manipulation library for PHP, called Arrayy!

4885.6M18](/packages/voku-arrayy)[voku/stringy

A string manipulation library with multibyte support

1793.9M24](/packages/voku-stringy)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[browner12/helpers

generic helpers

285696.4k7](/packages/browner12-helpers)[rappasoft/laravel-helpers

Laravel Helpers for Non-Laravel Projects

277673.0k22](/packages/rappasoft-laravel-helpers)

PHPackages © 2026

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