PHPackages                             frankie813/discord-embed-messages - 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. [API Development](/categories/api)
4. /
5. frankie813/discord-embed-messages

ActiveLaravel-plugin[API Development](/categories/api)

frankie813/discord-embed-messages
=================================

A Laravel package to create and send embed messages with interactive components like buttons and select menus to Discord channels.

0.0.1(3y ago)0225MITPHP

Since Apr 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Frankie813/discord-embed-messages)[ Packagist](https://packagist.org/packages/frankie813/discord-embed-messages)[ RSS](/packages/frankie813-discord-embed-messages/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Discord Embed Message for Laravel
=================================

[](#discord-embed-message-for-laravel)

A Laravel package to create and send embed messages with interactive components like buttons and select menus to Discord channels.

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

[](#installation)

Install the package via Composer:

`composer require frankie813/discord-embed-message`

Usage
-----

[](#usage)

To use the package, first create a new instance of the DiscordEmbedMessage class with your bot token:

```
use Frankie813\DiscordEmbedMessage\DiscordEmbedMessage;

// ...

$botToken = 'YOUR_BOT_TOKEN';
$message = new DiscordEmbedMessage($botToken);

```

Then, use the provided methods to customize your embed message and add interactive components:

```
$message->addTitle('Title')
    ->addDescription('Description')
    ->addColor('#FF0000')
    ->addAuthor('Author Name', 'https://author-url.com', 'https://author-icon-url.com')
    ->addTimestamp()
    ->addImage('https://image-url.com')
    ->addField('Field Name', 'Field Value', true)
    ->addFooter('Footer Text', 'https://footer-icon-url.com')
    ->addThumbnail('https://thumbnail-url.com')
    ->addMentionRole('ROLE_ID')
    ->addButton('Button Label', 1, 'custom_id', null, false)
    ->addSelectMenu('select_menu_custom_id', 'Select Menu Placeholder', [['label' => 'Option 1', 'value' => 'option1'], ['label' => 'Option 2', 'value' => 'option2']]);

```

Finally, send the embed message to a specific channel using the sendEmbed method:

```
$channelId = 'YOUR_CHANNEL_ID';
$response = $message->sendEmbed($channelId);

```

Methods
-------

[](#methods)

Below are the available methods for the DiscordEmbedMessage class:

```
addTitle($title)
addDescription($description)
addColor($color)
addAuthor($name, $url = null, $icon_url = null)
addTimestamp($timestamp = null)
addImage($url)
addField($name, $value, $inline = false)
addFooter($text, $icon_url = null)
addThumbnail($url)
addMentionRole($roleId)
addButton($label, $style, $custom_id, $url = null, $disabled = false)
addSelectMenu($custom_id, $placeholder, $options, $min_values = 1, $max_values = 1, $disabled = false)
sendEmbed($channelId)

```

License
-------

[](#license)

This package is open-source software licensed under the MIT license.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

1120d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e28cdc3d62896e132637300da821ca284f02fe9e15a3dbaf30a317cf44200b26?d=identicon)[Frankie813](/maintainers/Frankie813)

---

Top Contributors

[![Frankie813](https://avatars.githubusercontent.com/u/103602426?v=4)](https://github.com/Frankie813 "Frankie813 (3 commits)")

### Embed Badge

![Health badge](/badges/frankie813-discord-embed-messages/health.svg)

```
[![Health](https://phpackages.com/badges/frankie813-discord-embed-messages/health.svg)](https://phpackages.com/packages/frankie813-discord-embed-messages)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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