kattsoftware/php-exceptions

General usage PHP exceptions for your projects

v1.0.0 2021-05-22 20:10 UTC

This package is auto-updated.

Last update: 2024-09-23 03:12:11 UTC


README

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 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 directory.

License

The library is licensed under the MIT License (MIT). See the LICENSE file for more information.

Copyright (c) KattSoftware dev team.