PHPackages                             coercive/orator - 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. coercive/orator

ActiveLibrary

coercive/orator
===============

Coercive Orator

0.0.7(1y ago)0245MITPHP &gt;=7.4

Since Jun 12Pushed 1y agoCompare

[ Source](https://github.com/Coercive/Orator)[ Packagist](https://packagist.org/packages/coercive/orator)[ Docs](http://coercive.fr)[ RSS](/packages/coercive-orator/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

Coercive Orator
===============

[](#coercive-orator)

Simple handlers for Slack and Discord webhooks.

Get
---

[](#get)

```
composer require coercive/orator
```

Slack
-----

[](#slack)

```
$slack = new SlackHook(HOOKS_SLACK_URL);
$slack->publish('Hello!');
```

Discord
-------

[](#discord)

```
$discord = new DiscordHook(HOOKS_DISCORD_URL);
$discord->setContent('Hello!');
$discord->publish();
```

Vocalize text ?

```
$discord->setTts(true);
```

Advanced embed content

```
# Simple content
$embed1 = new Embed('Light', 'This is white colored', '#FFFFFF');

# Complex content
$embed2 = new Embed;
$embed2->Author()->setName('JOHN DOE');
$embed2->setTitle('Custom title');
$embed2->setColor('#FF0000');
$embed2->setDescription('Say something');
$embed2->Footer()->setText('This is the end');

$discord = new DiscordHook(HOOKS_DISCORD_URL);
$discord->setContent('Hello!');
$discord->addEmbed($embed1);
$discord->addEmbed($embed2);
$discord->publish();
```

Log
---

[](#log)

Example of basic config

```
L::detectLogpath();
L::basepath('/root/path/to/my/project');
L::header('prod', 'myproject', 'coercive', '•••');
L::colorizeLevel();
```

And then, you can log something

```
# Log by level (debug, error, fatal, info, warning)
L::info('Hello! This is an info log!');
L::warning('Hello! This is a warning log!');

# Log mixed data
L::debug([
    'example',
    'data',
    'to',
    'log'
]);

# Add separator
L::separator();
L::rainbow();
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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 ~310 days

Recently: every ~351 days

Total

7

Last Release

665d ago

PHP version history (3 changes)0.0.1PHP &gt;=7.1

0.0.2PHP &gt;=7

0.0.5PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20288080?v=4)[Coercive](/maintainers/Coercive)[@Coercive](https://github.com/Coercive)

---

Top Contributors

[![Coercive](https://avatars.githubusercontent.com/u/20288080?v=4)](https://github.com/Coercive "Coercive (6 commits)")

### Embed Badge

![Health badge](/badges/coercive-orator/health.svg)

```
[![Health](https://phpackages.com/badges/coercive-orator/health.svg)](https://phpackages.com/packages/coercive-orator)
```

PHPackages © 2026

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