alek13/slack
A simple PHP package (fork of maknz/slack) for sending messages to Slack, with a focus on ease of use and elegant syntax.
2.4.0
5.8M downloads/mo
#2305 most downloaded on Packagist
php-slack/slack
What this package is like to depend on
Last release 16 days ago
07 Aug 2026
Ships unpredictably
gaps range from 2 weeks to 3.2 years
Some releases are documented
notes for 18 of 32 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
32 releases · first in 2014
2 releases in the last 12 months
see the full history below
Release timeline
32 releases · May 2014 to Aug 2026Releases
latest 32-
2.4.007 Aug 2026Release notes
Open source →Change Log:
- Fix PhpUnit tests warning.
- Add PhpUnit tests GitHub Action.
- Fix tests: Exclude abstract
TestCaseclass inphpunit.xml.dist. - Fix tests: new
<source>section for PHPUnit 10+ (PHP 8.1+). - Fix tests: Separate config for PhpUnit 10+.
- Fix tests: Support
DataProvideras PHP attribute for PhpUnit 12+. - CI: Add tests launch on PHP
8.5. - CI: Tests: Add full matrix of PHP & Guzzle to execute tests on.
- CI: Tests: no audit while install dependencies.
- CI: Tests: fix no audit while install dependencies.
- CI: Tests: empty line to rerun jobs after GitHub Actions outage.
- CI: Tests: add Guzzle
^8.0to matrix. - CI: remove Travis integration (we migrated to GH Actions).
- Add Guzzle
^8.0support. Closes #88. Replaces #89.
View full changes
View Commits
Release notes
Open source →- Fix PhpUnit tests warning.
- Add PhpUnit tests GitHub Action.
- Fix tests: Exclude abstract
TestCaseclass inphpunit.xml.dist. - Fix tests: new
<source>section for PHPUnit 10+ (PHP 8.1+). - Fix tests: Separate config for PhpUnit 10+.
- Fix tests: Support
DataProvideras PHP attribute for PhpUnit 12+. - CI: Add tests launch on PHP
8.5. - CI: Tests: Add full matrix of PHP & Guzzle to execute tests on.
- CI: Tests: no audit while install dependencies.
- CI: Tests: fix no audit while install dependencies.
- CI: Tests: empty line to rerun jobs after GitHub Actions outage.
- CI: Tests: add Guzzle
^8.0to matrix. - CI: remove Travis integration (we migrated to GH Actions).
- Add Guzzle
^8.0support. Closes #88. Replaces #89.
-
2.3.120 Jun 2026Release notes
Open source →Change Log:
- add alek13/slack as a replacement for maknz/slack in composer.json
View full changes
View Commits
-
2.3.020 Dec 2024Release notes
Open source →Change Log:
- Support PHP 8.1, 8.2, 8.3, 8.4
- Arguments with a null default must be nullable
- Test PHP 8.1 through 8.4
- Fix warnings for PHPUnit
View full changes
View Commits
Release notes
Open source →- Support PHP 8.1, 8.2, 8.3, 8.4
- Arguments with a null default must be nullable
- Test PHP 8.1 through 8.4
- Fix warnings for PHPUnit
- Support PHP 8.1, 8.2, 8.3, 8.4
-
2.2.120 Oct 2021Release notes
Open source →Change Log:
- Update
.gitattributes: Added /.styleci.yml export-ignore - Fix empty initial values in multi dynamic selects (fix #74)
- Add Scrutinizer config with multiple php versions
View Commits
Release notes
Open source →- Update
.gitattributes: Added /.styleci.yml export-ignore - Fix empty initial values in multi dynamic selects (fix #74)
- Add Scrutinizer config with multiple php versions
- Update
-
2.2.017 Oct 2021Release notes
Open source →Change Log:
- Fix invitation link. Ralates to #67
- Change fieldClass property to trait abstract
- Fix minor Scrutinizer issue with legacy Client injection to Message
- autoload-dev for tests directory to keep it out of production autoloader
- Set Content-Type header to application/json (#71). Closes #70
- Apply fixes from StyleCI (#73). Relates to #71, #70
- New Block Types (#75)
- Commit styleci yml (#77)
View Commits
Release notes
Open source →- Fix invitation link. Ralates to php-slack/slack#67
- Change fieldClass property to trait abstract
- Fix minor Scrutinizer issue with legacy Client injection to Message
- autoload-dev for tests directory to keep it out of production autoloader
- Set Content-Type header to application/json (#71). Closes #70
- Apply fixes from StyleCI (#73). Relates to #71, #70
- New Block Types (#75)
- Commit styleci yml (#77)
-
2.1.102 Sep 2021 -
2.1.022 Jun 2021 -
2.0.209 Jun 2021Release notes
Open source → -
2.0.124 Feb 2021Release notes
Open source →Change Log:
- Add tests for all BlockElement factory types
- Fix BlockElement factory spec for Checkboxes (Fixes #60)
View Commits
Release notes
Open source →- Add tests for all BlockElement factory types
- Fix BlockElement factory spec for Checkboxes (Fixes #60)
-
2.0.010 Feb 2021Release notes
Open source →Change Log:
- ignore phpunit.xml & rename to phpunit.xml.dist fix #16
- exclude 'tests' & 'vendor' from calc code coverage. closes #18
- code style rules; add .editorconfig
- migrate to phpunit 6.5. closes #7. & Update PhpUnit to 7.5. Closes #27
- migrate to mockery 1.0. closes #19
- drop support for php 5, 7.0 & hhvm (fixes builds)
- php docblocks for tests. closes #8
- decrease Attachment::__contruct() complexity. closes #9
- rename attributes to options
- decrease Client::__construct() complexity. closes #12
- Added response_type to allow for 'in_channel' vs 'emphemeral' messages in channel
- Blocks support (Integrate Blocks with main
Message/Client) by @cmbuckley:- Button element and Confirmation object
- Checkboxes element and Option object
- DatePicker element
- Image element
- Overflow element
- TextInput element
- RadioButtons element
- Select element and OptionGroup object
- MultiSelect element
- Actions block
- Context block
- Divider block
- File block
- Image block
- Input block
- Fix php doc-blocks. Closes #39.
- correct initial option check (fixes #40)
- add travis notification to Slack. Closes #17.
- fix class name. fix #45
- Improve test coverage for Block kit
- Added callback_id to Attachment.php (#50) to allow for working with the interactivity callback api in slack
- bugfix: prevent call on non-object
- Update Composer and PHPUnit to PHP 8.0 (#56)
- reuse
PayloadforfillProperties()(decrease complexity). resolves #13 - decouple
MessagefromClient. Closes #15, fixes maknz#70
Release notes
Open source →- ignore phpunit.xml & rename to phpunit.xml.dist fix #16
- exclude 'tests' & 'vendor' from calc code coverage. closes #18
- code style rules; add .editorconfig
- migrate to phpunit 6.5. closes #7. & Update PhpUnit to 7.5. Closes #27
- migrate to mockery 1.0. closes #19
- drop support for php 5, 7.0 & hhvm (fixes builds)
- php docblocks for tests. closes #8
- decrease Attachment::__contruct() complexity. closes #9
- rename attributes to options
- decrease Client::__construct() complexity. closes #12
- Added response_type to allow for 'in_channel' vs 'emphemeral' messages in channel
- Blocks support (Integrate Blocks with main
Message/Client) by @cmbuckley:- Button element and Confirmation object
- Checkboxes element and Option object
- DatePicker element
- Image element
- Overflow element
- TextInput element
- RadioButtons element
- Select element and OptionGroup object
- MultiSelect element
- Actions block
- Context block
- Divider block
- File block
- Image block
- Input block
- Fix php doc-blocks. Closes #39.
- correct initial option check (fixes #40)
- add travis notification to Slack. Closes #17.
- fix class name. fix #45
- Improve test coverage for Block kit
- Added callback_id to Attachment.php (#50) to allow for working with the interactivity callback api in slack
- bugfix: prevent call on non-object
- Update Composer and PHPUnit to PHP 8.0 (#56)
- reuse
PayloadforfillProperties()(decrease complexity). resolves #13 - decouple
MessagefromClient. Closes #15, fixes maknz/slack#70
-
1.12.001 Sep 2020 -
1.11.025 Mar 2020Release notes
Open source →- fix
AttachmentAction::__toArray: no default confirmation popup if noconfirmspecified (fixes #41) - remove
5.5&hhvmsupport, add7.3&7.4support; also remove builds fornightly - change travis & scrutinizer badge urls in readme
- add
ext-jsondependency tocomposer.json - add Playground info in readme
- fix
-
1.10.124 Jan 2018Release notes
Open source →- mark
Message::senddeprecated for #15 - mark Laravel Provider as deprecated with link to new separate package
- add
Questionssection in readme - add
Quick Toursection in readme
- mark
-
1.10.019 Jan 2018 -
1.9.117 Jan 2018Release notes
Open source →- improve & fix doc-block: right types + @throws added
- fix Attachment::setIcon() return value
-
1.9.010 Jan 2018Release notes
Open source →- Added optional footer attachments. Closes maknz/slack#87, closes #2 George* 6/15/16 12:08 AM
- Php doc-blocks fixes. (Mesut Vatansever* 10/20/16 12:06 PM, Michal Vyšinský* 10/19/16 10:58 AM, Freek Van der Herten* 7/18/16 10:51 PM)
-
1.8.109 Jan 2018Release notes
Open source →- Fix bug where message wouldn't get returned on send, closes maknz/slack#47 maknz* 6/26/16 8:06 AM
- integrated Gemnasium; add dependency status badge Alexander Chibrikin 1/9/18 3:38 AM
- integrated Scrutinizer-CI; change badge Alexander Chibrikin 1/9/18 3:36 AM
- add slack welcome badge for community slack workspace Alexander Chibrikin 1/8/18 11:55 PM
-
1.8.008 Jan 2018Release notes
Open source →- speed up builds: store composer cache Alexander Chibrikin 1/8/18 4:11 AM
- add extra branch-alias for packagist Alexander Chibrikin 1/8/18 3:52 AM
- bugfix: fail on build AttachmentAction without confirm (fixes #1, fixes maknz/slack#61) Alexander Chibrikin 1/7/18 5:33 PM
- fix travis build; add builds for php 7.1, 7.2, nightly Alexander Chibrikin 1/6/18 8:48 PM
- rename & publish new package on Packagist.org
- add CHANGELOG.md Alexander Chibrikin 1/8/18 1:39 AM
- Better Travis version testing maknz 6/25/16 5:43 AM
- Drop PHP 5.4, throw an exception if JSON encoding fails maknz 5/28/16 8:29 AM
- fixed code style Ion Bazan 6/22/16 12:04 PM
- added Attachment Actions (buttons) with confirmations Ion Bazan 6/22/16 11:56 AM
- StyleCI config, add badge to README maknz 5/28/16 7:36 AM
- Code style fixes to abide by StyleCI laravel preset maknz 5/28/16 7:29 AM
- Suggest nexylan/slack-bundle for Symfony support Regan McEntyre 3/8/16 10:45 PM
- Update README with NexySlackBundle Regan McEntyre 3/8/16 10:41 PM
- Fixed documentation color values Quentin McRee 1/20/16 4:37 AM
- Removes unused Guzzle class reference from service provider Raj Abishek 12/21/15 8:01 AM
- Fix Laravel 5 config publish instructions Regan McEntyre 6/15/15 10:59 AM
- Add Scrutinizer badge Regan McEntyre 6/4/15 12:24 PM
-
1.7.003 Jun 2015Nothing published for this version
-
1.6.002 Jun 2015Nothing published for this version
-
1.5.016 Mar 2015Nothing published for this version
-
1.4.004 Mar 2015Nothing published for this version
-
1.3.022 Feb 2015Nothing published for this version
-
1.2.013 Feb 2015Nothing published for this version
-
1.1.001 Feb 2015Nothing published for this version
-
1.0.009 Jan 2015Nothing published for this version
-
0.3.006 Jan 2015Nothing published for this version
-
0.2.219 Nov 2014Nothing published for this version
-
0.2.126 Sep 2014Nothing published for this version
-
0.2.008 Sep 2014Nothing published for this version
-
0.1.114 Jun 2014Nothing published for this version
-
0.1.005 May 2014Nothing published for this version