PHPackages                             nayuta1999/sendslacker - 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. nayuta1999/sendslacker

ActiveLibrary

nayuta1999/sendslacker
======================

1.4(6y ago)019[3 PRs](https://github.com/nayuta1999/SendSlacker/pulls)MITPHP

Since Mar 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nayuta1999/SendSlacker)[ Packagist](https://packagist.org/packages/nayuta1999/sendslacker)[ RSS](/packages/nayuta1999-sendslacker/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (1)Versions (9)Used By (0)

SendSlacker
===========

[](#sendslacker)

概要
--

[](#概要)

Slackにincoming webhookのAPIにGuzzleを使って送信します． 簡易にSlackに何かを送信したいときに便利です．

依存関係
----

[](#依存関係)

php:7.3 guzzlehttp/guzzle

Install
-------

[](#install)

```
composer require nayuta1999/sendslacker

```

使い方
---

[](#使い方)

宣言例

```
$client_slack = new SendSlacker("https://hooks.slack.com/services/XXXXXXXXX");

```

プログラム直書きはよくないのでphpdotenvなどを別にinstallして使うべき．

メッセージの送り方

```
$client_slack->sendText("XXXXXXX");

```

ただのテキストメッセージを送信するならこのメソッドを呼ぶ．

blocksやattachmentsを使うとき

```
$client_slack->addBlock($block);//$blockの中にはblockとして送信したい連想配列を入力する．
$client_slack->addAttachments($attachments);//$attachmentsの中にはattachmentsとして送信したい連想配列を入力する

```

debugをしたいとき

```
$client_slack->setdebug();

```

debug時はhttp\_errorを無効にしない．

Licence
-------

[](#licence)

Copyright (c) 2020 nayuta1999 Released under the MIT license

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

5

Last Release

2206d ago

### Community

Maintainers

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

---

Top Contributors

[![nayuta1999](https://avatars.githubusercontent.com/u/44791646?v=4)](https://github.com/nayuta1999 "nayuta1999 (11 commits)")

### Embed Badge

![Health badge](/badges/nayuta1999-sendslacker/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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