Spiral Framework
Swinject
Spiral Framework | Swinject | |
---|---|---|
15 | 6 | |
1,702 | 6,198 | |
1.6% | 0.7% | |
9.5 | 7.2 | |
2 days ago | 2 days ago | |
PHP | Swift | |
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.
Spiral Framework
- Spiral – High-Performance PHP Framework
-
RoadRunner: High-performance PHP application server written in Golang
From the same developers :
PHP framework : https://spiral.dev/
ORM library : https://cycle-orm.dev/
- In your opinion, which existing PHP framework can become as popular as Symphony or Laravel?
- Any suggestions for lighter frameworks than Laravel?
-
Temporal PHP SDK: Scalable and resilent workflow orchestration on PHP
This SDK server is already available for RoadRunner 2.0+ and Spiral Framework users.
-
First version of PHP Templating Abstraction released
✅ Spiral (Twig, Blade, Latte, Plates, Smarty, Handlebars, Mustache, Spiral View)
-
Business complexity with performance
To give you some hint, you mention few of our instruments - RoadRunner, Cycle ORM. Accidentally, theese instruments are also part of our main battle framework - Spiral (https://github.com/spiral/framework), which we use for all of our commercial projects for over 12 years so far.
-
I like the PHP constant RAM characteristics under a load but struggle to find a semi-decent req/s PHP framework/library for API backends
Check https://github.com/spiral/framework - it would satisfy your perf requirements (roadrunner under the hood). We pushed it up to 250k on synthetic hello world, but in real world 20k are achievable without much hassle.
-
RoadRunner 2.11 - Application Server for PHP: Video tutorials, Kafka support
Yes, you are responsible for cleaning the memory after yourself. Most of modern frameworks can do it for you since they can control the state using DI. If you are looking for a more friendly way to manage memory take a look at https://github.com/spiral/framework It is Symfony like framework developed specifically for resident memory applications.
- Spiral: A High-Performance PHP/Go Framework
Swinject
-
Dependency Injection Simplified
DI is a concept which makes a class independent of its dependency management. It achieves that by decoupling the usage of an object from its creation. This helps you to follow SOLID’s dependency inversion and single responsibility principles. To achieve this in Swift one of the most appreciated library is Swinject. This library not only provides DI but also have many other features like:-
-
Awesome macOS Libraries List
Swinject - Dependency injection framework for Swift. Language: Swift.
-
SwiftUI Dependency injection
We use Swinject which is probably quite similar https://github.com/Swinject/Swinject
- Any DI libraries for swift?
- How do you guys see PHP and its framworks/CMS in 2025?
-
How to modularize a big iOS project
So, how do we fix this? There is a cleaner solution. By using a dependency injection framework, such as Swinject we can create a base module that we might call the DI module.
What are some alternatives?
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
Ubiquity - Ubiquity framework
Cleanse - Lightweight Swift Dependency Injection Framework
Symfony - The Symfony PHP framework
Needle - Compile-time safe Swift dependency injection framework
Swoole - 🚀 Coroutine-based concurrency library for PHP
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!