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 | 0 | 0 | 8K | 0 | 20.6 | 58.7 | MIT | 2 weeks ago | |
| php-standard-library/channel | Async channels for PHP: lightweight, standard-library-style primitives to pass values between coroutines or threads. Provides buffered/unbuffered channels, send/receive operations, closing semantics, and helpers for coordinating producers/consumers and building pipelines. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks 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 | 0 | 0 | 9K | 0 | 20.6 | 59.3 | MIT | 2 weeks ago | |
| php-standard-library/comparison | Lightweight PHP comparison helpers from php-standard-library. Provides simple, reusable utilities for comparing values consistently across your codebase, aiming to reduce boilerplate and make sorting/equality checks easier in small projects. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks 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 | 0 | 0 | 8K | 0 | 20.6 | 58.7 | MIT | 2 weeks 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 | 0 | 0 | 10K | 0 | 20.6 | 60.1 | MIT | 2 weeks 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 | 6K | 0 | 20.6 | 61.1 | MIT | 2 weeks 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 | 0 | 0 | 9K | 0 | 20.6 | 59.7 | MIT | 2 weeks 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 | 0 | 0 | 5K | 0 | 20.6 | 55.8 | MIT | 2 weeks 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 | 0 | 0 | 3K | 0 | 20.6 | 51.3 | MIT | 2 weeks 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 | 1K | 0 | 20.6 | 50.2 | MIT | 2 weeks 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 | 0 | 0 | 8K | 0 | 20.6 | 58.7 | MIT | 2 weeks 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 | 0 | 0 | 9K | 0 | 20.6 | 59.4 | MIT | 2 weeks 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 | 0 | 0 | 8K | 0 | 20.6 | 58.1 | MIT | 2 weeks 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 | 0 | 0 | 4K | 0 | 20.6 | 53.9 | MIT | 2 weeks 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 | 0 | 0 | 9K | 0 | 20.6 | 59.4 | MIT | 2 weeks 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 | 4K | 0 | 20.6 | 58.2 | MIT | 2 weeks 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 | 0 | 0 | 8K | 0 | 20.6 | 58.5 | MIT | 2 weeks 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. | 1 | 0 | 0 | 6K | 0 | 20.6 | 56.6 | MIT | 2 weeks ago | |
| 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 | 0 | 0 | 8K | 0 | 20.6 | 58.9 | MIT | 2 weeks 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 | 20.6 | 52.9 | MIT | 2 weeks 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 | 3K | 0 | 20.6 | 57.1 | MIT | 2 weeks 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 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks 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 | 0 | 0 | 12K | 0 | 20.6 | 61.3 | MIT | 2 weeks 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 | 0 | 0 | 11K | 0 | 20.6 | 60.7 | MIT | 2 weeks ago | |
| roave/backward-compatibility-check | CLI tool to detect backward-compatibility breaks between two versions of a PHP library. Compares the last SemVer git tag to current HEAD (or chosen refs) and fails CI on API breaks. Install via Composer or run with Docker. | 595 | 595 | 66 | 65K | 37 | 45.8 | 49.6 | MIT | 2 weeks ago | |
| veewee/xml | Type-safe, declarative XML toolkit for PHP. Work with DOM safely, encode/decode XML like JSON, handle errors, and stream large files with memory-safe reader/writer. Includes XSD schema tools and XSLT transformations. Spec-compliant from v4 (PHP 8.4+). | 183 | 181 | 11 | 332K | 1 | 30.4 | 52.9 | MIT | 1 week ago |
How can I help you explore Laravel packages today?