Libraries tagged by nullable
phpstan/phpdoc-parser
359978222 Downloads
PHPDoc parser with support for nullable, intersection and generic types
imanghafoori/laravel-nullable
470030 Downloads
A package to help you write expressive defensive code in a functional manner
dyrynda/laravel-nullable-fields
214339 Downloads
This trait allows you to easily flag attributes that should be set as null when being persisted to the database using the Laravel PHP Framework.
php-standard-library/option
81195 Downloads
Option type (Some/None) replacing nullable types with explicit presence semantics
iatstuti/laravel-nullable-fields
155317 Downloads
This trait allows you to easily flag attributes that should be set as null when being persisted to the database using the Laravel PHP Framework.
watheqalshowaiter/model-fields
1716 Downloads
Get model fields fast — required, nullable, or default
gammadia/bcmath-extended-nullable
104780 Downloads
Fork of krowinski/bcmath-extended with added nullable input arguments
calmohallag/nullable-casting
15551 Downloads
PHP supports expression casting to primitive type (like int) by using “( type ) expression”, but it currently doesn't allow to use a nullable type as introduced by PHP 7.1 (e.g. ?int). This library provide functions that extend native php casting, adding nullable casting.
fmasa/doctrine-nullable-embeddables
26116 Downloads
Mechanism for nullable embeddables in Doctrine 2.5+
sspat/doctrine-nullable-embeddables
2621 Downloads
Patches doctrine/orm to allow usage of nullable embeddables
chrysanthos/nova-nullable-boolean
462 Downloads
A Laravel Nova field.
php-extended/php-optionality-interface
11056 Downloads
A library to specify optionalities in modelisations
xiyusullos/nullable
2216 Downloads
chain calls on object whatever the object is null or not
tarifhaus/doctrine-nullable-embeddable
62128 Downloads
A workaround implementation for nullable embeddables in Doctrine entities.
monro/doctrine-nullable-embedabbles
5068 Downloads
Workarround to the issues related of using Doctrine with embedabbles relations where the relation can be null. If the object is null doctrine would instanciate it with all the properties to null, this library will fix it to set it to null.