PHPackages                             alexpts/php-tools - 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. alexpts/php-tools

ActiveLibrary

alexpts/php-tools
=================

Php tools

4.1.0(5y ago)0752[1 PRs](https://github.com/alexpts/php-tools/pulls)4MITPHPPHP ~8.0CI passing

Since Sep 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/alexpts/php-tools)[ Packagist](https://packagist.org/packages/alexpts/php-tools)[ Docs](https://github.com/alexpts/php-tools)[ RSS](/packages/alexpts-php-tools/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (15)Used By (4)

php-tools
=========

[](#php-tools)

[![SensioLabsInsight](https://camo.githubusercontent.com/86944ae7d2ebe08fdaa146efcaf4d779bc8cf17e609cef785afb66ee185e335b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30646532643039382d363165302d346130642d386166612d6435313263626561646361332f6269672e706e67)](https://insight.sensiolabs.com/projects/0de2d098-61e0-4a0d-8afa-d512cbeadca3)

[![Build Status](https://camo.githubusercontent.com/332f15b5ac86c2cd6c9131d5a4cd77977c7a68c5c94f9e74e192db381246e4f5/68747470733a2f2f7472617669732d63692e6f72672f616c65787074732f7068702d746f6f6c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alexpts/php-tools)[![Test Coverage](https://camo.githubusercontent.com/405b86d28ce86e8fd44bdb5697c7984304084ee229abd7d6f733340a00844198/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f616c65787074732f7068702d746f6f6c732f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/alexpts/php-tools/coverage)[![Code Climate](https://camo.githubusercontent.com/e1b6a4f553d28612e1f2f1d83cc5773f2266c9543d024608de1a7848427f34ef/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f616c65787074732f7068702d746f6f6c732f6261646765732f6770612e737667)](https://codeclimate.com/github/alexpts/php-tools)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/835f56502954ab93773c395e6f658891fb4c47b7438e0cec81bd8d0aaf448898/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65787074732f7068702d746f6f6c732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alexpts/php-tools/?branch=master)

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

[](#installation)

`$ composer require alexpts/php-tools`

### [ArrayHelper](https://github.com/alexpts/php-tools/blob/master/docs/arrayHelper.md)

[](#arrayhelper)

Вспомогательные методы для работы с массивами

### [Collection](https://github.com/alexpts/php-tools/blob/master/docs/collection.md)

[](#collection)

Коллекция с приоритетом

Позволяет хранить любые сущности в виде именной коллекции с приоритетом

### [DeepArray](https://github.com/alexpts/php-tools/blob/master/docs/deepArray.md)

[](#deeparray)

Сервис для работы с вложенными массивами

### [RegExpFactory](https://github.com/alexpts/php-tools/blob/master/docs/regExpFactory.md)

[](#regexpfactory)

Сервис для карирования регулярных выражений

### [TraceFormatter](https://github.com/alexpts/php-tools/blob/master/docs/traceFormatter.md)

[](#traceformatter)

Сервис для форматирования трейса в компактный вид для логов

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance54

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community13

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

Recently: every ~243 days

Total

13

Last Release

1991d ago

Major Versions

1.0.1 → 2.0.02016-09-18

2.3.0 → 3.0.02017-09-03

3.3.1 → 4.0.02020-11-30

PHP version history (3 changes)1.0.0PHP &gt;7.0.0

3.0.0PHP &gt;7.1

4.0.0PHP ~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/31106536118e11bf9d0c9d7f467db5b534efa9c46ee76680b308f0c39d9a798c?d=identicon)[alexpts](/maintainers/alexpts)

---

Top Contributors

[![alexpts](https://avatars.githubusercontent.com/u/1306916?v=4)](https://github.com/alexpts "alexpts (41 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alexpts-php-tools/health.svg)

```
[![Health](https://phpackages.com/badges/alexpts-php-tools/health.svg)](https://phpackages.com/packages/alexpts-php-tools)
```

PHPackages © 2026

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