Download the PHP package fof/webhooks without Composer

On this page you can find all versions of the php package fof/webhooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package webhooks

FriendsOfFlarum Webhooks

License Latest Stable Version OpenCollective Donate

A Flarum extension that allows you to integrate Flarum with external services via webhooks. Automatically notify Discord, Slack, and Microsoft Teams when events happen on your forum.

Installation

Install manually with composer:

Updating

Usage

Add a Webhook

Getting Webhook URLs

Discord

  1. Go to a Discord channel settings.
  2. Select Integrations -> Webhooks.
  3. Click New Webhook.
  4. Customize the name (can be overridden by extension settings).
  5. Copy the generated Webhook URL.

Slack

Refer to the official Slack documentation for more info: https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/

  1. Create a Slack app (if you don't have one) here: https://api.slack.com/apps
  2. Activate Incoming Webhooks for your app in its settings page.
  3. Click Add New Webhook to Workspace.
  4. Select the channel to post to and authorize.
  5. Copy the generated Webhook URL.

Microsoft Teams

Refer to official Microsoft Teams documentation for more info: https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498. Note that the old method (Microsoft/Office 365 Connectors) still work as of January 2026, but are deprecated.

  1. Navigate to the channel where you want to add the webhook.
  2. Click the ... (More options) next to the channel name.
  3. Select Connectors.
  4. Search for Incoming Webhook and click Configure.
  5. Give it a name and click Create.
  6. Copy the URL displayed at the bottom of the window.

Links

OpenCollective GitHub

An extension by FriendsOfFlarum.


All versions of webhooks with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0.0
guzzlehttp/guzzle Version 7.*
ssnepenthe/color-utils Version ^0.4.2
html2text/html2text Version ^4.3.1
opis/closure Version ^4.5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fof/webhooks contains the following files

Loading the files please wait ...