PHPackages                             interactive-solutions/zf-stdlib - 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. interactive-solutions/zf-stdlib

AbandonedArchivedLibrary

interactive-solutions/zf-stdlib
===============================

1.0.2(8y ago)01.7k[1 PRs](https://github.com/interactive-solutions/zf-stdlib/pulls)PHPPHP &gt;=7.2

Since Aug 4Pushed 7y ago3 watchersCompare

[ Source](https://github.com/interactive-solutions/zf-stdlib)[ Packagist](https://packagist.org/packages/interactive-solutions/zf-stdlib)[ RSS](/packages/interactive-solutions-zf-stdlib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (18)Used By (0)

Interactive-solutions\\zf-stdlib
================================

[](#interactive-solutionszf-stdlib)

Contains useful utility classes that are compatible with Zend Framework, or with doctrine that simplify our lifes as developer. We will try and document the most important things.

Injecting query sorting into criteria
-------------------------------------

[](#injecting-query-sorting-into-criteria)

A Mvc controller plugin `injectSortingIntoCriteria` that handles injecting sorting into a doctrine criteria object. The expected query string format is the following `?sorting=:`and having multiple sorting criteria just semi colon separate it.

Example `?sorting=name:asc,age:desc` would add the following to the criteria `['name' => 'ASC', 'age' => 'desc']`

Validators
----------

[](#validators)

A collection of custom validators that we have written

#### InteractiveSolutions\\Stdlib\\Validator(NoObjectExists|ObjectExists)

[](#interactivesolutionsstdlibvalidatornoobjectexistsobjectexists)

They are very very similar to the ones provided by `DoctrineORMModule` but they have an extra benefit they do not require the injection of a repository into your input filters or custom factories.

It's a simple factory that takes the argument `entity_name` that it uses to query the entity manager for it's repository.

#### InteractiveSolutions\\Stdlib\\Validator\\DateNotExpiredValidator

[](#interactivesolutionsstdlibvalidatordatenotexpiredvalidator)

Simply compares the provided datetime provided with the current timestamp

#### InteractiveSolutions\\Stdlib\\Validator\\ArrayElementValidator

[](#interactivesolutionsstdlibvalidatorarrayelementvalidator)

This validator applies the another validator to each time in the array provided by the validator.

#### InteractiveSolutions\\Stdlib\\Validator\\AllEntitiesExistsValidator

[](#interactivesolutionsstdlibvalidatorallentitiesexistsvalidator)

A bit like the previous validator it applies a exists check to all the entities in the array

#### InteractiveSolutions\\Stdlib\\Validator\\InputFilterCollectionValidator

[](#interactivesolutionsstdlibvalidatorinputfiltercollectionvalidator)

This is so that you can add collections that is optional Just add a option\['inputFilterClass'\] and point to your inputfilter, it will fetch it, and run isValid.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~92 days

Total

12

Last Release

2968d ago

Major Versions

0.0.9 → 1.0.02018-03-24

PHP version history (2 changes)0.0.1PHP &gt;=5.5

1.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/825f7193bec88275f660c65faab1790ed620948f5dd7a6c96515d1f12609127d?d=identicon)[mac\_nibblet](/maintainers/mac_nibblet)

---

Top Contributors

[![noggan](https://avatars.githubusercontent.com/u/7058221?v=4)](https://github.com/noggan "noggan (12 commits)")[![awartoft](https://avatars.githubusercontent.com/u/1127626?v=4)](https://github.com/awartoft "awartoft (11 commits)")[![Hotas2k](https://avatars.githubusercontent.com/u/1724484?v=4)](https://github.com/Hotas2k "Hotas2k (3 commits)")

### Embed Badge

![Health badge](/badges/interactive-solutions-zf-stdlib/health.svg)

```
[![Health](https://phpackages.com/badges/interactive-solutions-zf-stdlib/health.svg)](https://phpackages.com/packages/interactive-solutions-zf-stdlib)
```

###  Alternatives

[blanchonvincent/zf2-lazy-loading-module

ZF2 Lazy Loading Module 1.5.2 - Provide a library to implements lazy loading module in ZF2

353.7k](/packages/blanchonvincent-zf2-lazy-loading-module)

PHPackages © 2026

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