https://github.com/kattsoftware/php-exceptions
General usage PHP exceptions for your projects. extending the set of exceptions given by SPL.
https://github.com/kattsoftware/php-exceptions
error-handling exceptions php php-exception
Last synced: 3 months ago
JSON representation
General usage PHP exceptions for your projects. extending the set of exceptions given by SPL.
- Host: GitHub
- URL: https://github.com/kattsoftware/php-exceptions
- Owner: kattsoftware
- License: mit
- Created: 2021-05-22T19:42:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-22T20:12:08.000Z (almost 5 years ago)
- Last Synced: 2025-07-20T03:41:54.428Z (8 months ago)
- Topics: error-handling, exceptions, php, php-exception
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-exceptions
This PHP library aims to give you a list of general usage PHP exceptions for your projects.
Now you don't have to create anymore a `DatabaseException` class for each of your project's components. Just install this package and you will have the globally-available exception `\DatabaseExcepton` - and more others!
## Installation
To install `php-exceptions`, just use the following [composer](https://getcomposer.org/) command:
```
composer require kattsoftware/php-exceptions
```
That's all! The package is compatible with PHP >= 5.3.
## What goodies are included?
You can explore the list of included exceptions by browsing the [`src`](src) directory.
## License
The library is licensed under the MIT License (MIT). See the `LICENSE` file for more information.
Copyright (c) KattSoftware dev team.