Libraries tagged by type-hint
marc-mabe/php-enum
6537562 Downloads
Simple and fast implementation of enumerations with native PHP
sroze/argument-resolver
32806 Downloads
A lightweight utility to resolve method arguments based on types and names
willdurand/propel-typehintable-behavior
512262 Downloads
Insane Propel behavior that helps you to be compliant with third-party interfaces by adding type hint to generated methods.
rutek/dataclass
25399 Downloads
Library for validation of type-hinted classes
nealio82/avro-php
64688 Downloads
Implementation of Apache's Avro PHP library with Composer support, PSR-4 autoloading, namespaces, and type hinted method parameters
ducks-project/spl-types
25463 Downloads
Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string
vistik/typed-collections
27448 Downloads
A simple way to create typed collections in PHP - build on Illuminate\Support\Collection
seferov/typhp
3045 Downloads
Enforce type declaring
nyholm/class-requirement-extractor
7370 Downloads
Extract requirements from classes. Use type hints and Symfony Validation
serafim/properties
9069 Downloads
PHP properties implementation
marc-mabe/enum-cl
3346 Downloads
Compatibility layer for emulating enumerations in PHP < 8.1 and native enumerations in PHP >= 8.1
nette/type-fixer
2488 Downloads
🆙 A tool to automatically update type hints in your PHP code.
rockschtar/typed-arrays
13755 Downloads
Primitive typed arrays and typed array abstraction with type hints.
dunglas/phpdoc-to-typehint
72 Downloads
Generate scalar type hints from PHPDoc annotations
gajus/doll
159 Downloads
Extended PDO with inline type hinting, deferred connection support, logging and benchmarking.