PackageTrack
Sign in Get early access

slack-php/slack-block-kit

OOP interface for writing Slack Block Kit messages and modals

2.3.1 913K downloads/mo #4271 most downloaded on Packagist slack-php/slack-php-block-kit

What this package is like to depend on

Last release 1 years ago

07 Apr 2025

Ships unpredictably

gaps range from 1 weeks to 1.8 years

Rarely documented

notes for 8 of 33 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

35 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

35 releases · Nov 2019 to Apr 2025
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 35
  1. 2.3.1 07 Apr 2025
    Release notes

    What's Changed

    • fix: exclude .devcontainer directory from composer distribution package by @maartenpaauw in #68
    • make properties explicitly nullable by @krb19xx in #78

    New Contributors

    Full Changelog: 2.3.0...2.3.1

    Open source →
  2. 2.3.0 28 Dec 2024
    Release notes

    What's Changed

    • feat: add .gitattributes to exclude unnecessary files from Composer dist package by @maartenpaauw in #67
    • Add rich text block, elements and parts by @maartenpaauw in #66

    Full Changelog: 2.2.0...2.3.0

    Open source →
  3. 2.2.0 17 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.1.2...2.2.0

    Open source →
  4. 2.1.2 05 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.1.1...2.1.2

    Open source →
  5. 2.1.1 03 Dec 2024
    Release notes

    What's Changed

    • Fix wrong property name for MultiUserSelectMenu initial value by @attepulkkinen in #59

    New Contributors

    Full Changelog: 2.1.0...2.1.1

    Open source →
  6. 2.1.0 19 Dec 2023
    Release notes
    • Adds NumberInput element.
    • Fixes a handful of reported issues.

    Thank you contributors.

    Open source →
  7. 2.0.0 19 Feb 2022
    Release notes

    Welcome to Version 2!

    V2 is written for PHP 8.1+, and uses all the latest and greatest PHP features (enums, named parameters, attributes, etc.).

    The library itself has gone through quite a few changes:

    • Many classes/namespaces have been renamed (Elements -> Components, Inputs -> Elements, Partials -> Parts, etc.). Most of these changes are to align better with Slack documentation.
    • Named parameters have become the primary interface now, but the fluent interface is still there too (and more reliable than before, IMO).
    • Lots of fixes across the different components (found a lot of little bugs here and there), and improvements to validations.
    • Validation is no longer implicit. You have to call ->validate() explicitly now. This means you can choose to validate or not.
    • The Kit class is now a facade for all the components, not just surfaces.
    • The Formatter class is now named Md.
    • Existing component objects are easier to read/update. This makes them more useful in the context of APIs and app code where block kit JSON is received and needs to be altered (very common for modals and app homes).

    The README is updated with new examples and diagrams that will help you get a feel for everything.

    Open source →
    Release notes
    • Rename ActionsCollection to ActionCollection for consistency
    • Separate unique ID validation from ValidCollection into UniqueIds validation attribute
    • Add support for new accessibility_label field on Elements\Button
    Open source →
    Release notes

    Welcome to Version 2!

    V2 is written for PHP 8.1+, and uses all the latest and greatest PHP features (enums, named parameters, attributes, etc.).

    The library itself has gone through quite a few changes:

    • Many classes/namespaces have been renamed (Elements -> Components, Inputs -> Elements, Partials -> Parts, etc.). Most of these changes are to align better with Slack documentation.
    • Named parameters have become the primary interface now, but the fluent interface is still there too (and more reliable than before, IMO).
    • Lots of fixes across the different components (found a lot of little bugs here and there), and improvements to validations.
    • Validation is no longer implicit. You have to call ->validate() explicitly now. This means you can choose to validate or not.
    • The Kit class is now a facade for all the components, not just surfaces.
    • Existing component objects are easier to read/update. This makes them more useful in the context of APIs and app code where block kit JSON is received and needs to be altered (very common for modals and app homes).

    The README is updated with new examples and diagrams that will help you get a feel for everything.

    Open source →
  8. 2.0.0-alpha.2 08 Feb 2022 pre-release

    Nothing published for this version

  9. 2.0.0-alpha.1 06 Feb 2022 pre-release

    Nothing published for this version

  10. 1.0.0 02 Feb 2022
    Release notes

    It's about time I cut a v1 release, so here it is! It's not perfect, but it's complete.

    This release includes recent contributions for internationalization, unique ID checks, and test updates as well (Thank you!).

    Going forward, any patches for v1 should use the v1 branch.

    The main branch (formerly master) has diverged now to v2 work.

    Open source →
  11. 0.19.0 18 Jun 2021

    Nothing published for this version

  12. 0.18.0 30 Apr 2021

    Nothing published for this version

  13. 0.17.0 15 Apr 2021

    Nothing published for this version

  14. 0.16.0 02 Mar 2021

    Nothing published for this version

  15. 0.15.0 15 Jan 2021

    Nothing published for this version

  16. 0.14.0 05 Jan 2021

    Nothing published for this version

  17. 0.13.1 12 Dec 2020

    Nothing published for this version

  18. 0.13.0 03 Dec 2020

    Nothing published for this version

  19. 0.12.0 22 Nov 2020

    Nothing published for this version

  20. 0.11.0 19 Nov 2020

    Nothing published for this version

  21. 0.10.1 19 Nov 2020

    Nothing published for this version

  22. 0.10.0 09 Nov 2020

    Nothing published for this version

  23. 0.9.0 30 Sep 2020

    Nothing published for this version

  24. 0.8.3 09 Jun 2020

    Nothing published for this version

  25. 0.8.2 14 Apr 2020

    Nothing published for this version

  26. 0.8.1 14 Apr 2020

    Nothing published for this version

  27. 0.8.0 08 Feb 2020

    Nothing published for this version

  28. 0.7.0 17 Jan 2020

    Nothing published for this version

  29. 0.6.0 14 Jan 2020

    Nothing published for this version

  30. 0.5.1 05 Dec 2019

    Nothing published for this version

  31. 0.5.0 02 Dec 2019

    Nothing published for this version

  32. 0.4.0 21 Nov 2019

    Nothing published for this version

  33. 0.3.0 21 Nov 2019

    Nothing published for this version

  34. 0.2.0 21 Nov 2019

    Nothing published for this version

  35. 0.1.0 16 Nov 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive