PHPackages                             pixelcollective/netlify-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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. pixelcollective/netlify-deploy

ActiveWordpress-plugin[DevOps &amp; Deployment](/categories/devops)

pixelcollective/netlify-deploy
==============================

0.0.6(6y ago)70104[1 PRs](https://github.com/pixelcollective/netlify-deploy/pulls)MITPHP

Since Jun 25Pushed 2y ago3 watchersCompare

[ Source](https://github.com/pixelcollective/netlify-deploy)[ Packagist](https://packagist.org/packages/pixelcollective/netlify-deploy)[ Docs](https://tinypixel.dev)[ RSS](/packages/pixelcollective-netlify-deploy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Netlify Deploy 🚗💨
=================

[](#netlify-deploy-)

 [![](https://camo.githubusercontent.com/54ba88bbf64921d48f9dcab686cef6a66bab2c3264a8cc2c7dbfc7e5bb94ce38/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76302e302e362d626c75652e7376673f63616368655365636f6e64733d32353932303030)](https://camo.githubusercontent.com/54ba88bbf64921d48f9dcab686cef6a66bab2c3264a8cc2c7dbfc7e5bb94ce38/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76302e302e362d626c75652e7376673f63616368655365636f6e64733d32353932303030) [ ![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667) ](https://github.com/pixelcollective/netlify-deploy/blob/master/LICENSE) [ ![](https://camo.githubusercontent.com/5df7c746ee7ce4f9341571aca5604f2c16e7e31d382d7e5af3707153fe433c21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706978656c636f6c6c6563746976652f6e65746c6966792d6465706c6f792e7376673f636f6c6f723d707572706c652d626c7565267374796c653d666c61742d737175617265) ](https://packagist.org/pixelcollective/netlify-deploy) [ ![](https://camo.githubusercontent.com/556a946628dfeb87732fcc4b25c671ebed6447772c3ba63ea775abefb2af13d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4368616e67656c6f672d547279696e672d6c69676874677265792e737667) ](https://github.com/pixelcollective/netlify-deploy/tree/master/CHANGELOG.md) [ ![Twitter: @tinydevteam](https://camo.githubusercontent.com/bd761cd95a017cba2604edf9dfd093049e11971af07416a93abf680fc2a533a3/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f74696e796465767465616d2e7376673f7374796c653d736f6369616c) ](https://twitter.com/tinydevteam)

> Automatic Netlify builds on WordPress publish and update events.

Features
--------

[](#features)

- Makes it super easy to keep a static frontend in sync with your post database
- Out of the box support for configuration with .env
- Full composer support
- Supports custom posttypes
- Supports custom publish hooks
- Free &amp; open source

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

[](#requirements)

- WordPress 5.2+
- PHP 7.2+

Install
-------

[](#install)

```
composer require pixelcollective/netlify-deploy
```

Usage
-----

[](#usage)

Request a webhook URL from Netlify to use to trigger builds (you can find the "Build hooks" section on your site dashboard at `/settings/deploys#build-hooks`).

Next, add the URL to your site .env variables and activate the plugin. Env variables are included in `.env.example` and below, for your reference:

```
## Hooks
NETLIFY_WEBHOOK_DEVELOPMENT=https://api.netlify.com/build_hooks/{yourBuildHookId}
NETLIFY_WEBHOOK_STAGING=https://api.netlify.com/build_hooks/{yourBuildHookId}
NETLIFY_WEBHOOK_PRODUCTION=https://api.netlify.com/build_hooks/{yourBuildHookId}
```

### Filters

[](#filters)

#### netlify\_posttypes

[](#netlify_posttypes)

By default the plugin makes a run on the provided Netlify webhook when the standard WordPress posttypes `post` and `page` undergo a change in `publish` status.

If you would like to modify this you can do so by passing an array of desired posttypes to the `netlify_posttypes` filter.

```
add_filter('netlify_posttypes', [
  'post',
  'page',
  'video-film',
  'brandon-small-jokes',
]);
```

#### netlify\_webhooks

[](#netlify_webhooks)

You can modify your webhooks at runtime using the `netlify_hooks` filter:

```
add_filter('netlify_hooks', [
  'development' => 'https://api.netlify.com/build_hooks/########',
  'testing'     => 'https://api.netlify.com/build_hooks/########',
  'production'  => 'https://api.netlify.com/build_hooks/########',
])
```

#### netlify\_env\_override

[](#netlify_env_override)

If you don't want to use env variables because you don't have a deployment strategy and enjoy living poorly you can hook into the `netlify_env_override` filter and pass the target webhook directly at runtime:

```
add_filter('netlify_env_override', 'https://api.netlify.com/build_hooks/########');
```

#### netlify\_transitions

[](#netlify_transitions)

Change the post status transitions which trigger a build. Usage with the default values is shown below:

```
add_filter('netlify_transitions', [
  'draft_to_publish',
  'publish_to_draft',
  'publish_to_trash',
  'publish_to_private',
  'private_to_public',
  'new_to_publish',
]);
```

Author
------

[](#author)

👤 **Tiny Pixel Collective, LLC**

- Twitter: [@tinydevteam](https://twitter.com/tinydevteam)
- Github: [@pixelcollective](https://github.com/pixelcollective)
- Web: [tinypixel.dev](https://tinypixel.dev)

🤝 Contributing
--------------

[](#-contributing)

Contributions, issues and feature requests are welcome!

🧠 ? [Open a PR](https://github.com/pixelcollective/netlify-deploy/pulls). Be sure to [abide by our contribution guidelines](https://github.com/pixelcollective/netlify-deploy/tree/master/CONTRIBUTORS.md).

😩 ? [Open an issue](https://github.com/pixelcollective/netlify-deploy/issues).

Show your support
-----------------

[](#show-your-support)

We need ⭐️s to live. *Please*.

📝 License
---------

[](#-license)

This project is [MIT](https://github.com/pixelcollective/netlify-deploy/blob/master/LICENSE) licensed.

---

Copyright © 2019 [Tiny Pixel Collective, LLC](https://github.com/@pixelcollective).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

Every ~0 days

Total

5

Last Release

2509d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e08df5442e0213f908535bba31bc1ad0ed213f176a5332b38922e9b7d39792b?d=identicon)[Tiny Pixel](/maintainers/Tiny%20Pixel)

---

Top Contributors

[![kellymears](https://avatars.githubusercontent.com/u/397606?v=4)](https://github.com/kellymears "kellymears (5 commits)")

### Embed Badge

![Health badge](/badges/pixelcollective-netlify-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/pixelcollective-netlify-deploy/health.svg)](https://phpackages.com/packages/pixelcollective-netlify-deploy)
```

###  Alternatives

[mikopbx/core

Free PBX system for SMB based on Asterisk

5271.4k](/packages/mikopbx-core)[pikart/goip

Goip server and client

297.3k](/packages/pikart-goip)

PHPackages © 2026

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