PHPackages                             jul/lib - 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. jul/lib

ActiveLibrary

jul/lib
=======

A set of frequently used PHP classes.

010PHP

Since Feb 4Pushed 11y agoCompare

[ Source](https://github.com/youlweb/JulLib)[ Packagist](https://packagist.org/packages/jul/lib)[ RSS](/packages/jul-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

JulLib
======

[](#jullib)

\####A set of frequently used PHP classes.
Most links point to interfaces for clarity, but abstract classes and concrete implementations can be found in the same folder where relevant.
All tests are located in the [Tests](https://github.com/youlweb/JulLib/blob/master/src/Lib/Tests) folder.

Collection
----------

[](#collection)

- [Buffer](https://github.com/youlweb/JulLib/blob/master/src/Lib/Collection/Buffer/BufferInterface.php)
    A fixed size, iterable F.I.F.O object buffer.
- [Collection](https://github.com/youlweb/JulLib/blob/master/src/Lib/Collection/CollectionInterface.php)
    An iterable set of objects, complete with filter, sort, etc.

Entity
------

[](#entity)

- [Entity](https://github.com/youlweb/JulLib/blob/master/src/Lib/Entity/EntityInterface.php)
    Definition of a persistent object.
- [Handler](https://github.com/youlweb/JulLib/blob/master/src/Lib/Entity/Handler/HandlerInterface.php)
    Set of operations handling the persistence and retrieval of entities.

Math
----

[](#math)

- [Function](https://github.com/youlweb/JulLib/blob/master/src/Lib/Math/Functions/FunctionInterface.php)
    An object-oriented container for mathematical functions. The goal of this architecture is to build function stacks.
    - [Closure function](https://github.com/youlweb/JulLib/blob/master/src/Lib/Math/Functions/ClosureFunction.php)A user-defined function is used to calculate the function output.
    - [Log](https://github.com/youlweb/JulLib/blob/master/src/Lib/Math/Functions/Log.php)Natural logarithm and log(`base`).
    - [Softmax](https://github.com/youlweb/JulLib/blob/master/src/Lib/Math/Functions/Softmax.php)The categorical probability distribution of a vector. The softmax function is often implemented at the final layer of an artificial neural network used for classification.
- [Vector](https://github.com/youlweb/JulLib/blob/master/src/Lib/Math/Vector/VectorInterface.php)
    Perform common arithmetic operations on a vector of floats. For instance, the cosine similarity of two vectors is commonly used in text mining and classification tasks.

String
------

[](#string)

- [Filter](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Filter/FilterInterface.php)
    A filter transforms a string. This object-oriented approach allows to build filter stacks.
    - [Lowercase](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Filter/Lowercase.php)Convert all alphabetical characters to lowercase.
    - [Uppercase](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Filter/Uppercase.php)Convert all alphabetical characters to uppercase.
    - [Whitespace](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Filter/Whitespace.php)Trim consecutive whitespaces down to a single whitespace. New lines and tabs are also converted to a single whitespace.
- [Property](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Property/PropertyInterface.php)
    A property quantifies a particular aspect of a string. Useful to create vector representations, such as word vectors.
    - [Closure property](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Property/ClosureProperty.php)A user-defined function is used to calculate the property value.
    - [Shannon entropy](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Property/ShannonEntropy.php)Estimate the average minimum number of bits needed to encode a string. One of the many aspects to consider to create strong passwords, or measure randomness in a string.
- [Tokenizer](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Tokenizer/TokenizerInterface.php)
    Break a string down into an array of terms.
    - [Delimiter](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Tokenizer/Delimiter.php)Similar to PHP's native explode() function, with additional checks.
    - [Repeated substring](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Tokenizer/RepeatedSubstring.php)Find all repeated substrings in a string. Used in full text indices, data compression, semantic analysis, spam filtering, and within the field of bioinformatics.
    - [Suffix array](https://github.com/youlweb/JulLib/blob/master/src/Lib/String/Tokenizer/SuffixArray.php)A sorted array of all suffixes of a string. An efficient alternative to a suffix tree.

Sys
---

[](#sys)

- [PhpInfo](https://github.com/youlweb/JulLib/blob/master/src/Lib/Sys/PhpInfo.php)
    Wrapper for the classic phpinfo() function.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![youlweb](https://avatars.githubusercontent.com/u/2779672?v=4)](https://github.com/youlweb "youlweb (81 commits)")

### Embed Badge

![Health badge](/badges/jul-lib/health.svg)

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

PHPackages © 2026

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