Libraries tagged by throws
thecodingmachine/safe
76892966 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
codeception/assert-throws
1575575 Downloads
Assert exception was thrown without stopping a test
nette/safe
883987 Downloads
🛡 PHP functions rewritten to throw exceptions instead of returning false or triggering errors.
shish/safe
504304 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
daverandom/exceptional-json
1364347 Downloads
JSON encoding and decoding that throws exceptions on failure
jchook/phpunit-assert-throws
1698136 Downloads
Exception assertions for PHPUnit
nubium/this-should-never-happen-exception
19424 Downloads
Extend this exception and throw it anytime something unexpected happens.
nicodev/asserts
31671 Downloads
List of traits that make assertions and throw Exception if assertion fails.
thecodingmachine/safe8
13038 Downloads
PHP8 core functions that throw exceptions instead of returning FALSE on error
wyrihaximus/react-throw-unhandled-rejected-promises
9562 Downloads
🤹 Throw any unhandled rejected promise
shipsaas/never-throw
2837 Downloads
Response-first over Throw. PHP NeverThrow library sample implementation
cspray/assert-throws
184 Downloads
Assertions for PHPUnit when testing code that throws complex exceptions.
enricodias/email-validator
612 Downloads
Validate and check for disposable/temporary/throw away emails using multiple providers
perfilov/php-dto-packer
1982 Downloads
Convert array, json, objects into a strongly-typed values (and back) for transferring throw services
mihasicehcek/json_parser
5669 Downloads
Simple wrapper over json_decode/json_encode php functions. Throws exceptions when decoding/encoding fails