Libraries tagged by throws
thecodingmachine/safe
154857249 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
codeception/assert-throws
2021772 Downloads
Assert exception was thrown without stopping a test
shish/safe
901320 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
nette/safe
1359388 Downloads
🛡 PHP functions rewritten to throw exceptions instead of returning false or triggering errors.
jchook/phpunit-assert-throws
1739204 Downloads
Exception assertions for PHPUnit
daverandom/exceptional-json
1490129 Downloads
JSON encoding and decoding that throws exceptions on failure
mobilestock/laravel-http-client-auto-throw-error
13448 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.
simpod/phpstan-brick-money
37909 Downloads
PHPStan dynamic throw type extensions for brick/money
simpod/phpstan-brick-math
29804 Downloads
PHPStan dynamic throw type extensions for brick/math
lithiumdev/laravel-exception-mailer
3342 Downloads
Receive an email whenever laravel throws an exception
cline/throw
12888 Downloads
Fluent conditional exception throwing for Laravel
shipsaas/never-throw
6189 Downloads
Response-first over Throw. PHP NeverThrow library sample implementation
savinmikhail/annotate_throws_rector
1611 Downloads
Rector rule to add missing @throws tags for direct throws and inter-class propagation
particle-academy/fancy-formula
319 Downloads
A deterministic spreadsheet-formula engine with Google Sheets semantics. Formulas are code, inputs are always values, and every output carries a trace of what it read. Malformed input throws with a stable code, a spreadsheet error is a value, and a broken limit aborts: the three never collapse into one another.
particle-academy/fancy-expr
388 Downloads
A sandboxed expression evaluator: one grammar, three implementations, asserted against a shared conformance table. Paths, literals, logic, comparisons, ternaries and object/array literals -- with no eval, no host reach and no calls of any kind. A malformed expression throws; an absent path is null, and keeping those two apart is the point.