vanio/type-parser
Vanio Type Parser is a lightweight PHP library that turns type declaration strings—unions, intersections, nullable types, generics, arrays and callables—into structured, inspectable objects, making it easy to analyze, validate and manipulate type information for reflection, tooling and code generati...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| vanio/vanio-api-bundle | 0.86 | Vanio API Bundle offers a structured foundation for building APIs in PHP applications, with reusable components for endpoint configuration, request handling, and response serialization. It integrates with existing frameworks to simplify consistent API development. | 1 | 1 | 1 | 11 | 0 | 0.3 | 11.6 | MIT | — | |
| laravel/surveyor | 0.86 | Laravel Surveyor is a mostly static analysis tool that parses PHP files to extract detailed metadata about classes, methods, properties, and return types, exposing it in a structured format other tools can consume. Currently in beta. | 94 | 94 | 27 | 121K | 4 | 29.3 | 54.7 | — | 3 days ago | |
| 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 | 337 | 1 | 0.2 | 19.7 | MIT | — | |
| nolanos/laravel-model-typescript-transfomer | 0.85 | Generates TypeScript definitions for Laravel Eloquent models via spatie/laravel-typescript-transformer. Maps database column types to TypeScript, respects hidden/visible fields, handles nullable columns, and works with php artisan typescript:generate. | 0 | 7 | — | 275 | — | 1.8 | 33.7 | — | — | |
| based/laravel-typescript | 0.85 | 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 | |
| spatie/php-type-graph | 0.85 | 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 | 10 | 4 | 0 | 0 | 0.7 | — | MIT | 2 years ago | |
| janit/typescript-generator-bundle | 0.85 | A Symfony bundle that generates TypeScript definitions from PHP classes, helping keep frontend and backend types in sync. It automates type generation so TypeScript clients stay aligned with your application models. | 16 | 16 | 5 | 0 | 1 | 0.4 | — | MIT | — | |
| 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 | |
| json-mapper/laravel-package | 0.85 | Map JSON payloads and arrays into typed PHP objects and DTOs with this Laravel package. A fluent API defines field mappings, nested structures, and collections, with clean integration into Laravel's container, facades, and config. | 25 | 25 | 5 | 12K | 0 | 8.9 | 39.4 | MIT | 7 months ago | |
| ngmy/laravel-ide-helper-eloquent | 0.85 | Generate PHPDoc annotations for Eloquent models to improve IDE autocompletion and static analysis. This Laravel package inspects your models, database schema, and relationships to produce accurate @property, @method, and relationship hints, making model code easier to navigate in PhpStorm, VS Code,... | 0 | 0 | 0 | 0 | 0 | 6.3 | — | MIT | 8 months ago | |
| radebatz/type-info-extras | 0.85 | 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 | |
| fabricio872/api-modeller-bundle | 0.84 | API Modeller Bundle is a Symfony package for defining and generating API models from your application's entities and schemas. It aims to streamline endpoint scaffolding and keep request/response structures consistent. Early-stage with limited documentation and adoption, so evaluate fit carefully. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | 4 years ago | |
| pion/laravel-support-eloquent | 0.84 | pion/laravel-support-eloquent offers reusable Eloquent support tools for Laravel, including helpful model traits and utilities that simplify common database and model tasks. It integrates smoothly with existing models to help you write cleaner, more maintainable application code. | 3 | 3 | 1 | 263 | 0 | 13.7 | 28.2 | MIT | 4 months ago | |
| typhoon/type | 0.84 | 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. | 66 | 66 | 2 | 9K | 2 | 16.0 | 32.8 | MIT | 6 months ago | |
| spatie/typescript-transformer | 0.84 | Convert PHP classes, enums, and DTOs into TypeScript types with spatie/typescript-transformer. It supports complex types, generics, and generated TypeScript functions, making frontend/backend type sharing simple. | 403 | 404 | 59 | 1M | 0 | 29.6 | 54.5 | MIT | 2 months ago | |
| goaop/parser-reflection | 0.84 | Parser Reflection brings PHP's Reflection API to static analysis: parse source files into an AST and introspect classes, methods, and properties without autoloading, including, or executing code. Drop-in compatible with native Reflection classes for analyzers, generators, and IDE tooling. | 101 | 101 | 50 | 30K | 4 | 27.1 | 40.7 | MIT | 4 days ago | |
| jacopo/laravel-library | 0.84 | jacopo/laravel-library is a lightweight Laravel package that provides a reusable library of helpers and components for common application tasks. It installs via Composer and follows Laravel conventions, offering a simple starting point for developers who want to reduce boilerplate. | 1 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| php-di/phpdoc-reader | 0.84 | PhpDocReader parses @var and @param docblock types to resolve class names, supporting fully qualified, imported, relative, and aliased names with the same rules as PHP. Primitive types are ignored; only valid class names are returned. Used by PHP-DI. | 73 | 77 | 15 | 629K | 0 | 4.1 | 54.3 | MIT | 6 years ago | |
| webparking/laravel-type-safe-collection | 0.84 | 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 | |
| sebastian/type | 0.84 | 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. | 1,503 | 1,503 | 13 | 24M | 1 | 27.4 | 62.7 | BSD-3-Clause | 2 months ago |
How can I help you explore Laravel packages today?