php-standard-library/foundation
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.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/async | Fiber-based async primitives for PHP: structured concurrency with cooperative multitasking. Run tasks concurrently, manage lifecycles, cancellations, and scopes predictably. Part of PHP Standard Library; docs and guides at php-standard-library.dev. | 1 | 1 | 0 | 28K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/channel | A lightweight PHP standard library component that provides a channel abstraction for passing messages between producers and consumers. Useful for simple concurrency patterns, pipelines, and event-style communication with a minimal, dependency-free API. | 1 | 1 | 0 | 28K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/collection | 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 | 1 | 0 | 30K | 0 | 21.2 | 64.9 | MIT | 1 week ago | |
| php-standard-library/comparison | Small PHP comparison utilities that provide consistent, reusable ways to compare values. Useful for sorting, equality checks, and custom comparator functions without rewriting boilerplate across your projects. | 1 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/date-time | 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 | 1 | 0 | 28K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| 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. | 1 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/either-or-both | EitherOrBoth provides a three-variant union type for PHP: Left, Right, or Both. Model values that may exist on either side or simultaneously, with a clear, type-safe API for representing and handling these outcomes. | 4 | 3 | 0 | 3K | 0 | 20.5 | 21.2 | MIT | 1 week ago | |
| php-standard-library/env | Tiny PHP utility for reading environment variables with sensible defaults and type casting. Helps centralize access to config via env(), supports required keys, fallback values, and safe handling when variables are missing or empty. | 0 | 0 | 0 | 12K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/file | 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 | 1 | 0 | 27K | 0 | 21.2 | 64.9 | MIT | 1 week ago | |
| php-standard-library/filesystem | 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 | 1 | 0 | 21K | 0 | 21.2 | 64.9 | MIT | 1 week ago | |
| php-standard-library/fun | Functional programming utilities for PHP: compose and pipe callables, decorate functions, and control execution (memoize, throttle, debounce, retry, etc.). Part of PHP Standard Library with focused, reusable helpers for cleaner functional-style code. | 1 | 1 | 0 | 14K | 0 | 21.2 | 61.5 | MIT | 1 week ago | |
| php-standard-library/hash | 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 | 4K | 0 | 21.2 | 58.8 | MIT | 1 week ago | |
| php-standard-library/io | Handle-based I/O abstractions for PHP: composable, testable streams and readers/writers designed to be async-ready. Part of PHP Standard Library, with docs and contribution links available via php-standard-library.dev. | 1 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/iter | 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 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/json | 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 | 1 | 0 | 22K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/math | Strictly typed math utilities for PHP with predictable, consistent error handling. Part of the PHP Standard Library project, providing reliable mathematical functions and a stable developer experience for safer numeric operations. | 1 | 1 | 0 | 14K | 0 | 21.2 | 62.1 | MIT | 1 week ago | |
| php-standard-library/option | Option type for PHP with Some/None to replace nullable values with explicit presence semantics. Helps avoid null checks, clarifies intent, and models optional data safely. Part of PHP Standard Library; see docs and contributing links. | 1 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/process | Typed, non-blocking PHP API for spawning, monitoring, and controlling child processes. Manage stdin/stdout/stderr streams, retrieve exit codes, and handle timeouts and signals with a clean, reliable interface for long-running and parallel tasks. | 0 | 0 | 0 | 13K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/range | Range types for integer sequences with built-in iteration support. Create, traverse, and manipulate numeric ranges with a clean, standard-library style API. Part of the PHP Standard Library project; see docs, contribute, or report issues on GitHub. | 1 | 1 | 0 | 28K | 0 | 21.2 | 64.9 | MIT | 1 week ago | |
| php-standard-library/regex | Type-safe regex for PHP with typed capture groups and predictable error handling. Build expressions with confidence, get structured match results, and avoid silent failures common in preg_* functions. Part of PHP Standard Library. | 0 | 1 | — | 27K | — | 21.2 | 64.8 | — | — | |
| php-standard-library/result | A lightweight Result type for PHP that represents success or failure as a value, enabling controlled error handling without exceptions. Helps you return, compose, and inspect outcomes explicitly for safer, predictable application flow. | 1 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/secure-random | Generate cryptographically secure random tokens, passwords, nonces, and bytes in PHP. SecureRandom provides simple, reliable APIs built on native CSPRNG sources, suitable for authentication, CSRF protection, and other security-sensitive identifiers. | 0 | 0 | 0 | 2K | 0 | 21.2 | 52.5 | MIT | 1 week ago | |
| php-standard-library/shell | Execute shell commands safely in PHP with robust argument escaping, clear capture of stdout/stderr, and helpful error handling. Part of PHP Standard Library, designed for predictable command execution and output management across environments. | 0 | 0 | 0 | 12K | 0 | 21.2 | 64.9 | MIT | 1 week ago | |
| php-standard-library/str | 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 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/type | 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 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| php-standard-library/vec | 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 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| roave/backward-compatibility-check | Checks your PHP library for backward compatibility breaks between git tags/versions. Designed for CI: compares the last SemVer tag to current HEAD, reports API breaks, and exits non-zero on failure. Install via Composer or run in Docker. | 596 | 596 | 66 | 104K | 37 | 45.4 | 52.3 | MIT | 3 weeks ago | |
| veewee/xml | Type-safe, declarative XML toolkit for PHP. Includes DOM helpers, xml_encode/xml_decode, safe error handling, memory-safe reader/writer, plus XSD and XSLT utilities. Spec-compliance ready (v4 for PHP 8.4+; v3 maintained). | 183 | 183 | 11 | 313K | 1 | 29.2 | 51.7 | MIT | 1 month ago |
How can I help you explore Laravel packages today?