Libraries tagged by throws
thecodingmachine/safe
110466208 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
codeception/assert-throws
1878759 Downloads
Assert exception was thrown without stopping a test
shish/safe
737418 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
daverandom/exceptional-json
1431837 Downloads
JSON encoding and decoding that throws exceptions on failure
jchook/phpunit-assert-throws
1715977 Downloads
Exception assertions for PHPUnit
simpod/phpstan-brick-money
10406 Downloads
PHPStan dynamic throw type extensions for brick/money
simpod/phpstan-brick-math
10696 Downloads
PHPStan dynamic throw type extensions for brick/math
nette/safe
1314551 Downloads
🛡 PHP functions rewritten to throw exceptions instead of returning false or triggering errors.
cline/throw
3511 Downloads
Fluent conditional exception throwing for Laravel
shipsaas/never-throw
4808 Downloads
Response-first over Throw. PHP NeverThrow library sample implementation
nubium/this-should-never-happen-exception
20812 Downloads
Extend this exception and throw it anytime something unexpected happens.
nicodev/asserts
35293 Downloads
List of traits that make assertions and throw Exception if assertion fails.
thecodingmachine/safe8
13158 Downloads
PHP8 core functions that throw exceptions instead of returning FALSE on error
mobilestock/laravel-http-client-auto-throw-error
743 Downloads
A simple Laravel package that enhances Laravel's HTTP client. It automatically throws exceptions on failed responses and prevents response truncation in exceptions, ensuring full visibility for easier debugging of API interactions.
cspray/assert-throws
224 Downloads
Assertions for PHPUnit when testing code that throws complex exceptions.