PHPackages                             crypt4/jantung-php - 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. [Security](/categories/security)
4. /
5. crypt4/jantung-php

ActiveLibrary[Security](/categories/security)

crypt4/jantung-php
==================

Jantung for PHP

1.0.1(2y ago)1961MITPHPPHP ^7.4 || ^8.0 || ^8.1 || ^8.2

Since Jun 13Pushed 2y agoCompare

[ Source](https://github.com/Crypt4/jantung-php)[ Packagist](https://packagist.org/packages/crypt4/jantung-php)[ RSS](/packages/crypt4-jantung-php/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (1)

[![Build Status](https://github.com/crypt4/jantung-php/actions/workflows/run-tests.yml/badge.svg)](https://github.com/crypt4/jantung-php/actions)

Jantung PHP Client
==================

[](#jantung-php-client)

Jantung is a simple issue tracker for monitoring your application crashes. This package developed for PHP.

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

[](#installation)

```
composer require crypt4/jantung-php
```

Adding New Metric
-----------------

[](#adding-new-metric)

You can add a new metric as you see fit to your application / framework.

Do take note, all metrics will be converted to associative array.

In order to create your own metrics, you need to extends the class `Crypt4\Jantung\Metric\Base` and implement your metrics details in `metrics()` method which always return an array. You may need to define as a dot notation in your metric.

However, Jantung will convert to the associative array.

Following is an example for capture Http request for Laravel framework.

```
