ixnode / php-exception
PHP 异常 - 此库提供了一些现成的 PHP 异常。
0.1.21
2023-07-03 21:13 UTC
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
此库提供了一些现成的 PHP 异常。
异常类
组 数组
组 情况
组 类
组 配置
组 数据库
组 文件
组 函数
组 解析器
组 类型
安装
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>
用法
use Ixnode\PhpException\FileNotFoundException;
throw new FileNotFoundException('path-to-file');
开发
git clone git@github.com:ixnode/php-exception.git && cd php-exception
composer install
composer test
许可证
此工具受 MIT 许可证许可 - 有关详细信息,请参阅 LICENSE 文件