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

Better Types Laravel Package

spatie/better-types

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
typhoon/type 0.86 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
View on GitHub
Context7
php-standard-library/type 0.85 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
View on GitHub
Context7
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. 0 321 1 1.9
View on GitHub
Context7
symfony/type-info 0.84 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
View on GitHub
Context7
flow-php/types 0.84 Flow PHP type system library with typed value objects and type definitions for consistent, safe data handling across the Flow ecosystem. Designed for ETL pipelines, it helps enforce data contracts and reduce runtime type errors. 2 2 1 61K 0 0.0 55.3 MIT
View on GitHub
Context7
atournayre/types 0.83 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
View on GitHub
Context7
php-standard-library/either-or-both 0.83 EitherOrBoth provides a three-variant union type for PHP: Left, Right, or Both. Model values that may exist on either side or simultaneously, with a clear, type-safe API for representing and handling these outcomes. 4 3 0 3K 0 20.5 21.2 MIT 1 week ago
View on GitHub
Context7
spatie/laravel-data 0.83 Create rich, typed data objects for Laravel that replace form requests and API transformers. Automatically map from requests, validate with inferred rules, transform to resources (with lazy/partial fields), and generate TypeScript definitions from the same source. 1,757 1,760 282 2M 3 47.5 49.2 MIT 4 weeks ago
View on GitHub
Deep Wiki
Context7
spatie/laravel-web-tinker 0.83 Adds Laravel’s Tinker REPL to your browser via a protected route, making it easy to run and tweak code without the terminal. Includes light/dark UI and simple install/publish commands. For local/dev only—can execute arbitrary code. 1,216 1,222 76 108K 0 36.3 31.3 MIT 1 month ago
View on GitHub
Deep Wiki
Context7
digitalrevolution/utils 0.82 1 1 8 3K 1 27.8 51.8 MIT 1 month ago
View on GitHub
Context7
kiwilan/typescriptable-laravel 0.82 39 39 9 1K 7 12.1 25.2 MIT 1 year ago
View on GitHub
Context7
cviebrock/eloquent-typecast 0.82 24 26 1 785 0 0.2 20.6 MIT
View on GitHub
Context7
spatie/php-attribute-reader 0.79 Lightweight PHP 8+ utility to read native attributes from classes, methods, properties, and parameters using reflection. Designed for simple, fast attribute discovery in frameworks and libraries, with an API that fits common annotation-style workflows. 90 90 2 368K 0 16.0 56.3 MIT 3 months ago
View on GitHub
Context7
spatie/php-type-graph 0.77 Build a graph of all PHP types in your project. Analyze classes, interfaces, enums, and their relationships to understand your codebase structure, dependencies, and type usage. Useful for architecture insights, tooling, and visualization (WIP). 10 9 4 0 0 0.7 MIT 2 years ago
View on GitHub
Context7
roave/better-reflection 0.77 Enhanced PHP reflection for static analysis: reflect classes without loading them, from PHP code strings or closures, extract AST from functions/methods, and read type declarations and docblocks. Feature-rich but slower than native reflection. 1,241 1,245 137 326K 14 42.8 45.4 MIT 1 month ago
View on GitHub
Context7
spatie/schema-org 0.76 Fluent PHP builder for the full Schema.org vocabulary. Create Schema.org types and properties via chainable methods and output valid JSON-LD/ld+json scripts for SEO. Auto-generated from Schema.org standards for complete coverage. 1,490 1,510 144 309K 1 39.5 37.0 MIT 1 month ago
View on GitHub
Deep Wiki
Context7
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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope