Libraries tagged by throws
thecodingmachine/safe
59959149 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
codeception/assert-throws
1211146 Downloads
Assert exception was thrown without stopping a test
nette/safe
264737 Downloads
🛡 PHP functions rewritten to throw exceptions instead of returning false or triggering errors.
daverandom/exceptional-json
1306710 Downloads
JSON encoding and decoding that throws exceptions on failure
jchook/phpunit-assert-throws
1676501 Downloads
Exception assertions for PHPUnit
thecodingmachine/safe8
12598 Downloads
PHP8 core functions that throw exceptions instead of returning FALSE on error
shipsaas/never-throw
2090 Downloads
Response-first over Throw. PHP NeverThrow library sample implementation
shish/safe
642 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error (a less-abandoned fork of thecodingmachine/safe)
nicodev/asserts
28619 Downloads
List of traits that make assertions and throw Exception if assertion fails.
wyrihaximus/react-throw-unhandled-rejected-promises
8198 Downloads
🤹 Throw any unhandled rejected promise
cspray/assert-throws
30 Downloads
Assertions for PHPUnit when testing code that throws complex exceptions.
josantonius/errorhandler
631 Downloads
PHP library for handling exceptions and errors.
enricodias/email-validator
529 Downloads
Validate and check for disposable/temporary/throw away emails using multiple providers
nubium/this-should-never-happen-exception
18738 Downloads
Extend this exception and throw it anytime something unexpected happens.
mihasicehcek/json_parser
5123 Downloads
Simple wrapper over json_decode/json_encode php functions. Throws exceptions when decoding/encoding fails