Download the PHP package xsga/bbphp-exception without Composer
On this page you can find all versions of the php package xsga/bbphp-exception. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xsga/bbphp-exception
More information about xsga/bbphp-exception
Files in xsga/bbphp-exception
Download xsga/bbphp-exception
More information about xsga/bbphp-exception
Files in xsga/bbphp-exception
Vendor xsga
Package bbphp-exception
Short Description A PHP exception library
License MIT
Homepage https://github.com/xsga/BBPHP-Exception
Package bbphp-exception
Short Description A PHP exception library
License MIT
Homepage https://github.com/xsga/BBPHP-Exception
Please rate this library. Is it a good library?
Informations about the package bbphp-exception
BBPHP-Exception
A lightweight PHP library that provides a reusable base exception class with support for structured context parameters.
Features
- Strict typing and modern PHP support.
- Custom exception class:
Xsga\BBPHP\Exception\GenericException. - Optional context parameters via
getParams(). - PSR-4 autoloading ready for Composer projects.
Requirements
- PHP 8.4+
Installation
Install with Composer:
Usage
API
GenericException
Constructor:
Methods:
getParams(): arrayReturns the context parameters passed to the exception.
Development
Useful Composer scripts:
composer lintRun parallel PHP lint.composer styleCheck PSR-12 style.composer style-fixAuto-fix style issues.composer analyze-errorsRun Psalm (errors only).composer analyze-infoRun Psalm (with info).composer analyze-mdRun PHPMD checks.
License
MIT License. See LICENSE.
All versions of bbphp-exception with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
The package xsga/bbphp-exception contains the following files
Loading the files please wait ...