ixnode / php-exception
PHP Exception - This library offers some ready to use PHP Exceptions.
Installs: 1 497
Dependents: 9
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- ixnode/bash-version-manager: ^0.1.3
- jetbrains/phpstorm-attributes: ^1.0
- phpmd/phpmd: ^2.13
- phpstan/phpstan: ^1.9
- phpunit/phpunit: ^9.5
- povils/phpmnd: ^3.0
- rector/rector: ^0.15.1
README
This library offers some ready to use PHP Exceptions.
Exception Classes
Group Array
Group Case
Group Class
Group Configuration
Group Db
Group File
Group Function
Group Parser
Group Type
Installation
composer require ixnode/php-exception
vendor/bin/php-exception -V
php-exception 0.1.0 (12-30-2022 11:41:25) - Björn Hempel <bjoern@hempel.li>
Usage
use Ixnode\PhpException\FileNotFoundException;
throw new FileNotFoundException('path-to-file');
Development
git clone git@github.com:ixnode/php-exception.git && cd php-exception
composer install
composer test
License
This tool is licensed under the MIT License - see the LICENSE file for details