typhoon/type
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| larastan/larastan | 0.85 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,547 | 6,560 | 529 | 11M | 39 | 85.8 | 78.7 | MIT | 4 days ago | |
| prewk/result | 0.84 | prewk/result brings Rust-like Result to PHP: explicit Ok/Err values for safer, more readable error handling without exceptions. Use map/flatMap, unwrap/unwrapOr, and chain operations to handle success and failure paths cleanly in functional style. | 120 | 120 | 12 | 21K | 0 | 1.9 | 33.7 | NOASSERTION | — | |
| elasticms/helpers | 0.84 | PHP Helpers wraps and simplifies common PHP functions into PHPStan-compliant helpers, making static analysis easier and code safer across elasticMS projects. Part of the elasticMS monorepo, with docs and issue tracking available on GitHub. | 0 | 0 | 0 | 196 | 0 | 34.2 | 37.1 | LGPL-3.0 | 2 weeks ago | |
| spatie/typed | 0.84 | 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. | 316 | 317 | 15 | 18 | 0 | 1.9 | 0.2 | MIT | 5 years ago | |
| respect/stringifier | 0.84 | Respect\Stringifier converts any PHP value into a readable string for logging, debugging, and error messages. Use the stringify() function or the HandlerStringifier object. Secure-by-default handling of strings in newer versions. Requires PHP 8.3+. | 26 | 27 | 2 | 1M | 0 | 11.6 | 60.2 | MIT | 5 months ago | |
| spatie/better-types | 0.83 | 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. | 82 | 82 | 5 | 278K | 0 | 9.2 | 51.2 | MIT | 8 months ago | |
| graham-campbell/result-type | 0.83 | Result Type is a PHP implementation of the result type, maintained by Graham Campbell. It offers a clean way to represent success or failure values instead of exceptions. Install via Composer with graham-campbell/result-type ^1.1; requires PHP 7.2.5-8.6. MIT licensed. | 0 | 556 | — | 23M | — | 3.6 | 55.3 | — | — | |
| kiwilan/typescriptable-laravel | 0.83 | — | 39 | 39 | 9 | 2K | 7 | 12.1 | 27.7 | MIT | 1 year ago | |
| phpstan/php-8-stubs | 0.83 | Stub files for PHP 8 built-in functions, classes, and extensions, maintained for PHPStan. Improves static analysis and type inference by providing accurate signatures and phpDoc where native reflection is incomplete or inconsistent. | 31 | 31 | 12 | 333K | 3 | 30.2 | 65.5 | MIT | 1 week ago | |
| korbeil/phpstan-generic-rules | 0.83 | PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. | 12 | 12 | 4 | 6K | 2 | 3.9 | 36.6 | — | 1 year ago | |
| diephp/laravel-resources-typescript | 0.83 | — | 3 | 3 | 0 | 91 | 0 | 0.1 | 19.0 | MIT | — | |
| beloop/typeform | 0.83 | Read-only Typeform component from the Beloop LMS components suite. Provides Typeform integration as part of the broader beloop/components project (Symfony-based) under the MIT license. For support and contributions, use beloop/components. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | — | 7 years ago | |
| typhoon/exporter | 0.83 | Typhoon Exporter converts PHP values into valid PHP code strings you can save and later require to recreate the original value. Use Exporter::export($value) to generate code for config, fixtures, caching, or code generation workflows. | 7 | 6 | 1 | 68 | 0 | 1.1 | 13.5 | MIT | 2 years ago | |
| typhoon/reflection | 0.83 | Static, fast alternative to PHP’s native Reflection. Reflects code without running or autoloading it, uses lazy loading + caching, and stays compatible with native reflection. Supports Psalm/PHPStan phpDoc types, template resolution, and avoids memory leaks (safe with zend.enable_gc=0). | 40 | 39 | 3 | 3K | 3 | 5.3 | 25.9 | MIT | 2 years ago | |
| jetbrains/phpstorm-attributes | 0.82 | JetBrains PhpStorm attributes provide PHP 8 attributes for richer code completion and analysis in PhpStorm, including Deprecated, ArrayShape, ObjectShape, and Immutable. Bundled with PhpStorm; add as a dev dependency for other static analysis tools. | 415 | 414 | 11 | 490K | 7 | 21.2 | 50.2 | Apache-2.0 | 2 months ago | |
| apie/type-converter | 0.82 | Apie type converter converts PHP objects into other objects, ideal for mapping DTOs to domain objects and back. It ships with default converters and lets you easily write your own. | 0 | 0 | 0 | 3K | 0 | 16.4 | 53.7 | MIT | 2 months ago | |
| jetbrains/phpstorm-stubs | 0.82 | Official JetBrains stubs provide syntactically correct PHP function and class signatures, constants, and detailed PHPDoc for built-in PHP and most standard extensions. They power IDE completion, code inspection, type inference, and documentation popups in PhpStorm and other tools. | 1,397 | 1,373 | 824 | 2M | 0 | 43.3 | 50.8 | Apache-2.0 | 3 months ago | |
| dragon-code/pretty-array | 0.82 | Framework-agnostic PHP utility to export arrays into a readable, pretty PHP representation. Preserves numeric keys correctly (unlike symfony/var-exporter), making it ideal for generated config/translation files and other array dumps you want to commit or inspect. | 17 | 17 | 1 | 1M | 0 | 4.3 | 39.0 | MIT | 1 year ago | |
| php-di/php-di | 0.81 | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,772 | 2,855 | 320 | 4M | 56 | 49.2 | 64.3 | MIT | 1 year ago | |
| php-standard-library/collection | 0.81 | Generic, object-oriented Vector, Map, and Set collections for PHP, available in both immutable and mutable variants. Part of the PHP Standard Library, offering a consistent, type-safe API for building and transforming collections. | 1 | 1 | 0 | 54K | 0 | 21.6 | 64.9 | MIT | 1 week ago |
How can I help you explore Laravel packages today?