php-standard-library/dict
Utility functions for working with PHP associative arrays (“dicts”): create, map, filter, and transform collections while preserving keys. Lightweight helpers from PHP Standard Library for cleaner, safer array manipulation.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/value-object | 0.78 | Deprecated Spatie package for PHP 8+ data transfer objects. Create typed DTOs from arrays with casting, validation, and attribute mapping (e.g., nested keys). Consider migrating to spatie/laravel-data or cuyz/valinor. | 2,233 | 2,179 | 190 | 0 | 0 | 22.9 | — | MIT | 3 years ago | |
| yiisoft/arrays | 0.77 | yiisoft/arrays is a lightweight PHP utility library for working with arrays: fetch values by key/path, set and remove nested items, merge and filter data, and perform common transformations. Designed for Yii projects but usable standalone. | 56 | — | 27 | — | 4 | 22.3 | 1.8 | BSD-3-Clause | 4 months ago | |
| php-standard-library/vec | 0.77 | php-standard-library/vec provides small, focused helpers for working with sequential 0-indexed arrays (lists). Create, map, filter, transform, and compose list operations with predictable behavior and clean APIs—part of the PHP Standard Library collection. | 1 | 0 | 0 | 11K | 0 | 20.6 | 60.7 | MIT | 2 weeks ago | |
| spatie/typed | 0.77 | Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. | 319 | 321 | 15 | 3 | 0 | 11.9 | 0.1 | MIT | 5 years ago | |
| spatie/array-functions | 0.77 | Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code. | 245 | 249 | 40 | 953 | 0 | 26.6 | 11.2 | MIT | 1 year ago | |
| php-standard-library/date-time | 0.75 | Immutable, timezone-aware DateTime types for PHP. Provides Duration, Period, and Interval helpers for safer date/time arithmetic and ranges, designed as a standard-library style package with clear docs and contribution links. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.7 | MIT | 2 weeks ago | |
| php-standard-library/foundation | 0.74 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| wyrihaximus/test-utilities | 0.74 | Shared test utilities for PHP projects: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-to-use PHPStan defaults and a preconfigured RectorConfig for common project layouts and doc-tag to attribute conversions. | 7 | 7 | 1 | 36K | 6 | 31.8 | 64.6 | MIT | 4 days ago | |
| dragon-code/support | 0.74 | Dragon Code Support is a lightweight helper toolkit for PHP/Laravel projects, providing facades, utilities, and common support classes. Designed to be extended with your own methods, with a clear structure for adding features and tests. | 23 | 23 | 5 | 430K | 0 | 29.9 | 65.0 | MIT | 6 days ago | |
| php-standard-library/str | 0.74 | Lightweight string utility library for PHP, providing common helpers for formatting, parsing, and safe string handling. Designed as a simple “standard library” add-on with a small API surface and easy composer integration. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| php-standard-library/collection | 0.74 | Object-oriented Vector, Map, and Set collections for PHP with both immutable and mutable variants. Part of PHP Standard Library, focused on generic, reusable data structures with consistent APIs. Docs and contribution links available at php-standard-library.dev. | 1 | 0 | 0 | 9K | 0 | 20.6 | 59.3 | MIT | 2 weeks ago | |
| php-standard-library/json | 0.72 | php-standard-library/json provides JSON encode/decode helpers with sensible defaults and typed exceptions. Safer, clearer error handling than native json_encode/json_decode, ideal for consistent JSON handling in PHP apps and libraries. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.1 | MIT | 2 weeks ago | |
| php-standard-library/file | 0.72 | Typed PHP file handles for safe reading and writing, with explicit write modes and advisory locking. Part of PHP Standard Library, aiming for clear, reliable filesystem I/O primitives suitable for applications and reusable packages. | 1 | 0 | 0 | 9K | 0 | 20.6 | 59.7 | MIT | 2 weeks ago | |
| php-standard-library/php-standard-library | 0.72 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,513 | 1,512 | 83 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| php-standard-library/filesystem | 0.71 | Type-safe filesystem utilities for PHP Standard Library. Perform common file and directory operations with consistent APIs and proper exception handling, improving safety and clarity over raw PHP functions. Documentation and contribution links included. | 1 | 0 | 0 | 5K | 0 | 20.6 | 55.8 | MIT | 2 weeks ago | |
| php-standard-library/hash | 0.71 | Hash utilities for PHP: cryptographic and non-cryptographic hashing via an Algorithm enum, HMAC helpers, and timing-safe string comparison. Lightweight package from PHP Standard Library for consistent, secure hashing across projects. | 0 | 0 | 0 | 1K | 0 | 20.6 | 50.2 | MIT | 2 weeks ago | |
| php-standard-library/iter | 0.70 | Inspect and reduce any PHP iterable (arrays, generators, iterators) with small, focused helpers from PHP Standard Library - Iter. Designed for common iteration tasks and consistent behavior across iterable types. | 1 | 0 | 0 | 9K | 0 | 20.6 | 59.4 | MIT | 2 weeks ago | |
| php-standard-library/type | 0.70 | Runtime type validation for PHP using “Parse, Don’t Validate”: coerce and assert unstructured input into well-typed data. Useful for APIs, configs, and user input with clear parsing rules, assertions, and predictable failures. | 1 | 0 | 0 | 12K | 0 | 20.6 | 61.3 | MIT | 2 weeks ago | |
| php-standard-library/default | 0.69 | Provides a DefaultInterface for PHP classes to expose standardized “default” instances. Helps ensure consistent default construction across libraries and apps with a simple, shared contract. | 1 | 0 | 0 | 9K | 0 | 20.6 | 59.5 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?