wyrihaximus/broadcast
✨ Statically on composer install/update compiled (async) event dispatcher
2.7.0
159K downloads/mo
#4680 most downloaded on Packagist
WyriHaximus/php-broadcast
What this package is like to depend on
Last release 4 months ago
24 Apr 2026
Ships fairly regularly
a new release about every 7 months
Most releases are documented
notes for 10 of 14 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
14 releases · first in 2020
3 releases in the last 12 months
see the full history below
Release timeline
14 releases · Dec 2020 to Apr 2026Releases
latest 14-
2.7.024 Apr 2026Release notes
Open source →Mainly small non-userfacing improvements, but deprecated adding this to
composer.json:{ "extra": { "wyrihaximus": { "broadcast": { "has-listeners": true } } } }Instead require
wyrihaximus/broadcast-contractsinstead. The aboveextraaddition will continue to work untill the next major version of this package.2.7.0
- Total issues resolved: 0
- Total pull requests resolved: 11
- Total contributors: 3
Bug 🐞
Dependencies 📦,Enhancement ✨
Dependencies 📦
- 346: Bump phpunit/phpunit from 12.5.8 to 12.5.23 thanks to @dependabot[bot]
- 345: Bump composer/composer from 2.9.3 to 2.9.7 thanks to @dependabot[bot]
- 344: Update dependency shipmonk/dead-code-detector to v1 thanks to @renovate-runner[bot]
- 343: Update QA Utilities thanks to @renovate-runner[bot]
- 342: Update dependency wyrihaximus/makefiles to ^0.10.3 thanks to @renovate-runner[bot]
- 341: Update dependency shipmonk/dead-code-detector to ^0.14.1 || ^0.15.0 thanks to @renovate-runner[bot]
- 340: Update dependency wyrihaximus/makefiles to ^0.10.2 thanks to @renovate-runner[bot]
- 339: Update dependency wyrihaximus/makefiles to ^0.10.0 thanks to @renovate-runner[bot]
Enhancement ✨
-
2.6.116 Feb 2026Release notes
Open source →2.6.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug 🐞
-
2.6.016 Feb 2026Release notes
Open source →2.6.0
- Total issues resolved: 0
- Total pull requests resolved: 40
- Total contributors: 4
Bug 🐞
Bug 🐞,Dependencies 📦
- 324: Composer update --lock thanks to @WyriHaximus
Dependencies 📦
- 336: Update dependency wyrihaximus/makefiles to ^0.9.0 thanks to @renovate-runner[bot]
- 334: Bump symfony/process from 7.4.0 to 7.4.5 thanks to @dependabot[bot]
- 333: Bump phpunit/phpunit from 12.5.4 to 12.5.8 thanks to @dependabot[bot]
- 332: Update dependency wyrihaximus/async-test-utilities to v12 thanks to @renovate-runner[bot]
- 331: Update dependency wyrihaximus/makefiles to ^0.8.1 thanks to @renovate-runner[bot]
- 329: Bump composer/composer from 2.9.2 to 2.9.3 thanks to @dependabot[bot]
- 328: Update dependency wyrihaximus/makefiles to ^0.7.16 - autoclosed thanks to @renovate-runner[bot]
- 327: Update dependency wyrihaximus/makefiles to ^0.7.15 thanks to @renovate-runner[bot]
- 326: Update dependency wyrihaximus/async-test-utilities to ^10.7.0 thanks to @renovate-runner[bot]
- 323: Update dependency wyrihaximus/makefiles to ^0.7.14 - autoclosed thanks to @renovate-runner[bot]
- 322: Update dependency wyrihaximus/makefiles to ^0.7.13 - autoclosed thanks to @renovate-runner[bot]
- 320: Update dependency wyrihaximus/makefiles to ^0.7.12 thanks to @renovate-runner[bot]
- 319: Update dependency wyrihaximus/makefiles to ^0.7.11 thanks to @renovate-runner[bot]
- 317: Update dependency wyrihaximus/makefiles to ^0.7.10 thanks to @renovate-runner[bot]
- 316: Update dependency wyrihaximus/makefiles to ^0.7.9 thanks to @renovate-runner[bot]
- 315: Update dependency wyrihaximus/makefiles to ^0.7.8 thanks to @renovate-runner[bot]
- 314: Update dependency wyrihaximus/makefiles to ^0.7.7 thanks to @renovate-runner[bot]
- 313: Update dependency wyrihaximus/async-test-utilities to ^10.4.0 thanks to @renovate-runner[bot]
- 312: Update dependency wyrihaximus/async-test-utilities to ^10.3.0 thanks to @renovate-runner[bot]
- 311: Update dependency wyrihaximus/makefiles to ^0.7.6 - autoclosed thanks to @renovate-runner[bot]
- 310: Update dependency wyrihaximus/async-test-utilities to ^10.2.0 thanks to @renovate-runner[bot]
- 309: Update dependency wyrihaximus/makefiles to ^0.7.5 thanks to @renovate-runner[bot]
- 308: Update dependency wyrihaximus/makefiles to ^0.7.4 - autoclosed thanks to @renovate-runner[bot]
- 307: Update dependency wyrihaximus/makefiles to ^0.7.3 - autoclosed thanks to @renovate-runner[bot]
- 306: Update dependency wyrihaximus/makefiles to ^0.7.2 - autoclosed thanks to @renovate-runner[bot]
- 305: Update dependency wyrihaximus/makefiles to ^0.7.0 - autoclosed thanks to @renovate-runner[bot]
- 304: PHP 8.4 + QA updates thanks to @WyriHaximus
- 301: Update dependency wyrihaximus/makefiles to ^0.5.0 thanks to @renovate-runner[bot]
- 300: Update dependency wyrihaximus/async-test-utilities to ^9.4.2 thanks to @renovate-runner[bot]
- 299: Update dependency wyrihaximus/makefiles to ^0.4.3 thanks to @renovate-runner[bot]
- 296: Update dependency wyrihaximus/makefiles to ^0.3.1 || ^0.4.0 - autoclosed thanks to @renovate[bot]
- 294: Raise to PHP 8.3 thanks to @WyriHaximus
- 292: Update QA utils thanks to @WyriHaximus
Dependencies 📦,Enhancement ✨
- 335: Add PHPStan services starting with ShipMonk DeadCode thanks to @WyriHaximus
- 321: Switch to Twig helper for provider generating thanks to @WyriHaximus
- 297: Update Makefile and enable Rector thanks to @WyriHaximus
Enhancement ✨
-
2.5.006 Jan 2025Release notes
Open source →2.5.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 2
Bug 🐞
- 291: Fix Poser badge images thanks to @WyriHaximus
Dependencies 📦
- 290: Bump symfony/process from 7.1.5 to 7.2.0 thanks to @dependabot[bot]
- 287: Bump symfony/process from 7.1.5 to 7.1.7 thanks to @dependabot[bot]
Enhancement ✨
-
2.4.010 Oct 2024Release notes
Open source →Swapped out some boring internals into wyrihaximus/generative-composer-plugin-tooling and address a dependency mis require.
2.4.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 2
Bug 🐞,Dependencies 📦
- 286: Move container PSR to prod require where it should have been from the start thanks to @WyriHaximus
Dependencies 📦
-
2.3.122 Mar 2024Release notes
Open source →2.3.1
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 1
Dependencies 📦
- 282: Bump composer/composer from 2.6.4 to 2.7.2 thanks to @dependabot[bot]
- 279: Bump composer/composer from 2.6.4 to 2.7.0 thanks to @dependabot[bot]
- 278: Bump composer/composer from 2.6.3 to 2.6.4 thanks to @dependabot[bot]
-
2.3.027 Sep 2023Release notes
Open source →Brings template types
2.3.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies 📦
- 276: PHP 8.2+ thanks to @WyriHaximus
-
2.1.008 Jan 2023Release notes
Open source →2.1.0
- Total issues resolved: 0
- Total pull requests resolved: 31
- Total contributors: 2
Dependencies 📦,JSON 👨💼,PHP 🐘,Source 🔮,Tests 🧪
CI 🚧,Configuration ⚙,YAML 🍄
PHP 🐘,Source 🔮
- 236: Ignore intersection types thanks to @WyriHaximus
Dependencies 📦,PHP 🐘,Tests 🧪
Documentation 📚,Feature 🏗,MarkDown 📝,PHP 🐘,Source 🔮,Tests 🧪
- 234: Union type support thanks to @WyriHaximus
Dependencies 📦,PHP 🐘
- 233: Bump illuminate/collections from 9.45.1 to 9.46.0 thanks to @dependabot[bot]
- 232: Bump illuminate/collections from 9.45.0 to 9.45.1 thanks to @dependabot[bot]
- 231: Bump illuminate/collections from 9.42.2 to 9.45.0 thanks to @dependabot[bot]
- 230: Bump illuminate/collections from 9.42.2 to 9.44.0 thanks to @dependabot[bot]
- 229: Bump illuminate/collections from 9.42.2 to 9.43.0 thanks to @dependabot[bot]
- 228: Bump illuminate/collections from 9.40.1 to 9.42.2 thanks to @dependabot[bot]
- 227: Bump illuminate/collections from 9.40.1 to 9.42.0 thanks to @dependabot[bot]
- 226: Bump illuminate/collections from 9.40.1 to 9.41.0 thanks to @dependabot[bot]
- 225: Bump illuminate/collections from 9.38.0 to 9.40.1 thanks to @dependabot[bot]
- 224: Bump illuminate/collections from 9.38.0 to 9.40.0 thanks to @dependabot[bot]
- 223: Bump illuminate/collections from 9.38.0 to 9.39.0 thanks to @dependabot[bot]
- 222: Bump illuminate/collections from 9.36.4 to 9.38.0 thanks to @dependabot[bot]
- 220: Bump illuminate/collections from 9.36.3 to 9.36.4 thanks to @dependabot[bot]
- 219: Bump illuminate/collections from 9.35.0 to 9.36.3 thanks to @dependabot[bot]
- 216: Bump illuminate/collections from 9.34.0 to 9.35.0 thanks to @dependabot[bot]
- 215: Bump illuminate/collections from 9.29.0 to 9.34.0 thanks to @dependabot[bot]
- 213: Bump roave/better-reflection from 5.9.0 to 5.11.1 thanks to @dependabot[bot]
- 212: Bump twig/twig from 3.3.10 to 3.4.3 thanks to @dependabot[bot]
- 210: Bump illuminate/collections from 9.28.0 to 9.29.0 thanks to @dependabot[bot]
- 209: Bump illuminate/collections from 9.27.0 to 9.28.0 thanks to @dependabot[bot]
- 208: Bump illuminate/collections from 9.26.1 to 9.27.0 thanks to @dependabot[bot]
- 207: Bump roave/better-reflection from 5.8.0 to 5.9.0 thanks to @dependabot[bot]
- 206: Bump roave/better-reflection from 5.7.0 to 5.8.0 thanks to @dependabot[bot]
- 205: Bump illuminate/collections from 9.25.1 to 9.26.1 thanks to @dependabot[bot]
- 203: Bump illuminate/collections from 9.24.0 to 9.25.1 thanks to @dependabot[bot]
- 202: Bump illuminate/collections from 9.24.0 to 9.25.0 thanks to @dependabot[bot]
-
2.0.013 Aug 2022Release notes
Open source →Adds support for calling listeners in PHP 8.1 fibers using
react/asyncasync(). And as such raised the minimum PHP version to 8.1.Async listeners
Before you can use
react/async'sawait(). In a listener, you must change the interface fromListenertoAsyncListener. After that, every time that listener is called it will be run inside a fiber and the dispatcher will wait for it to finish. This brings it fully in line with non-non-blocking listeners.Technically it is possible to use
await()in non-async listeners but that will block the rest of the process. Where using async listeners only that listener is awaited in a fiber and will not block the rest of the process.PSR-14 compatibility bug fix
This release also contains a bug fix (#180) that was caused by not rethrowing any caught and logged exceptions.
2.0.0
- Total issues resolved: 1
- Total pull requests resolved: 56
- Total contributors: 2
Dependencies 📦,PHP 🐘
- 201: Bump wyrihaximus/async-test-utilities from 5.0.11 to 5.0.12 thanks to @dependabot[bot]
- 200: Bump wyrihaximus/async-test-utilities from 5.0.10 to 5.0.11 thanks to @dependabot[bot]
- 199: Bump illuminate/collections from 9.23.0 to 9.24.0 thanks to @dependabot[bot]
- 198: Bump illuminate/collections from 9.21.6 to 9.23.0 thanks to @dependabot[bot]
- 197: Bump illuminate/collections from 9.21.6 to 9.22.1 thanks to @dependabot[bot]
- 196: Bump illuminate/collections from 9.21.6 to 9.22.0 thanks to @dependabot[bot]
- 195: Bump wyrihaximus/async-test-utilities from 5.0.9 to 5.0.10 thanks to @dependabot[bot]
- 194: Bump illuminate/collections from 9.21.4 to 9.21.6 thanks to @dependabot[bot]
- 193: Bump illuminate/collections from 9.21.1 to 9.21.4 thanks to @dependabot[bot]
- 192: Bump illuminate/collections from 9.21.0 to 9.21.1 thanks to @dependabot[bot]
- 189: Bump illuminate/collections from 9.13.0 to 9.21.0 thanks to @dependabot[bot]
- 187: Bump wyrihaximus/async-test-utilities from 5.0.6 to 5.0.9 thanks to @dependabot[bot]
- 181: Bump roave/better-reflection from 5.4.0 to 5.6.0 thanks to @dependabot[bot]
- 179: Bump guzzlehttp/guzzle from 7.4.3 to 7.4.5 thanks to @dependabot[bot]
- 177: Bump wyrihaximus/async-test-utilities from 5.0.3 to 5.0.6 thanks to @dependabot[bot]
- 174: Bump wyrihaximus/async-test-utilities from 5.0.2 to 5.0.3 thanks to @dependabot[bot]
- 173: Bump illuminate/collections from 9.12.2 to 9.13.0 thanks to @dependabot[bot]
- 171: Bump wyrihaximus/async-test-utilities from 5.0.0 to 5.0.2 thanks to @dependabot[bot]
- 170: Bump wyrihaximus/broadcast-contracts from 1.2.0 to 1.3.0 thanks to @dependabot[bot]
- 169: Bump illuminate/collections from 9.11.0 to 9.12.2 thanks to @dependabot[bot]
- 166: Bump illuminate/collections from 8.12.0 to 9.11.0 thanks to @dependabot[bot]
- 165: Bump pimple/pimple from 3.3.1 to 3.5.0 thanks to @dependabot[bot]
- 164: Bump guzzlehttp/guzzle from 6.0.0 to 7.4.2 thanks to @dependabot[bot]
- 162: Bump guzzlehttp/psr7 from 1.0.0 to 1.8.5 thanks to @dependabot[bot]
- 163: Bump twig/twig from 2.13.0 to 3.3.10 thanks to @dependabot[bot]
- 161: Bump wyrihaximus/test-utilities from 5.0.5 to 5.0.6 thanks to @dependabot[bot]
- 159: Bump illuminate/collections from 9.8.1 to 9.10.0 thanks to @dependabot[bot]
- 158: Bump composer/composer from 2.2.9 to 2.3.5 thanks to @dependabot[bot]
- 157: Bump illuminate/collections from 9.8.1 to 9.9.0 thanks to @dependabot[bot]
- 156: Bump roave/better-reflection from 5.3.0 to 5.4.0 thanks to @dependabot[bot]
- 154: Bump illuminate/collections from 9.5.1 to 9.8.1 thanks to @dependabot[bot]
- 153: Bump illuminate/collections from 9.5.1 to 9.7.0 thanks to @dependabot[bot]
- 151: Bump illuminate/collections from 9.4.1 to 9.5.1 thanks to @dependabot[bot]
- 150: Bump roave/better-reflection from 5.2.0 to 5.3.0 thanks to @dependabot[bot]
- 149: Bump wyrihaximus/test-utilities from 5.0.3 to 5.0.5 thanks to @dependabot[bot]
- 146: Bump wyrihaximus/test-utilities from 5.0.1 to 5.0.3 thanks to @dependabot[bot]
- 144: Bump illuminate/collections from 9.3.0 to 9.3.1 thanks to @dependabot[bot]
- 143: Bump illuminate/collections from 9.2.0 to 9.3.0 thanks to @dependabot[bot]
- 142: Bump roave/better-reflection from 5.1.0 to 5.2.0 thanks to @dependabot[bot]
- 141: Bump roave/better-reflection from 5.0.7 to 5.1.0 thanks to @dependabot[bot]
CI 🚧,Configuration ⚙,YAML 🍄,bug
- 191: Remove label sponsors workflow as we're doing that somewhere else thanks to @WyriHaximus
- 190: Only run CI on specific push branches thanks to @WyriHaximus
- 183: Allow upcoming releases to fail thanks to @WyriHaximus
CI 🚧,Configuration ⚙,YAML 🍄,enhancement
- 188: Don't run can require against upcoming PHP version thanks to @WyriHaximus
- 184: CI allow all composer plugins during can require thanks to @WyriHaximus
Dependencies 📦,JSON 👨💼,PHP 🐘
- 186: Require stable react/async thanks to @WyriHaximus
- 167: Bump wyrihaximus/async-test-utilities from 4.2.0 to 5.0.0 thanks to @dependabot[bot]
- 140: Bump illuminate/collections from 8.82.0 to 9.2.0 thanks to @dependabot[bot]
- 139: Bump illuminate/collections from 8.82.0 to 9.1.0 thanks to @dependabot[bot]
- 137: Bump illuminate/collections from 8.82.0 to 9.0.0 thanks to @dependabot[bot]
NEON 🦹♂️,PHP 🐘,Source 🔮,enhancement
PHP 🐘,Source 🔮,Tests 🧪,enhancement
NEON 🦹♂️,PHP 🐘,Source 🔮,Tests 🧪,bug
Dependencies 📦,Documentation 📚,JSON 👨💼,MarkDown 📝,PHP 🐘,Source 🔮,Tests 🧪
- 172: Add no handle support thanks to @WyriHaximus
Feature 🏗,enhancement
Dependencies 📦,Documentation 📚,JSON 👨💼,MarkDown 📝,NEON 🦹♂️,PHP 🐘,Source 🔮,Tests 🧪
Dependencies 📦,JSON 👨💼,PHP 🐘,Source 🔮
- 135: Move dummy into
src/thanks to @WyriHaximus
-
1.1.323 Jan 2022Release notes
Open source →1.1.3
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies 📦,PHP 🐘,bug
-
1.1.223 Jan 2022Nothing published for this version
-
1.1.116 Jan 2022Nothing published for this version
-
1.1.016 Jan 2022Nothing published for this version
-
1.0.017 Dec 2020Nothing published for this version