PHP TypeLang
PHP strict type description language-
Verified
We've verified that the organization php-type-language controls the domain:
- typelang.dev
TypeLang is a toolkit for the type syntax of PHPDoc: the one you write
in @param, @return and @var for PHPStan and
Psalm.
$type = new TypeLang\Parser\TypeParser()
->parse('array<non-empty-string, list<User>|null>');
| Package | What it does |
|---|---|
| parser | Type string to AST |
| types | AST nodes |
| printer | AST back to a string |
| reader | PHP Reflection to AST |
| phpdoc | DocBlock to description and tags |
| mapper | Maps data to objects and back by these types |
Documentation · Syntax Reference
Pinned Loading
-
dev dev Public
A monorepo with core development packages
PHP 1
-
parser parser Public
[READ ONLY] 🧱 Library for parsing and validating TypeLang syntax and converting it into AST nodes
-
mapper mapper Public
[READ ONLY]⚡ The best PHP mapper (hydrator/serializer) you've ever seen!
-
phpdoc phpdoc Public
[READ ONLY] 🗃️ Library for recognizing PHPDoc Tags in PHP DocBlock comments
Repositories
Showing 10 of 13 repositories-
printer
Public
[READ ONLY] 🖌️ Library for rendering TypeLange AST nodes into it's string representation
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/printer's past year of commit activity PHP 1 MIT 0 0 0 Updated Dec 2, 2026 -
mapper
Public
[READ ONLY]⚡ The best PHP mapper (hydrator/serializer) you've ever seen!
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/mapper's past year of commit activity PHP 38 MIT 2 2 0 Updated Dec 2, 2026 -
mapper-laravel
Public
[READ ONLY] ✨ TypeLang Mapper bridge for Laravel Framework
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/mapper-laravel's past year of commit activity PHP 0 MIT 0 0 0 Updated Dec 2, 2026 -
phpdoc
Public
[READ ONLY] 🗃️ Library for recognizing PHPDoc Tags in PHP DocBlock comments
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/phpdoc's past year of commit activity PHP 10 MIT 1 0 0 Updated Dec 2, 2026 -
mapper-symfony
Public
[READ ONLY] ✨ Symfony Bundle for Type Lang Mapper
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/mapper-symfony's past year of commit activity PHP 0 MIT 0 0 0 Updated Dec 2, 2026 -
docs
Public
📖 PHP TypeLang Documentation Pages
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/docs's past year of commit activity MDX 1 1 0 0 Updated Dec 2, 2026 -
reader
Public
[READ ONLY] 📰 Library for reading TypeLang AST nodes from types exposed by PHP Reflection objects
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/reader's past year of commit activity PHP 6 MIT 0 0 0 Updated Dec 2, 2026 -
parser
Public
[READ ONLY] 🧱 Library for parsing and validating TypeLang syntax and converting it into AST nodes
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/parser's past year of commit activity PHP 51 MIT 2 0 0 Updated Dec 2, 2026 -
types
Public
[READ ONLY] 📦 An AST nodes of the TypeLang
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/types's past year of commit activity PHP 0 MIT 0 0 0 Updated Dec 2, 2026 -
dev
Public
A monorepo with core development packages
Uh oh!
There was an error while loading. Please reload this page.
php-type-language/dev's past year of commit activity PHP 1 MIT 0 1 0 Updated Dec 2, 2026
People
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.