Libraries tagged by defensive
imanghafoori/laravel-nullable
549385 Downloads
A package to help you write expressive defensive code in a functional manner
roave/dont
259260 Downloads
A small set of traits that can be used to prevent misuse of your objects
imanghafoori/laravel-heyman
37903 Downloads
A package to help you write expressive defensive code in a functional manner
binuka200/apple-sign-in
1510 Downloads
Defensive, framework-neutral Sign in with Apple for PHP: OAuth flow, token verification, revocation, and notifications.
ganbarodigital/php-defensive
119217 Downloads
quartetcom/static-analysis-kit
4286 Downloads
Strict and modern kit to optimise the codebase defensively.
ntzm/strict-casts
7 Downloads
Strict type casting for super defensive PHP
fleshgrinder/assertion
25474 Downloads
Library to ease defensive and design by contract (DbC) programming with assert() in PHP.
ganbarodigital/php-mv-defensive
97 Downloads
patterns/guard
1 Downloads
Guard pattern - validate inputs and preconditions early, returning a Result instead of throwing.
stougeiro/immutable
3 Downloads
Immutable data structures for PHP arrays, providing strict separation between lists and objects, safe access semantics, key validation, and a clean, predictable API for defensive and expressive programming.
campanda/commons-ensure-bundle
2317 Downloads
Symfony bundle with static helper functions for checking coding pre-/post-conditions
20steps/commons-ensure-bundle
1295 Downloads
Symfony bundle with static helper functions for checking coding pre-/post-conditions
scaleupstack/easy-object
15 Downloads
Convenient object handling for a modern, defensive and strict style of programming in PHP without boilerplate code. E.g. default getters, typed properties, named/default constructors.
abdalmolood/laravel-ai-security-guardian
0 Downloads
A defensive AI-powered Laravel security guardian package.