Skip to content

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

License

Notifications You must be signed in to change notification settings

ducks-project/spl-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SplTypes

Github Action Status Coverage Status CircleCI

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status codecov Status Appveyor status

Psalm Type Coverage Psalm Level

License Latest Stable Version PHP Version Require

Total Downloads Monthly Downloads Daily Downloads

Duck's Validated Packagist online Documentation Status

Contributor Covenant

CircleCI

Description

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

It provides classes unavailable if you can't install SPL Types extension:

General information

Since v7.0.0, breaking changes has appeared in relation to the pecl extension. This is mainly due to the lack of maintenance and relevance of the original extension, associated with the strong typing introduced in: php 7.4 and the existence of enums since php 8.

Glossary

License

This library is released under the MIT license.

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages