CakePHP
PHP-DI
CakePHP | PHP-DI | |
---|---|---|
28 | 13 | |
8,672 | 2,628 | |
-0.0% | 0.3% | |
9.8 | 6.3 | |
4 days ago | 14 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.
CakePHP
-
Top 12 PHP Frameworks For Web Development in 2024
CakePHP is an open-source PHP framework for web development with 8.7k stars and 3.5k forks on GitHub. It offers APIs that enable developers to develop applications quickly. It allows you to create highly secure and scalable web applications, including social networks, eCommerce, and online collaboration platforms.
- Another question about preferred MVC frameworks that are not Laravel or Symfony
- Coming soon: Named and typed option support for ORM finders
- What framework should I use?
-
Any suggestions for lighter frameworks than Laravel?
Give https://cakephp.org/ a try. It also is one of the oldest ones out there, so quite mature and stable while being rather lightweight. Serving JSON API seems like a good fit.
- Slim, possívelmente o framework ideal para quem vem do Golang
- CakePHP 5.0.0-beta1 released
-
Which PHP Framework Should You Use in 2023?
You can download it and review the documentation here: https://cakephp.org/
- CakePHP 4.4.8 released
-
My Workflow
As the name of the service says it will work best with Laravel but it is not a problem to modify code from other frameworks to make it work the same way. I have several applications created this way in CakePHP. I have this set to manual after clicking the deploy button, but if you want you can turn on quick deploy and then it will publish the application after a push to the main branch (or another one, depending on how you set it up)
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?
What are some alternatives?
CodeBehind Framework - CodeBehind library is a modern backend framework. This library is a programming model based on the MVC structure, which provides the possibility of creating dynamic aspx files in .NET Core and has high serverside independence.
Pimple - A small PHP dependency injection container
Swoole - 🚀 Coroutine-based concurrency library for PHP
Symfony DI - Allows you to standardize and centralize the way objects are constructed in your application
FuelPHP - Fuel PHP Framework v1.x is a simple, flexible, community driven PHP 5.3+ framework, based on the best ideas of other frameworks, with a fresh start! FuelPHP is now fully PHP 8.0 compatible.
Container - Small but powerful dependency injection container
Yii2 - Yii 2: The Fast, Secure and Professional PHP Framework
Auryn - IoC Dependency Injector
Nette - 📖 The Nette documentation
Nette DI - 💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.
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.
bref - Serverless PHP on AWS Lambda