Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Type Laravel Package

sebastian/type

sebastian/type provides lightweight value objects for representing and working with PHP’s type system (built-in, class, union, intersection, nullable, etc.). Useful for static analysis tools, reflection helpers, and test utilities that need precise type modeling.

View on GitHub
Deep Wiki
Context7
7.0.2

Changed

  • Improved the performance of Type::fromValue() as well as isAssignable() for object, callable, and iterable types

Fixed

  • CallableType::isAssignable() and IterableType::isAssignable() raise an error when the other type is an ObjectType for a class that does not exist
    • TypeName::fromReflection() cannot be called with a ReflectionClass object for a concrete class without an error being reported by PHPStan
7.0.1

Fixed

  • #18: Class aliases are not resolved when checking type assignability
6.0.4

Fixed

  • #18: Class aliases are not resolved when checking type assignability
7.0.0

Removed

  • This component is no longer supported on PHP 8.3
6.0.3

Fixed

  • #34: infection.json is missing from .gitattributes
5.1.3

Fixed

  • #34: infection.json is missing from .gitattributes
6.0.2

Fixed

  • #33: ReflectionMapper does not handle unions that contain iterable correctly
5.1.2

Fixed

  • #33: ReflectionMapper does not handle unions that contain iterable correctly
6.0.1

Fixed

  • #33: ReflectionMapper does not handle unions that contain iterable correctly
5.1.1

Fixed

  • #33: ReflectionMapper does not handle unions that contain iterable correctly
6.0.0

Removed

  • This component is no longer supported on PHP 8.2
5.1.0

Added

  • Added ReflectionMapper::fromPropertyType() for mapping \ReflectionProperty to a Type object
5.0.1

Changed

  • This project now uses PHPStan instead of Psalm for static analysis
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle