comparison
Comparison between Capsule and other containers. (by capsulephp)
bero
Bero is a dependency injection container for PHP (by paketphp)
comparison | bero | |
---|---|---|
3 | 3 | |
4 | 1 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 2 years ago | |
PHP | PHP | |
- | 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.
comparison
Posts with mentions or reviews of comparison.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-03.
-
Uncovering the bottlenecks: An investigation into the poor performance of Laravel's container
(For reference, here is one non-performance-related comparison: https://github.com/capsulephp/comparison.)
-
Capsule 3: Clean, Concise, Composable Dependency Injection
Yes, that's the same kind of workaround as I see with PHP-DI (which also uses arrays); cf. https://github.com/capsulephp/comparison/blob/3.x/php-di.php.
bero
Posts with mentions or reviews of bero.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-14.
- Capsule 3: Clean, Concise, Composable Dependency Injection
- Using /** @var for typehints
-
Union Types and PHP 8
https://github.com/paketphp/bero/blob/1696ecff4629f8da7becc3ba9ddcce3dd4b688fb/src/StrictBero.php#L133
What are some alternatives?
When comparing comparison and bero you can also consider the following projects:
benchmarks-containers - PHP Container Benchmarks
psalm-psr-container-plugin - Let Psalm understand better psr11 containers
kaly - Minimalist and modern php framework
hyperf - 🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
php-container-benchmark
PHP-DI - The dependency injection container for humans
php-di-container-benchmarks - Benchmark for some popular PHP Dependency Injection Containers.
Pimple - A small PHP dependency injection container
Symfony DI - Allows you to standardize and centralize the way objects are constructed in your application