Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aurimasniekis/throws
https://github.com/aurimasniekis/throws
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aurimasniekis/throws
- Owner: aurimasniekis
- License: mit
- Created: 2019-04-10T18:34:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-10T19:09:43.000Z (almost 6 years ago)
- Last Synced: 2024-04-23T16:08:48.361Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Throws
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]PHP Library which provides functions which **Throws** exception
## Install
Via Composer
```bash
$ composer require aurimasniekis/throws
```## Usage
It is pretty simple all the functions are defined under `Throws\\` namespace.
Simplest function is `thr` which accept exception as argument and just throws it:
```php