PHPackages                             alleyinteractive/wp-allegro-audience - 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. alleyinteractive/wp-allegro-audience

ActiveWordpress-plugin

alleyinteractive/wp-allegro-audience
====================================

WordPress Plugin to include Allegro Audience on your site.

v0.1.0(1mo ago)01[1 PRs](https://github.com/alleyinteractive/allegro-audience/pulls)GPL-2.0-or-laterPHPPHP ^8.3CI failing

Since Jul 20Pushed 1w agoCompare

[ Source](https://github.com/alleyinteractive/allegro-audience)[ Packagist](https://packagist.org/packages/alleyinteractive/wp-allegro-audience)[ Docs](https://github.com/alleyinteractive/wp-allegro-audience)[ RSS](/packages/alleyinteractive-wp-allegro-audience/feed)WikiDiscussions develop Synced 1w ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

   ![Allegro Audience](https://camo.githubusercontent.com/0b13700c7295fbf001e37c6d17c35e854bb88622f5b836c13eb5ebe73d770db0/68747470733a2f2f616c6c6567726f61756469656e63652e636f6d2f6173736574732f6c6f676f2d6e61762d6c696768742e737667)

 [Homepage](https://allegroaudience.com/) — [Documentation](https://docs.allegrocdp.com/)

Allegro Audience WordPress Plugin
=================================

[](#allegro-audience-wordpress-plugin)

[![Testing Suite](https://github.com/alleyinteractive/allegro-audience/actions/workflows/all-pr-tests.yml/badge.svg?branch=develop)](https://github.com/alleyinteractive/allegro-audience/actions/workflows/all-pr-tests.yml)

Connect your WordPress site to [Allegro Audience](https://allegrocdp.com/). Enter your organization URL, verify the connection, and Allegro Audience's `client.js` is automatically injected on every front-end page.

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

[](#installation)

Install via Composer:

```
composer require alleyinteractive/allegro-audience
```

Or upload the plugin ZIP through **Plugins → Add New** in WordPress.

Configuration
-------------

[](#configuration)

1. Activate the plugin.
2. Go to **Settings → Allegro Audience**.
3. Enter your Allegro Audience organization URL (e.g. `https://your-org.allegrocdp.com`).
4. Click **Save &amp; Verify** — the plugin confirms the URL is a live Allegro Audience instance and checks that CORS is configured for your domain.
5. Once verified, `client.js` is injected automatically on every front-end page.

How it works
------------

[](#how-it-works)

- **Health check** — on save, the plugin makes a server-side request to `/up` and verifies the `x-allegro-health: 1` response header.
- **CORS check** — the browser fetches `/client.js` directly to confirm cross-origin access is configured. If it isn't, the settings page shows a warning with a link to the [Allegro Audience developer docs](https://docs.allegrocdp.com/developer/).
- **Script injection** — once verified, `` is output in `wp_head` on every front-end page.

Development
-----------

[](#development)

```
composer install
composer serve   # starts wp-env
```

Run tests and linting:

```
composer test       # lint + PHPUnit
composer phpunit    # PHPUnit only
composer phpstan    # static analysis (level max)
composer phpcs      # coding standards
```

Releasing
---------

[](#releasing)

Run `npm run release` to bump the version and trigger the built-release workflow, which creates a versioned tag.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

Maintained by [Alley Interactive](https://alley.com/). Like what you see? [Come work with us](https://alley.com/careers/).

License
-------

[](#license)

The GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance95

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

41d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/338d27065b1074f2d66d049d742f22996dd137eef6f91bc8f75350ceee1e8ef2?d=identicon)[srtfisher](/maintainers/srtfisher)

---

Top Contributors

[![srtfisher](https://avatars.githubusercontent.com/u/346399?v=4)](https://github.com/srtfisher "srtfisher (51 commits)")

---

Tags

wordpresswordpress-pluginalleyinteractivewp-allegro-audience

###  Code Quality

Static AnalysisRector

### Embed Badge

![Health badge](/badges/alleyinteractive-wp-allegro-audience/health.svg)

```
[![Health](https://phpackages.com/badges/alleyinteractive-wp-allegro-audience/health.svg)](https://phpackages.com/packages/alleyinteractive-wp-allegro-audience)
```

###  Alternatives

[alleyinteractive/wp-alleyvate

Defaults for WordPress sites by Alley.

3547.8k](/packages/alleyinteractive-wp-alleyvate)[alleyinteractive/mantle-framework

A framework for powerful WordPress development

28376.6k2](/packages/alleyinteractive-mantle-framework)[alleyinteractive/wp-curate

Plugin to curate homepages and other landing pages

11268.5k](/packages/alleyinteractive-wp-curate)[alleyinteractive/wp-block-converter

Convert HTML into Gutenberg Blocks with PHP

70491.5k2](/packages/alleyinteractive-wp-block-converter)[alleyinteractive/wp-404-caching

Full Page Cache for WordPress 404s

13386.4k](/packages/alleyinteractive-wp-404-caching)[alleyinteractive/feed-consumer

Ingest external feeds and other data sources into WordPress

117.8k](/packages/alleyinteractive-feed-consumer)

PHPackages © 2026

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