PHPackages                             balt-technologies/newrelic-metrics - 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. balt-technologies/newrelic-metrics

ActiveLibrary

balt-technologies/newrelic-metrics
==================================

0.1.0(5y ago)0482PHP

Since Dec 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/balt-technologies/newrelic-metrics)[ Packagist](https://packagist.org/packages/balt-technologies/newrelic-metrics)[ RSS](/packages/balt-technologies-newrelic-metrics/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

A package for sending Metrics to New Relic
==========================================

[](#a-package-for-sending-metrics-to-new-relic)

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

[](#installation)

You can install the php package using composer.

```
composer require balt-technologies/newrelic-metrics

```

That's is.

Requirements
------------

[](#requirements)

You need to have to install the new relic PHP extension.

Report a metric
---------------

[](#report-a-metric)

```
$newRelic = new NewRelic();

$newRelic->report((new FormMetric())->created(1));

```

Create a metric
---------------

[](#create-a-metric)

```
use Balt\NewRelic\Metric;

class FormMetric implements Metric
{
    private array $attributes;

    public function __construct()
    {
        $this->attributes = [];
    }

    public function created(int $createdForms = 1): self
    {
        $this->attributes['created'] = $createdForms;

        return $this;
    }

    public function getName(): string
    {
        return 'forms';
    }

    public function getAttributes(): array
    {
        return $this->attributes;
    }
}

```

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1921d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/af4afd4a83d6d7edac548e6219ec89f940704fc8b7f09a428f87b3d2dc825bff?d=identicon)[balt](/maintainers/balt)

---

Top Contributors

[![balt-technologies](https://avatars.githubusercontent.com/u/49306158?v=4)](https://github.com/balt-technologies "balt-technologies (3 commits)")

### Embed Badge

![Health badge](/badges/balt-technologies-newrelic-metrics/health.svg)

```
[![Health](https://phpackages.com/badges/balt-technologies-newrelic-metrics/health.svg)](https://phpackages.com/packages/balt-technologies-newrelic-metrics)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
