ixnode/php-exception

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

0.1.22 2024-12-07 21:25 UTC

This package is auto-updated.

Last update: 2024-12-07 21:25:56 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