chrisharrison/php-array-of
A lightweight PHP helper for creating and working with typed “array of” value collections. Simplifies validation/coercion so arrays contain only the expected item type, improving safety and readability for DTOs, configs, and API payload handling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/collection | 0.79 | Generic, object-oriented Vector, Map, and Set collections for PHP, available in both immutable and mutable variants. Part of the PHP Standard Library, offering a consistent, type-safe API for building and transforming collections. | 1 | 1 | 0 | 54K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| php-standard-library/php-standard-library | 0.78 | A standard library for PHP 8.4+ inspired by hhvm/hsl, offering consistent, well-typed APIs for async, collections, networking, I/O, cryptography, and terminal UI, replacing PHP primitives with safer, async-ready alternatives that error predictably. | 1,569 | 1,562 | 94 | 305K | 22 | 47.5 | 46.5 | MIT | 1 week ago | |
| digitalrevolution/utils | 0.78 | A PHP 8.3+ utility library of everyday helper classes, focused on array operations such as first/last, find, flatten, map, groupBy, diff, unique, remove, JSON conversion, and path fetching, plus iterable and string helpers. | 2 | 1 | 8 | 2K | 1 | 29.0 | 46.8 | MIT | 3 weeks ago | |
| yiisoft/arrays | 0.78 | yiisoft/arrays is a small PHP helper library for working with arrays. It provides safe, convenient methods to get and set values (including nested paths), filter and merge data, and simplify common array operations in Yii and any PHP project. | 56 | 57 | 29 | 88K | 5 | 6.3 | 47.3 | BSD-3-Clause | 11 months ago | |
| phootwork/collection | 0.78 | phootwork/collection is a lightweight PHP collection library providing convenient data structures and fluent helpers to work with arrays and iterables. Includes common operations like map/filter/reduce, searching, sorting, and easy conversion between collection types. | 38 | 40 | 3 | 1M | 0 | 8.1 | 55.3 | MIT | 2 years ago | |
| minwork/array | 0.78 | Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax. | 63 | 66 | 12 | 7K | 1 | 5.4 | 27.8 | MIT | 6 years ago | |
| consistence/coding-standard | 0.77 | PHP coding standard for Consistence projects: a ready-to-use PHP_CodeSniffer ruleset plus configuration to enforce consistent style, naming, and best practices across codebases. Easy to adopt in CI and local development to keep code clean and uniform. | 74 | 79 | 22 | 2K | 4 | 11.7 | 22.6 | NOASSERTION | 6 years ago | |
| azjezz/psl | 0.77 | PSL is a PHP standard library inspired by hhvm/hsl, offering consistent, well-typed, async-ready APIs for collections, networking, I/O, cryptography, terminal UI, and type-safe validation—replacing fragile PHP primitives with predictable alternatives. Requires PHP 8.4+. | 1,570 | 1,564 | 94 | 574K | 22 | 48.8 | 50.7 | MIT | 1 week ago | |
| php-standard-library/psalm-plugin | 0.77 | Psalm plugin for PHP Standard Library (PSL) that improves static analysis of PSL Type specifications. It gives Psalm precise inferred types for shapes and coerce results, such as exact array shapes instead of broad unions. Install with Composer as a dev dependency and enable via psalm-plugin. | 25 | 25 | 7 | 39K | 1 | 12.5 | 46.6 | MIT | 7 months ago | |
| phpstan/phpstan-strict-rules | 0.77 | Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. | 714 | 721 | 63 | 5M | 35 | 45.9 | 75.1 | MIT | 5 days ago | |
| phpstan/phpdoc-parser | 0.77 | phpstan/phpdoc-parser parses PHPDocs into a typed AST so you can read and modify docblocks programmatically. It handles rich types like unions, generics, array shapes, callables, and conditional types, plus Doctrine annotations. Powers PHPStan. | 1,541 | 1,540 | 79 | 20M | 6 | 42.4 | 71.7 | MIT | 1 week ago | |
| phpdocumentor/reflection-docblock | 0.77 | A DocBlock parser fully compatible with the PHPDoc standard. Use its DocBlockFactory to read summaries, descriptions, tags, and annotations from doc comments or reflection classes, so your library can extract embedded documentation and metadata. | 0 | 9,379 | — | 19M | — | 9.9 | 55.3 | — | — | |
| thecodingmachine/phpstan-strict-rules | 0.77 | Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. | 287 | 289 | 27 | 54K | 7 | 26.3 | 36.8 | — | 4 months ago |
How can I help you explore Laravel packages today?