PHPackages                             pointybeard/helpers-exceptions-readabletrace - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pointybeard/helpers-exceptions-readabletrace

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pointybeard/helpers-exceptions-readabletrace
============================================

Provides an exception base class that includes method getReadableTrace(), giving simple access to a plain-text, readable, backtrace string.

1.0.2(7y ago)04.1k↑41.7%4MITPHPPHP &gt;=7.2

Since May 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pointybeard/helpers-exceptions-readabletrace)[ Packagist](https://packagist.org/packages/pointybeard/helpers-exceptions-readabletrace)[ Docs](https://github.com/pointybeard/helpers-exceptions-readabletrace)[ RSS](/packages/pointybeard-helpers-exceptions-readabletrace/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (4)Used By (4)

PHP Helpers: Readable Trace Exception
=====================================

[](#php-helpers-readable-trace-exception)

- Version: v1.0.2
- Date: May 26 2019
- [Release notes](https://github.com/pointybeard/helpers-exceptions-readabletrace/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/helpers-exceptions-readabletrace)

Provides an exception base class that includes method `getReadableTrace()`, giving simple access to a plain-text, readable, backtrace string.

Installation
------------

[](#installation)

This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/helpers-exceptions-readabletrace` or add `"pointybeard/helpers-exceptions-readabletrace": "~1.0"` to your `composer.json` file.

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

### Requirements

[](#requirements)

This library makes use of the [PHP Helpers: Path Functions](https://github.com/pointybeard/helpers-functions-paths) (`pointybeard/helpers-functions-paths`), [PHP Helpers: Debug Functions](https://github.com/pointybeard/helpers-functions-debug) (`pointybeard/helpers-functions-debug`), and [PHP Helpers: String Functions](https://github.com/pointybeard/helpers-functions-strings) (`pointybeard/helpers-functions-strings`). They are installed automatically via composer.

To include all the [PHP Helpers](https://github.com/pointybeard/helpers) packages on your project, use `composer require pointybeard/helpers` or add `"pointybeard/helpers": "~1.1"` to your composer file.

Usage
-----

[](#usage)

Here is an example of how to use the `ReadableTraceException` base class:

```
