event-dispatcher
Provides tools that allow your application components to communicate with each other by dispatching events and listening to them (by symfony)
http-kernel
Provides a structured process for converting a Request into a Response (by symfony)
Our great sponsors
event-dispatcher | http-kernel | |
---|---|---|
1 | 6 | |
8,451 | 8,034 | |
0.3% | 0.3% | |
6.0 | 9.3 | |
3 months ago | 1 day ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
event-dispatcher
Posts with mentions or reviews of event-dispatcher.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-19.
-
From a Single Repo, to Multi-Repos, to Monorepo, to Multi-Monorepo
While composer does have this limitation in that packages are published by making new tags within the repo, frameworks like symfony and cakephp have workarounds where they have one monorepo where all packages are worked on, and then automation to push changes to read only repos of each component. So there's https://github.com/symfony/symfony pushing to https://github.com/symfony/event-dispatcher which gets published to packagist.
http-kernel
Posts with mentions or reviews of http-kernel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-05.
-
Reading bundle configuration inside Symfony Compiler Passes
The compiling of the extension configurations is actually done in a compiler pass. This is called the Merge Pass and is the first compiler pass to be processed. Because of this, once our custom compiler pass reads the configuration of off the extension, we can be sure it is already compiled, cached and ready for use.
-
95% final readonly classes. What is your superpower?
I present you the Symfony ControllerEvent, final class, no interface and a boatload of heavy dependencies.
-
How do you test your code ?
In that regard, someone posted symfony's test suite as an example of good PHPUnit testing. The first file I clicked on demonstrated how worthless (IMO) unit testing can be: https://github.com/symfony/http-kernel/blob/v6.0.8/Tests/CacheClearer/ChainCacheClearerTest.php
-
What to do when it is necessary to modify code in a library managed by a package manager?
The second one was in the Symfony HTTP kernel which is managed by Composer. That file contains this line:
-
How to create a basic Symfony app with routing?
You can also define routes in the method directly:
What are some alternatives?
When comparing event-dispatcher and http-kernel you can also consider the following projects:
Symfony Mailer - Helps sending emails
http-foundation - Defines an object-oriented layer for the HTTP specification
fjb - fast javascript bundler :package:
console - Eases the creation of beautiful and testable command line interfaces
amqp-messenger - Symfony AMQP extension Messenger Bridge
translation - Provides tools to internationalize your application
Guzzle - Guzzle, an extensible PHP HTTP client
cache - Provides extended PSR-6, PSR-16 (and tags) implementations
routing - Maps an HTTP request to a set of configuration variables
Jenkins - Jenkins automation server
process - Executes commands in sub-processes
event-dispatcher vs Symfony Mailer
http-kernel vs http-foundation
event-dispatcher vs fjb
http-kernel vs console
event-dispatcher vs amqp-messenger
http-kernel vs translation
event-dispatcher vs console
http-kernel vs Guzzle
event-dispatcher vs cache
http-kernel vs routing
event-dispatcher vs Jenkins
http-kernel vs process