innmind/type
innmind/type provides a lightweight type system for PHP, letting you express and enforce typed data structures, unions, and constraints in a declarative way. It integrates cleanly with the Innmind ecosystem and keeps validation explicit and composable.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| innmind/validation | 0.88 | A framework-agnostic validation library for PHP that lets you compose reusable rules, validate nested data structures, and return structured, readable errors for APIs, forms, and domain objects without tying validation to your framework. | 1 | — | 0 | — | 0 | 15.1 | — | MIT | 2 months ago |
|
| innmind/math | 0.86 | InnMind Math is a compact PHP library for common mathematical operations and numeric handling. It offers reusable, framework-agnostic helpers and value objects that make calculations consistent and easy to integrate into PHP projects. | 3 | — | 1 | — | 3 | 16.3 | 0.4 | MIT | 2 months ago |
|
| innmind/immutable | 0.84 | Innmind/Immutable provides persistent, immutable collections for PHP, including sequences, sets, maps, and streams. It offers a functional API with lazy operations, structural sharing, and type-safe wrappers for predictable, side-effect-free data manipulation. | 75 | — | 4 | — | 2 | 16.4 | — | MIT | 2 months ago |
|
| php-standard-library/type | 0.83 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| innmind/specification | 0.83 | Innmind's specification package brings the Specification pattern to PHP, letting you compose business rules with and/or/not operators and reuse them for validation, filtering, or query building. Small immutable objects keep domain logic expressive, decoupled, and testable. | 0 | — | 0 | — | 0 | 8.6 | — | MIT | 7 months ago |
|
| innmind/http | 0.83 | Innmind HTTP provides lightweight, immutable HTTP request and response abstractions for PHP, giving developers a clean, framework-agnostic foundation for building clients, servers, and middleware. | 4 | — | 0 | — | 0 | 15.5 | — | MIT | 2 months ago |
|
| innmind/time | 0.82 | InnMind Time is a PHP library for immutable, object-oriented time handling: instants, durations, and temporal arithmetic via an explicit clock. It avoids hidden global state, making time-dependent code easier to test and reason about. | 0 | — | 0 | — | 0 | 16.1 | — | MIT | 2 months ago |
|
| innmind/json | 0.82 | A lightweight PHP wrapper around JSON encoding and decoding, offering a simple API that throws exceptions on invalid data or encoding failures so serialization and parsing are safer and easier to reason about. | 9 | 9 | 2 | 1K | 0 | 5.3 | 30.8 | MIT | 8 months ago | |
| innmind/reflection | 0.82 | Provides a simple object-oriented wrapper around PHP's native reflection API, letting you inspect classes, interfaces, methods, properties and parameters with a cleaner, more predictable interface. Useful for building tooling, dependency injection containers and code analysis. | 1 | — | 3 | — | 0 | 15.9 | — | MIT | 2 months ago |
|
| bruli/php-value-objects | 0.82 | A lightweight PHP library for building immutable value objects with typed primitive wrappers and validation. bruli/php-value-objects helps enforce domain invariants, reduce primitive obsession, and keep Laravel or any PHP codebase clearer and safer. | 43 | 43 | 13 | 580 | 1 | 0.7 | 15.9 | MIT | — | |
| innmind/colour | 0.82 | A small PHP library for representing and manipulating colours as immutable value objects. Parse hex, RGB and HSL values, convert between colour models and compare colours with a clean API that fits the Innmind ecosystem. | 1 | 1 | 1 | 1K | 0 | 15.5 | 44.0 | MIT | 2 months ago | |
| innmind/mutable | 0.81 | Mutable collection types for PHP, offering in-place Set, Sequence, and Map structures built on InnMind's immutable foundation. Add, remove, and update elements without rebuilding collections, while keeping a clean, type-safe API. Useful when performance matters more than persistence. | 0 | — | 0 | — | 0 | 15.1 | — | MIT | 2 months ago |
|
| innmind/media-type | 0.81 | A PHP library for working with media types (MIME types): parse, validate, and compare content types, handle parameters, and map file extensions. Lightweight and framework-agnostic, it helps Laravel and PHP applications negotiate HTTP responses, validate uploads, and manage content-type headers relia... | 0 | 0 | 0 | 2K | 0 | 15.1 | 50.3 | MIT | 2 months ago | |
| innmind/html | 0.81 | Innmind/html is a PHP library for constructing and manipulating HTML documents as immutable object trees. It provides a typed, composable API for elements, attributes, and text, helping you generate clean markup without fragile string concatenation. | 1 | — | 0 | — | 1 | 15.2 | — | MIT | 2 months ago |
|
| innmind/encoding | 0.81 | Lightweight PHP library from InnMind offering abstractions and implementations for encoding and decoding data, with a clean, consistent interface for converting values to and from encoded representations. Useful for serialization, APIs, and format-agnostic data handling. | 0 | — | 0 | — | 0 | 15.2 | — | MIT | 2 months ago |
|
| innmind/io | 0.80 | A typed I/O abstraction for PHP that wraps streams, files, and sockets behind lazy, composable interfaces. It standardizes reading, writing, and resource handling so applications can swap data sources without changing their logic. | 1 | 1 | 0 | 2K | 1 | 16.1 | 45.7 | MIT | 2 months ago | |
| innmind/xml | 0.80 | Innmind/Xml is a PHP library for reading, building, and manipulating XML documents via immutable node objects. It provides a typed API for documents, elements, attributes, and text, plus readers and writers to convert between XML strings and object trees. | 0 | — | 1 | — | 1 | 15.3 | — | MIT | 2 months ago |
|
| tdn/php-types | 0.80 | A small PHP utility for working with types: safely cast values, validate data against expected types, and normalize scalars, arrays and objects. Lightweight and framework-agnostic, it drops easily into Laravel or any Composer project. | 7 | 8 | 0 | 45 | 0 | 0.0 | 8.0 | NOASSERTION | 11 years ago |
How can I help you explore Laravel packages today?