ixnode/php-exception

PHP Exception - This library offers some ready to use PHP Exceptions.

0.1.21 2023-07-03 21:13 UTC

This package is auto-updated.

Last update: 2024-11-04 00:04:02 UTC


README

Release PHP PHPStan PHPCS LICENSE

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