bref VS PHP-DI

Compare bref vs PHP-DI and see what are their differences.

bref

Serverless PHP on AWS Lambda (by brefphp)

PHP-DI

The dependency injection container for humans (by PHP-DI)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
bref PHP-DI
40 13
2,971 2,619
1.3% 0.7%
9.4 6.3
6 days ago 29 days 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.

bref

Posts with mentions or reviews of bref. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-01.
  • A bank runs serverless with PHP and AWS Lambda
    2 projects | news.ycombinator.com | 1 Nov 2023
    As you can see on the website (https://bref.sh/) there's 13 billion monthly AWS Lambda invocations using Bref (PHP).
  • Configuring OpenSSL 3 to sign an Apple Passbook?
    2 projects | /r/openssl | 4 Jul 2023
    I have a PHP application (running on Amazon Linux via Bref on Lambda) which has been signing Apple passbooks no problem. I've trying to do various upgrades which includes moving to AWS Linux 2023 which uses OpenSSL 3.
  • Bref + SQS - Runtime.unknown
    2 projects | /r/PHP | 29 Apr 2023
    Your best bet is to post an issue on https://github.com/brefphp/bref
    2 projects | /r/PHP | 29 Apr 2023
  • Software architecture applied to PHP
    2 projects | /r/PHP | 3 Mar 2023
    multi threading php isnt a burden. laravel with a supervisor + redis + queues works out-of-the-box. you can even run it on lambda (vapor or bref.sh) with almost no hassle.
    2 projects | /r/PHP | 3 Mar 2023
    On Lambda you can either use containers or bref which is a layer that you add to your Lambda and it provides the binaries and other stuff you need to run php.
  • Project advice
    2 projects | /r/PHP | 16 Jan 2023
    To generate resource on AWS, you can use aws-sdk into a lambda. While Node or Python is more widely used, you can use PHP bref.sh and the PHP AWS SDK to achieve the same outcome. You'll want to use serverless framework (https://www.serverless.com) .
  • Ideas for minimum PHP pipeline for a small team
    7 projects | /r/PHP | 30 Dec 2022
    If you’re deploying in AWS and depending on your app I’d highly recommend using https://bref.sh/. When we changed it made our deploy pipeline so much simpler and our AWS bill much cheaper. Plus infrastructure as code is so useful (we don’t have dedicated dev ops in a team of about 20). Things like adding GD, upgrading PHP, or even adding a redis server become 1 (or a few) lines of change which you can PR and test on staging just like other code changes.
  • Is fargate the right choice for my apps?
    2 projects | /r/aws | 27 Dec 2022
    For Lambda, look into https://bref.sh/. For us, running on Lambda was always way cheaper than everything else. However, if you have massive scale that calculation may not hold up.
  • Laravel Vapor, security information?
    2 projects | /r/laravel | 25 Oct 2022
    Failing that, looks like Bref will be the option in place of Vapor.

PHP-DI

Posts with mentions or reviews of PHP-DI. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-19.

What are some alternatives?

When comparing bref and PHP-DI you can also consider the following projects:

Pimple - A small PHP dependency injection container

Symfony DI - Allows you to standardize and centralize the way objects are constructed in your application

lambda-debug-proxy - A proxy for piping AWS lambda input payload+context to and returning a response from a local dev environment for debugging.

Container - Small but powerful dependency injection container

Auryn - IoC Dependency Injector

Nette DI - 💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.

serverless-offline - Emulate AWS λ and API Gateway locally when developing your Serverless project

docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment

Laravel - The Laravel Framework.

Lumen - The Laravel Lumen Framework.

zend-servicemanager

octane - Supercharge your Laravel application's performance.