sebastian/type
sebastian/type provides lightweight value objects that model PHP’s type system. Useful for tools and libraries that need to represent, compare, and work with types (including complex and composite types) in a consistent, structured way.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/object-enumerator | 0.80 | Traverses array structures and object graphs to enumerate all referenced objects, helping you inspect, analyze, or collect objects reachable from complex data structures. Install via Composer for production or as a dev dependency for testing and tooling. | 0 | 6,539 | — | 13M | — | 40.1 | 51.1 | — | — | |
| sebastian/lines-of-code | 0.80 | sebastian/lines-of-code is a lightweight PHP library for counting lines of code in PHP source files. Useful for reporting, metrics, and tooling, it can be installed via Composer as a runtime or dev dependency. | 1,174 | 1,175 | 8 | 12M | 1 | 27.3 | 64.7 | BSD-3-Clause | 2 weeks ago | |
| sebastianfeldmann/cli | 0.79 | Lightweight PHP library for building CLI tools: defines commands and options, parses argv, validates input, and renders help/usage output. Clean API for composing console applications with consistent argument handling and exit codes. | 21 | 21 | 8 | 300K | 4 | 9.8 | 55.8 | MIT | 1 year ago | |
| sebastian/phpcpd | 0.79 | PHPCPD is a copy/paste detector for PHP that finds duplicated code (clones) across files and reports duplicate lines and locations. Distributed as a PHAR and installable via Phive. Note: this project is unmaintained and archived. | 2,213 | 2,253 | 189 | 391K | 0 | 8.4 | 21.9 | BSD-3-Clause | — | |
| sebastian/version | 0.78 | Library for deriving a PHP project’s version from Git. Provide a release string and project path; Version::asString() returns the release, a -dev suffix, or git describe output (tags/commits) depending on repo state and release format. | 6,580 | 6,596 | 36 | 14M | 1 | 41.0 | 51.3 | BSD-3-Clause | 3 months ago | |
| rector/type-perfect | 0.78 | Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. | 103 | 103 | 7 | 360K | 0 | 0.7 | 48.7 | MIT | — | |
| symfony/type-info | 0.78 | Symfony TypeInfo extracts and normalizes PHP type information from reflections and type strings, with support for generics, nullables, enums, and collections. Resolve types via TypeResolver and work with a rich Type API for inspection and string casting. | 199 | 199 | 3 | 5M | 0 | 33.4 | 65.0 | MIT | 1 week ago | |
| tomasvotruba/type-coverage | 0.77 | CLI tool for measuring PHP type coverage. Scans your codebase and reports how much is covered by native types and PHPDoc (params, returns, properties), helping you spot missing types, raise strictness, and improve static analysis readiness. | 212 | 211 | 14 | 600K | 0 | 11.8 | 51.9 | MIT | 6 months ago | |
| sebastian/environment | 0.77 | sebastian/environment helps PHP developers detect runtime details (PHP vs HHVM, OS, architecture, 32/64-bit, debugging extensions) to choose runtime-specific execution paths. Commonly used by testing tools to adapt behavior to the environment. | 6,776 | 6,786 | 37 | 13M | 1 | 51.9 | 53.9 | BSD-3-Clause | 1 week ago | |
| php-standard-library/type | 0.77 | 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 | |
| spatie/better-types | 0.77 | Reflection-powered type checking for PHP: verify whether a ReflectionType or method signature accepts given arguments (including unions/nullables and named params). Useful for dispatching/overload-like method selection and safer dynamic calls. | 81 | 81 | 5 | 215K | 0 | 17.6 | 53.2 | MIT | 3 months ago | |
| sebastian/complexity | 0.77 | Compute code complexity metrics for PHP units (functions, methods, classes). sebastian/complexity provides programmatic analysis useful for static analysis tools, quality gates, and CI reporting; install via Composer for project or dev-only use. | 1,258 | 1,258 | 10 | 13M | 1 | 21.4 | 62.6 | BSD-3-Clause | 3 months ago | |
| typhoon/type | 0.76 | Typhoon Type provides an object abstraction over PHP’s modern type system for building tools that understand complex types. Define, print (stringify), and work with array shapes, object types, non-empty lists, and more in a consistent API. | 64 | 63 | 2 | 2K | 2 | 23.4 | 25.4 | MIT | 1 month ago | |
| radebatz/type-info-extras | 0.76 | Extra type information helpers for radebatz/type-info. Adds additional utilities for describing, inspecting, and working with PHP types, improving reflection-based tooling and type metadata in your projects. | 4 | 5 | 0 | 816K | 0 | 17.5 | 62.6 | MIT | 2 months ago | |
| sebastian/global-state | 0.75 | sebastian/global-state snapshots and restores PHP global state (globals, superglobals, ini settings, etc.), extracted from PHPUnit as a standalone component. Useful for test isolation and detecting side effects by capturing state before and after code runs. | 6,604 | 6,607 | 19 | 14M | 1 | 41.5 | 51.1 | BSD-3-Clause | 4 days ago | |
| php-standard-library/collection | 0.69 | 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 | |
| atournayre/types | 0.68 | Lightweight PHP library providing reusable types/value objects. Installable via Composer, intended to standardize and validate common domain data. Open-source on GitHub with issue tracker and MIT license. | 0 | 0 | 0 | 10 | 0 | 3.0 | 14.4 | MIT | 2 years ago | |
| cubicmushroom/valueobjects | 0.68 | A small PHP package providing lightweight Value Object classes to model immutable domain values (e.g., IDs, money, email, dates) with validation and type-safety. Useful for cleaner Laravel apps and DDD-style codebases. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — |
How can I help you explore Laravel packages today?