PHPackages                             gustavosantarosa/slack-api - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gustavosantarosa/slack-api

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gustavosantarosa/slack-api
==========================

Conversores para automatizar as views

1.0.0(5y ago)11MITPHPPHP ^7.2

Since Aug 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/GustavoSantarosa/slack-api)[ Packagist](https://packagist.org/packages/gustavosantarosa/slack-api)[ Docs](http://www.gustavosantarosa.esy.es/)[ RSS](/packages/gustavosantarosa-slack-api/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Slack Api
=========

[](#slack-api)

Api para enviar msg automatico para o slack

Documentação Por hora só é possivel enviar mensagens para um canal especifico, em breve sera introduzido as demais funções.

Modo de uso

```
use GustavoSantarosa\slackApi;

    // Aqui voce vai iniciar o construtor com a chave passada pelo slack
    $slackApi = new slackApi("sua chave");
    // Aqui voce vai passar como parametro o canal sem o jogo da velha # e depois a mensagem que deseja.
    $slackApi->enviarMsg("teste", "teste2");
    // Caso haja algum problema, ou qualquer retorno do slack, voce pode utilizar o callback para ver.
    $slackApi->callback();
```

#### Configurações

[](#configurações)

Em breve estas funções serão incluidas.

As configurações padrão são muito boas, mas você pode desejar configurar o comportamento padrão para o seu cliente a ser usado em todas as mensagens enviadas. Todas as configurações são opcionais e você não precisa fornecer nenhuma. Onde não for fornecido, recuaremos para o que está configurado na integração do webhook, que é gerenciado no Slack, ou nossos padrões sensíveis.

FieldTypeDescription`channel`stringThe default channel that messages will be sent to`username`stringThe default username for your bot`icon`stringThe default icon that messages will be sent with, either `:emoji:` or a URL to an image`link_names`boolWhether names like `@regan` or `#accounting` should be linked in the message (defaults to false)`unfurl_links`boolWhether Slack should unfurl text-based URLs (defaults to false)`unfurl_media`boolWhether Slack should unfurl media-based URLs, like tweets or Youtube videos (defaults to true)`allow_markdown`boolWhether markdown should be parsed in messages, or left as plain text (defaults to true)`markdown_in_attachments`arrayWhich attachment fields should have markdown parsed (defaults to none)Contributing

Please see CONTRIBUTING for details. Support Se você descobrir algum problema relacionado à segurança, envie um e-mail para  em vez de usar o rastreador de problemas.

Thank you

Credits

```
Luis Gustavo Santarosa Pinto (Developer)
All Contributors (This Rock)

```

License

The MIT License (MIT). Please see License File for more information.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

2107d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c642cdff5522221c83d76388c9b4dbb610691e7f1a06741b1ae95ad3dbd9184?d=identicon)[GustavoSantarosa](/maintainers/GustavoSantarosa)

---

Top Contributors

[![GustavoSantarosa](https://avatars.githubusercontent.com/u/60905574?v=4)](https://github.com/GustavoSantarosa "GustavoSantarosa (12 commits)")

---

Tags

slackslackapiGustavoSantarosaBolota

### Embed Badge

![Health badge](/badges/gustavosantarosa-slack-api/health.svg)

```
[![Health](https://phpackages.com/badges/gustavosantarosa-slack-api/health.svg)](https://phpackages.com/packages/gustavosantarosa-slack-api)
```

###  Alternatives

[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)[maknz/slack-laravel

Laravel 4 and 5 integration for the maknz/slack package, including facades and service providers.

154969.3k1](/packages/maknz-slack-laravel)[jeremykenedy/slack-laravel

Laravel integration for the jeremykenedy/slack package, including facades and service providers.

54738.8k](/packages/jeremykenedy-slack-laravel)[razorpay/slack-laravel

Laravel 4 and 5 integration for the razorpay/slack package, including facades and service providers.

18375.3k1](/packages/razorpay-slack-laravel)

PHPackages © 2026

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