NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2974 most downloaded on Packagist
OOP interface for writing Slack Block Kit messages and modals
Latest stable
2.3.1
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 1 weeks to 1.8 years
Some releases are documented
notes for 11 of 33 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
35 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
fix: exclude .devcontainer directory from composer distribution package by @maartenpaauw in https://github.com/slack-php/slack-php-block-kit/pull/68
.devcontainer directory from composer distribution package by @maartenpaauw in https://github.com/slack-php/slack-php-block-kit/pull/68Full Changelog: https://github.com/slack-php/slack-php-block-kit/compare/2.3.0...2.3.1
.devcontainer directory from composer distribution package by @maartenpaauw in #68Full Changelog: 2.3.0...2.3.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
feat: add .gitattributes to exclude unnecessary files from Composer dist package by @maartenpaauw in https://github.com/slack-php/slack-php-block-kit/
.gitattributes to exclude unnecessary files from Composer dist package by @maartenpaauw in https://github.com/slack-php/slack-php-block-kit/pull/67Full Changelog: https://github.com/slack-php/slack-php-block-kit/compare/2.2.0...2.3.0
.gitattributes to exclude unnecessary files from Composer dist package by @maartenpaauw in #67Full Changelog: 2.2.0...2.3.0
Bump friendsofphp/php-cs-fixer from 3.14.4 to 3.65.0 by @dependabot in https://github.com/slack-php/slack-php-block-kit/pull/62
Full Changelog: https://github.com/slack-php/slack-php-block-kit/compare/2.1.2...2.2.0
Full Changelog: 2.1.2...2.2.0
Fix code block creation without block ID by @AdryanSignor in https://github.com/slack-php/slack-php-block-kit/pull/41
Full Changelog: https://github.com/slack-php/slack-php-block-kit/compare/2.1.1...2.1.2
Full Changelog: 2.1.1...2.1.2
Fix wrong property name for MultiUserSelectMenu initial value by @attepulkkinen in https://github.com/slack-php/slack-php-block-kit/pull/59
Full Changelog: https://github.com/slack-php/slack-php-block-kit/compare/2.1.0...2.1.1
Full Changelog: 2.1.0...2.1.1
Fixes a handful of reported issues.
NumberInput element.Thank you contributors.
V2 is written for PHP 8.1+, and uses all the latest and greatest PHP features (enums, named parameters, attributes, etc.).
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:
->validate() explicitly now. This means you can choose to validate or not.Kit class is now a facade for all the components, not just surfaces.Formatter class is now named Md.The README is updated with new examples and diagrams that will help you get a feel for everything.
ActionsCollection to ActionCollection for consistencyValidCollection into UniqueIds validation attributeaccessibility_label field on Elements\ButtonRename ActionsCollection to ActionCollection for consistency
ActionsCollection to ActionCollection for consistencyValidCollection into UniqueIds validation attributeaccessibility_label field on Elements\ButtonV2 is written for PHP 8.1+, and uses all the latest and greatest PHP features (enums, named parameters, attributes, etc.).
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:
->validate() explicitly now. This means you can choose to validate or not.Kit class is now a facade for all the components, not just surfaces.The README is updated with new examples and diagrams that will help you get a feel for everything.
It's about time I cut a v1 release, so here it is! It's not perfect, but it's complete.
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.
Adds tapIf() to all Elements. Works the same as tap(), but allows you to specify a condition to decide if the tap is needed.
tapIf() to all Elements. Works the same as tap(), but allows you to specify a condition to decide if the tap is needed.blocks() methods to all Surfaces for adding arrays/iterables of blocks easily.callbackId, externalId, and privateMetadata to AppHome surfaces. This was previously missing.
View surface class that both Modal and AppHome extend.encodePrivateMetadata(array $data) method to Modal and AppHome, which provides an easy way to set encoded private metadata from an array.newInput() method to all surfaces, instead of just Modals.VirtualBlocks to implement IteratorAggregate for emitting it's BlockElements.Adds support for using Blocks\Input in Surfaces\Message (new in Slack as of 4/20/2021)
Blocks\Input in Surfaces\Message (new in Slack as of 4/20/2021)dispatch_action property in Blocks\Inputdispatch_action_config property in Inputs\TextInput
Partials\DispatchActionConfig objectInputs\TextInput: setDispatchActionConfig, triggerActionOnEnterPressed, and triggerActionOnCharacterEnteredMoved repo from https://github.com/jeremeamia/slack-block-kit to https://github.com/slack-php org.
Jeremeamia\Slack\BlockKit to SlackPhp\BlockKit.jeremeamia/slack-block-kit to slack-php/slack-block-kit.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.