Libraries tagged by null object
koriym/null-object
2281607 Downloads
Null object generator
deviantintegral/null-date-time
27549 Downloads
Interfaces and classes supporting empty or null DateTime objects
karavasilev/cryptomanana
153 Downloads
CryptoManana is a cryptography framework for boosting your project's security.
jessegall/php-types
5692 Downloads
Named typed constants and predicates — give meaning to magic literals like '', [], '{}', 0, true and null.
particle-academy/fancy-expr
467 Downloads
A sandboxed expression evaluator: one grammar, three implementations, asserted against a shared conformance table. Paths, literals, logic, comparisons, ternaries and object/array literals -- with no eval, no host reach and no calls of any kind. A malformed expression throws; an absent path is null, and keeping those two apart is the point.
nowo-tech/correlation-contract
827 Downloads
Framework-free correlation id contract: the CorrelationId value object, CorrelationIdProviderInterface (current id per request, message or command, FrankenPHP worker safe), a Null provider, header names (X-Correlation-Id, W3C traceparent) and an optional Symfony Messenger stamp. No dependencies beyond PHP.
rekalogika/file-null
4803 Downloads
Null object pattern implementation for rekalogika/file framework.
xakepehok/value-object-builder
6713 Downloads
This helper can create object from passed classname and value, or return null, if passed value is also null
dgame/php-optional
40320 Downloads
php optional
webdevvie/nestis
11568 Downloads
A simple php class that allows for the retrieval of nested object without null checks
schnittstabil/get
114105 Downloads
Get nested array values and object properties.
safeaccess/inline
40 Downloads
Safe nested data access with dot notation for PHP.
awd-studio/vo-optional-php
473 Downloads
Type-safe Optional value object for PHP 8.4+. A robust implementation of the Optional pattern inspired by Java, providing elegant null-safety and functional programming capabilities.
n2n/n2n-util-serialize
823 Downloads
Safely serialize and unserialize plain data objects (PHP native serialize()/unserialize() with an allowed_classes allowlist derived from the class structure) and scalar/null values (JSON), preventing object-injection and POP-chain attacks.
zendraxl/laravel-request-null-user
8 Downloads
Laravel Null Object Pattern for User fetched from Request