An easy-to-use API for Discord webhook

Overview

WebhookAPI

An easy-to-use API for Discord webhook

İmage: image

Example

Add use

use ayd1ndemirci\WebhookAPI;

Usage:

 $webhook = "your_discord_webhook_url";
       $dateTime = new \DateTime("now", new \DateTimeZone("Europe/Istanbul"));
       new WebhookAPI($webhook, [
           "username" => "Test user",
           "embeds" => [
               [
                   "title" => "Test Title",
                   "description" => "This is a test message",
                   "color" => 3066993,
                   "timestamp" => $dateTime->format("Y-m-d\TH:i:s.v\Z"),
                   "image" => [
                       "url" => "https://w0.peakpx.com/wallpaper/77/228/HD-wallpaper-m-kemal-ataturk-1881-ataturk-ataturk-imzasi-cumhuriyet-leader-mustafa-kemal-supreme-commander-tarih-turkey-vatan.jpg"
                   ],
                   "foother" => [
                       "text" => "Foother text",
                       "icon_url" => "https://w0.peakpx.com/wallpaper/77/228/HD-wallpaper-m-kemal-ataturk-1881-ataturk-ataturk-imzasi-cumhuriyet-leader-mustafa-kemal-supreme-commander-tarih-turkey-vatan.jpg"
                   ]
               ]
           ]
       ]);
You might also like...
PocketMine-MP To Discord Chat Logging.
PocketMine-MP To Discord Chat Logging.

Welcome To PocketCord PocketCord is a PocketMine-MP plugin designed to link discord and your PocketMine-MP Server with quick and easy setup! Installat

Easy to use utility functions for everyday PHP projects. This is a port of the Lodash JS library to PHP

Lodash-PHP Lodash-PHP is a port of the Lodash JS library to PHP. It is a set of easy to use utility functions for everyday PHP projects. Lodash-PHP tr

Laravel package to make it easy to use the gorgeous emojis from EmojiOne
Laravel package to make it easy to use the gorgeous emojis from EmojiOne

laravel-emojione Laravel package to make it easier working with the gorgeous emojis from EmojiOne. Remember to read the EmojiOne Free License and prov

An easy-to-use web interface for downloading bittorrents, videos from twitter, youtube and the likes
An easy-to-use web interface for downloading bittorrents, videos from twitter, youtube and the likes

An easy-to-use web interface for Aria2 and youtube-dl Search for torrents within the app from mutiple BT sites Control Aria2 and manage download tasks

My solution use PHP with a class for easy setup

My solution use PHP with a class for easy setup. It accepts requests with the get method just passing the username and password as well as the ip and http port of the Proxmox server. Just needing a web server.

A easy to use library for using InfluxDB with PHP.

influxdb-php InfluxDB client library for PHP Note: This library is for use with InfluxDB 1.x. For connecting to InfluxDB 2.x instances, please use the

Very easy to use a current limiting component, the code is very simple, based on the webman framework.

Very easy to use a current limiting component, the code is very simple, based on the webman framework.

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.
NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features

A simple and easy-to-use enumeration extension package to help you manage enumerations in your project more conveniently

A simple and easy-to-use enumeration extension package to help you manage enumerations in your project more conveniently

Owner
Aydın Demirci
Learning is a good thing :)
Aydın Demirci
[Virion] A library that helps you use Discord Webhook

DiscordHelper How to register Web Hook URL How to register Web Hook URL use NewThing\DiscordHelper\DiscordHelper; DiscordHelper::setURL($YourWebHookU

null 1 Dec 25, 2021
A Discord Webhook Application with the Coinbase API

Ein PHP-Skript um einen Kryptowährungspreis in Discord darzustellen. Installation Windows Voraussetzungen Docker vollständig installiert Discord und e

Nevah 3 Oct 15, 2022
Allow any Discord user to sign in to your website and save their discord user information for later use.

Simple Discord SSO ( Single Sign-On ) Requires at least: 5.0 Tested up to: 5.8.3 Stable tag: 1.0.2 Requires PHP: 7.4 License: GPLv2 or later License U

null 2 Oct 7, 2022
DiscordLookup | Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more...

DiscordLookup Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more... Website Getting Help Tool

Felix 69 Dec 23, 2022
Laradeploy offers you to automate deployment using a GitHub webhook.

Introduction Laradeploy offers you to automate deployment using a GitHub webhook. Simple and fast just make a git push to GitHub deploy the new modifi

Gentrit Abazi 10 Feb 21, 2022
Provides simple interfaces to implement a webhook-based tweeting system

webhook-tweeter This package aims to provide simple interfaces to implement a webhook-based tweeting system. This can, for example, be used to tweet a

Ricardo Boss 2 May 7, 2022
Contact Form7 - KeepinCRM connector via Webhook

Contact Form7 - KeepinCRM connector Плагін для відправки даних з форм на Contact Form7 до KeepinCRM через Webhook. Встановлення Вивантажити плагін арх

null 1 Aug 11, 2022
Receiver is a drop-in webhook handling library for Laravel.

Receiver Receiver is a drop-in webhook handling library for Laravel. Webhooks are a powerful part of any API lifecycle. Receiver aims to make handling

Adam Campbell 270 Jan 6, 2023
This is a clone of Discord's homepage built using Wordpress.

Discord-UI-Clone Description This is a clone of Discord's homepage built using Wordpress, it is configured to run on the Pantheon platform. Live Demo

Abir Bouhriz Daidj 8 Aug 21, 2022
Alfred workflow to convert a Discord snowflake to time

Snowcord for Alfred Takes a Discord snowflake and converts it to a time (UTC, local and Unix timestamp). Also connects with Alfred-Whencord Download D

null 2 Jan 6, 2022