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. 65 64 2 5K 2 20.9 30.3 MIT 2 months 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 34K 0 19.1 63.9 MIT 1 month 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. 318 321 15 6 0 1.9 0.1 MIT 5 years 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 2 56K 0 0.1 55.3 MIT
View on GitHub
Context7
elasticms/helpers 0.84 0 0 0 121 0 32.0 33.7 LGPL-3.0 4 weeks ago
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 19 0 3.0 18.0 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 4 0 25K 0 18.3 59.0 MIT 1 month 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,774 1,778 285 2M 4 46.2 53.0 MIT 2 months 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,223 75 95K 0 33.7 29.9 MIT 2 months ago
View on GitHub
Deep Wiki
Context7
sebastian/type 0.83 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. 1,503 1,504 13 14M 1 28.3 62.6 BSD-3-Clause 2 months ago
View on GitHub
Context7
digitalrevolution/utils 0.82 1 1 8 2K 1 26.0 48.1 MIT 2 months ago
View on GitHub
Context7
kiwilan/typescriptable-laravel 0.82 39 39 9 2K 7 12.1 26.6 MIT 1 year ago
View on GitHub
Context7
symfony/type-info 0.82 Symfony TypeInfo extracts and models PHP type information from reflections and type strings. Resolve scalars, objects, enums, generics, lists, and nullable types via TypeResolver, inspect identifiers and constraints, and stringify types like Collection. 201 200 3 7M 0 30.7 63.7 MIT 1 month ago
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. 89 90 2 470K 0 13.4 56.8 MIT 4 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,245 1,249 137 584K 14 40.0 47.8 MIT 2 months 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,502 1,511 145 365K 0 39.1 38.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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata