cline / throw
Fluent conditional exception throwing for Laravel
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cline/throw
Requires
- php: ^8.5.0
- cline/monad: ^1.1
Requires (Dev)
- cline/php-cs-fixer: ^1.0.4
- driftingly/rector-laravel: ^2.0.7
- ergebnis/composer-normalize: ^2.49@dev
- laravel/pint: ^1.25.1
- orchestra/testbench: ^10.6
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-type-coverage: ^4.0
- phpstan/phpstan: ^2.1.30
- rector/rector: ^2.2.1
- symfony/var-dumper: ^7.3.4
README
Fluent conditional exception throwing for Laravel. Provides a readable, chainable API for throwing exceptions and aborting requests based on conditions.
Requirements
Requires PHP 8.5+
Installation
composer require cline/throw
Documentation
- Getting Started - Installation and basic usage
- Basic Usage - Throwing exceptions conditionally
- HTTP Responses - Aborting requests with status codes
- Integration Patterns - Using with Laravel exceptions
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.