PHP-DI
Lumen
PHP-DI | Lumen | |
---|---|---|
13 | 18 | |
2,628 | 7,639 | |
0.3% | - | |
6.3 | 0.0 | |
11 days ago | 26 days ago | |
PHP | PHP | |
MIT License | MIT License |
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.
PHP-DI
-
Reusing PHP code (with GIFs)
You may read PHP-DI to dig further.
-
In your opinion, which existing PHP framework can become as popular as Symphony or Laravel?
This one is compliant with PSR-11 and super easy to use: https://php-di.org/
- Slim, possívelmente o framework ideal para quem vem do Golang
-
7 WordPress Best Practices For Real Engineers
PHP-DI
-
Build a Speech-to-Text Web Application with Rev AI and PHP (Part 1)
PHP-DI: a PHP dependency injection container
-
Running non-blocking A/B tests, feature flags with Laravel, PHP
Please, visit the repository for configuration instructions. The package wouldn't work without DI. So, if you're not using DI yet, try PHP-DI.
-
What PHP book would you most like to see written?
With a real DI system https://github.com/PHP-DI/PHP-DI
-
Searching alternative to Singleton and Dependecy Injection
Your service locator can cache the generated objects or create them on demand every time. How that is handled is up to your DI/SL library. For example, PHP\DI will cache a created object and pass the same instance to everything unless you tell it otherwise.
-
When Symfony Http Kernel is a Too Big Hammer to Use
What about using php-di?
- How to properly write a database class in php with singleton pattern?
Lumen
-
Top 12 PHP Frameworks For Web Development in 2024
Lumen is also a micro-framework used for developing PHP-powered web applications with 7.6k stars and 1k forks on GitHub. It is based on the Laravel framework and is specifically designed to build microservices and smaller, lightweight applications. The same team behind Laravel creates it and also shares some of its components. But, It is different from Laravel because it doesn’t offer compatibility with any additional Laravel libraries like Cashier, Passport, Scout, etc.
- Necesito ayuda con Laravel
-
Any suggestions for lighter frameworks than Laravel?
There's a note right in project page:
- Slim, possívelmente o framework ideal para quem vem do Golang
-
Differences between Laravel and Lumen
Lumen
-
Vue App with Lumen Passport API (Part I)
Lumen is a stripped down version of Laravel for building APIs. This makes it a lightweight framework. I'm currently using Lumen in a project and I want to use this opportunity to share some of the things I've learnt.
-
Exploring the PHP Frameworks using Symfony Components
Official website: lumen.laravel.com
-
Laravel vs Symfony
I think there are micro frameworks like lumen that are far more accessible in the first steps (https://lumen.laravel.com).
-
Should choose laravel or lumen to write api for an mobile app?
see also: https://github.com/laravel/lumen
-
Remove front-end related files, configurations and folders
use lumen. it is exactly what you want. https://lumen.laravel.com/
What are some alternatives?
Pimple - A small PHP dependency injection container
Slim - Slim Framework 4 Skeleton Application
Symfony DI - Allows you to standardize and centralize the way objects are constructed in your application
Silex
Container - Small but powerful dependency injection container
Symfony - The Symfony PHP framework
Auryn - IoC Dependency Injector
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
Nette DI - 💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.
Siler - ⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
bref - Serverless PHP on AWS Lambda
Liten - Liten is a small and simple micro framework which can be used to build restful services and apps.