Weave 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

A collection of value objects that model the PHP type system, including simple, union, intersection, and special types. Use it to inspect, compare, and represent type information programmatically in PHP projects.

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.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource