Libraries tagged by throws
thecodingmachine/safe
67359169 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
codeception/assert-throws
1446459 Downloads
Assert exception was thrown without stopping a test
shish/safe
399864 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
nette/safe
609073 Downloads
🛡 PHP functions rewritten to throw exceptions instead of returning false or triggering errors.
daverandom/exceptional-json
1338842 Downloads
JSON encoding and decoding that throws exceptions on failure
jchook/phpunit-assert-throws
1688358 Downloads
Exception assertions for PHPUnit
thecodingmachine/safe8
12902 Downloads
PHP8 core functions that throw exceptions instead of returning FALSE on error
shipsaas/never-throw
2624 Downloads
Response-first over Throw. PHP NeverThrow library sample implementation
cspray/assert-throws
158 Downloads
Assertions for PHPUnit when testing code that throws complex exceptions.
nicodev/asserts
30331 Downloads
List of traits that make assertions and throw Exception if assertion fails.
wyrihaximus/react-throw-unhandled-rejected-promises
8866 Downloads
🤹 Throw any unhandled rejected promise
perfilov/php-dto-packer
1804 Downloads
Convert array, json, objects into a strongly-typed values (and back) for transferring throw services
nubium/this-should-never-happen-exception
18994 Downloads
Extend this exception and throw it anytime something unexpected happens.
mihasicehcek/json_parser
5394 Downloads
Simple wrapper over json_decode/json_encode php functions. Throws exceptions when decoding/encoding fails
dv-team/json
698 Downloads
A wrapper-class for json_encode and json_decode to automatically set some constants like JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR