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
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
flow-php/types 0.87 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 62K 0 0.1 55.3 MIT —
View on GitHub
Context7
phpstan/phpstan-strict-rules 0.86 Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. 714 721 63 5M 35 45.9 75.1 MIT 5 days ago
View on GitHub
larastan/larastan 0.86 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
View on GitHub
Context7
apie/type-converter 0.86 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
View on GitHub
romanzipp/dto 0.86 Lightweight data transfer objects for PHP and Laravel. Define typed properties, cast and validate values, and convert DTOs to and from arrays with ease, keeping request and response data structured and type-safe. 12 12 1 347 1 0.2 19.9 MIT —
View on GitHub
spatie/typed 0.86 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
View on GitHub
based/laravel-typescript 0.86 based/laravel-typescript generates TypeScript definitions from Laravel models, resources, and routes, keeping frontend and backend types in sync via artisan commands and configurable output. 396 399 53 1K 10 6.9 13.1 MIT 5 years ago
View on GitHub
tomasvotruba/type-coverage 0.86 PHPStan extension that measures and enforces a minimum type declaration coverage rate across your properties, params, and return types. Set per-category thresholds in phpstan.neon and raise them gradually, making it easy to adopt even on legacy projects. 226 223 14 2M 0 21.0 61.7 MIT 4 weeks ago
View on GitHub
php-standard-library/type 0.86 Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. 1 1 0 114K 0 21.4 64.8 MIT 1 week ago
View on GitHub
webparking/laravel-type-safe-collection 0.86 Webparking's Laravel Type-Safe Collection adds strongly typed collections to Laravel. Define the permitted item class once to get runtime type checks, clearer errors, IDE autocompletion, and safer map/filter operations, keeping collection contents predictable and preventing mixed-type bugs. 37 37 2 0 0 0.5 — MIT 6 years ago
View on GitHub
radebatz/type-info-extras 0.86 Type Info Extras extends the radebatz/type-info package with additional type classes and utilities for working with complex PHP types. It helps inspect unions, intersections, generics, and docblock types, making it useful for static analysis, reflection, and code generation tools. 4 5 0 3M 0 22.6 64.8 MIT 1 week ago
View on GitHub
symfony/type-info 0.85 Symfony TypeInfo extracts and models PHP type information, resolving types from reflection or strings and letting you build, inspect, and cast types like nullable, list, object, enum, and generic with ease. 208 201 3 8M 0 34.1 64.9 MIT 1 week ago
View on GitHub
spatie/better-types 0.85 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
View on GitHub
phpstan/phpstan-php-parser 0.85 PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. 23 23 8 19K 1 0.3 28.3 — 4 years ago
View on GitHub
rector/type-perfect 0.85 Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. 105 105 7 403K 0 10.5 43.6 MIT 3 months ago
View on GitHub
Context7
phpdocumentor/reflection-common 0.85 ReflectionCommon provides the shared interfaces and base classes behind phpDocumentor's reflection layer, defining common contracts for elements, types, and locations used across the ecosystem. A lightweight, dependency-free foundation for building reflection-based tooling in PHP. 9,031 9,044 22 12M 0 47.6 50.4 MIT 1 month ago
View on GitHub
diephp/laravel-resources-typescript 0.85 — 3 3 0 91 0 0.1 19.0 MIT —
View on GitHub
dave-liddament/php-language-extensions 0.85 PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. 196 196 5 27K 3 3.1 30.6 MIT 11 months ago
View on GitHub
ergebnis/classy 0.85 This Composer package provides collectors for finding classy constructs, including classes, enums, interfaces, and traits, in PHP source code. It offers token-, file-, SplFileInfo-, and Finder-based collectors to gather these declarations for analysis or tooling. 39 39 4 60K 0 24.7 50.7 MIT 1 month ago
View on GitHub
php-standard-library/foundation 0.85 Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... 1 1 0 105K 0 21.6 64.9 MIT 1 week ago
View on GitHub
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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table