PHPackages                             craftcms/webhooks - 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. craftcms/webhooks

ActiveCraft-plugin

craftcms/webhooks
=================

Post webhooks when events are triggered in Craft CMS.

3.2.0(3mo ago)84135.5k↓24.7%13[9 issues](https://github.com/craftcms/webhooks/issues)[3 PRs](https://github.com/craftcms/webhooks/pulls)1MITPHPPHP ^8.0.2CI passing

Since Dec 13Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/craftcms/webhooks)[ Packagist](https://packagist.org/packages/craftcms/webhooks)[ RSS](/packages/craftcms-webhooks/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (33)Used By (1)Security (1)

[![Webhooks icon](./src/icon.svg)](./src/icon.svg)

Webhooks for Craft CMS
======================

[](#webhooks-for-craft-cms)

This plugin adds the ability to manage “webhooks” in Craft CMS, which will send GET or POST requests when certain events occur.

It can be used to integrate your Craft project with task automation tools like [Zapier](https://zapier.com) or [Netlify](https://www.netlify.com) build hooks.

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

[](#requirements)

This plugin requires Craft CMS 4.0.0+ or 5.0.0+.

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

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

#### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Webhooks”. Then press **Install** in its modal window.

#### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require craftcms/webhooks

# tell Craft to install the plugin
./craft install/plugin webhooks
```

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

[](#configuration)

To configure Webhooks, go to **Settings** → **Webhooks**, or create a `config/webhooks.php` file, which returns an array.

```
