PHPackages                             pantheon-quicksilver/new-relic-deploy - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. pantheon-quicksilver/new-relic-deploy

ActiveQuicksilver-script[Logging &amp; Monitoring](/categories/logging)

pantheon-quicksilver/new-relic-deploy
=====================================

New Relic Deploy Logs.

v1.0.0(4y ago)0161MITPHP

Since Oct 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pantheon-quicksilver/new-relic-deploy)[ Packagist](https://packagist.org/packages/pantheon-quicksilver/new-relic-deploy)[ Docs](https://github.com/pantheon-quicksilver/new-relic-deploy)[ RSS](/packages/pantheon-quicksilver-new-relic-deploy/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

New Relic Deploy Logs
=====================

[](#new-relic-deploy-logs)

This example will show you how you can automatically log changes to your site into [New Relic's Deployments Page](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) when the workflow fires on Pantheon. This can be quite useful for keeping track of all your performance improvements!

This script uses a couple clever tricks to get data about the platform. First of all it uses the `pantheon_curl()` command to fetch the extended metadata information for the site/environment, which includes the New Relic API key. It also uses data within the git repository on the platform to pull out deploy tag numbers and log messages.

> **Note:** This example will work for all Pantheon sites once the bundled [New Relic APM Pro feature](https://pantheon.io/features/new-relic) is activated, regardless of service level.

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

[](#requirements)

While these scripts can be downloaded individually, they are meant to work with Composer. See the installation in the next section.

- Quicksilver script projects and the script name itself should be consistent in naming convention.
- README should include a recommendation for types of hooks and stages that the script should run on.
    - For example, "This script should run on `clone_database` and the `after` stage.
    - Provide a snippet that can be pasted into the `pantheon.yml` file.

### Installation

[](#installation)

You should [Activate New Relic Pro](https://pantheon.io/docs/new-relic/#activate-new-relic-pro) within your site dashboard.

This project is designed to be included from a site's `composer.json` file, and placed in its appropriate installation directory by [Composer Installers](https://github.com/composer/installers).

In order for this to work, you should have the following in your composer.json file:

```
{
  "require": {
    "composer/installers": "^1"
  },
  "extra": {
    "installer-paths": {
      "web/private/scripts/quicksilver": ["type:quicksilver-script"]
    }
  }
}
```

The project can be included by using the command:

`composer require pantheon-quicksilver/new-relic-deploy:^1`

If you are using one of the example PR workflow projects ([Drupal 8](https://www.github.com/pantheon-systems/example-drops-8-composer), [Drupal 9](https://www.github.com/pantheon-systems/drupal-project), [WordPress](https://www.github.com/pantheon-systems/example-wordpress-composer)) as a starting point for your site, these entries should already be present in your `composer.json`.

### Example `pantheon.yml`

[](#example-pantheonyml)

Here's an example of what your `pantheon.yml` would look like if this were the only Quicksilver operation you wanted to use.

```
api_version: 1

workflows:
  deploy:
    after:
      - type: webphp
        description: Log to New Relic
        script: private/scripts/new_relic_deploy.php
  sync_code:
    after:
      - type: webphp
        description: Log to New Relic
        script: private/scripts/new_relic_deploy.php
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

1657d ago

### Community

Maintainers

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

---

Top Contributors

[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (2 commits)")

### Embed Badge

![Health badge](/badges/pantheon-quicksilver-new-relic-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/pantheon-quicksilver-new-relic-deploy/health.svg)](https://phpackages.com/packages/pantheon-quicksilver-new-relic-deploy)
```

###  Alternatives

[humanmade/aws-xray

HM Platform AWS X-Ray Integration

29231.9k4](/packages/humanmade-aws-xray)[jadb/cakephp-monolog

CakePHP Monolog Plugin

5518.9k](/packages/jadb-cakephp-monolog)[camspiers/silverstripe-loggerbridge

Provides a bridge between PSR-3 loggers (like monolog) and SilverStripe

1366.8k](/packages/camspiers-silverstripe-loggerbridge)[sandreu/cake-sentry

Sentry error handler plugin for CakePHP2

1640.2k](/packages/sandreu-cake-sentry)[itgalaxy/sentry-integration

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry

105.6k](/packages/itgalaxy-sentry-integration)

PHPackages © 2026

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