bref VS React

Compare bref vs React and see what are their differences.

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 React
41 40
2,983 8,815
0.9% 0.6%
9.4 3.9
9 days ago 22 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 2024-03-29.
  • Serverless Symfony Starter - Deploy Symfony to AWS
    2 projects | dev.to | 29 Mar 2024
    I have just released the first working version of a symfony starter project using bref.sh.
  • 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
  • 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.
  • 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.
  • Datadog on AWS Lambda for PHP with Bref
    1 project | /r/PHP | 29 Oct 2022
    There's a lot to unpack here from your question. First off, PHP on Lambda WITHOUT docker is possible. Check out https://bref.sh. It works by providing PHP on Lambda like any other runtime. It also provides a Web Hosting experience for PHP on Lambda for those that want to run PHP-FPM.
  • Laravel Vapor, security information?
    2 projects | /r/laravel | 25 Oct 2022
    Failing that, looks like Bref will be the option in place of Vapor.

React

Posts with mentions or reviews of React. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-05.
  • Getting started with asynchronous PHP using ReactPHP
    4 projects | dev.to | 5 Mar 2024
    ReactPHP is a library that allows you to turn PHP into something like Go or Node.js so that tasks can be performed asynchronously. Note that ReactPHP is just a library that you install with Composer. It doesn’t have cumbersome requirements, such as installing a custom PHP extension; it just works as intended.
  • Understanding Concurrency in PHP
    1 project | dev.to | 29 Jun 2023
    ReactPHP is categorized as a low-level dependency for event-driven programming. It features an event loop that supports low-level utilities, such as HTTP client/server, async DNS resolver, streams abstraction, and network client/servers.
  • Which FW should I use for the link shortening service?
    1 project | /r/PHPhelp | 26 Jun 2023
    So you could either skip the framework entirely and shave of these 10ms per request, or you could turn to something like Laravel Octane or ReactPHP to have a long running application that answers requests without bootstrapping the whole framework each time (which is what Node.js, Python or .NET applications do, the practice of restarting the whole app with every request is quite unique to the PHP community).
  • How are folks feeling about the React team's push toward server components?
    6 projects | /r/reactjs | 18 May 2023
    I remember calling out the movement to serverside of the frontend framework as reactPHP (I think it's when the remix hype first surfaced) on twitter and realized there's a literal php framework called reactPHP (https://reactphp.org/) since they liked my tweet lol.
  • PHP Swoole or OpenSwoole?
    3 projects | /r/PHP | 13 Feb 2023
    https://reactphp.org/ of course.
  • I don’t get all the hate for PHP and at this point I am too afraid to ask.
    7 projects | /r/ProgrammerHumor | 7 Feb 2023
    You could also use something like EventMachine (In ruby), Twisted (Python), Node (JS) or ReactPHP (for PHP) that will use the language and turn it into a web application server, and then you'll have only one long running process that handle all your requests with shared memory. You could even use something more fancy like RoadRunner in the case of PHP.
  • Why does a lot of developers hate PHP?
    1 project | /r/PHP | 31 Jan 2023
    Comparing PHP to NodeJS is completely wrong to begin with. If you want to compare NodeJS to something in the PHP ecosystem it would be ReactPHP.
  • Weekly help thread
    5 projects | /r/PHP | 21 Nov 2022
  • Is it possible that PHP will ever get async/await functions?
    9 projects | /r/PHP | 27 Oct 2022
    Dunno about PHP core, but there is also ReactPHP. https://reactphp.org/
  • Do I need Laravel for an HTTP API project? If so, why?
    5 projects | /r/PHPhelp | 1 Oct 2022
    There are many micro-frameworks available like Slim, Mezzio(with Swoole may be), or if you are into async then you can also try Framework X(from core maintainer of ReactPHP). This frameworks have small footprints compare to Laravel, Symfony, etc. Yes, you can't get things like authentication, routing and other out of the box but they can easily be installed and configured to be used.

What are some alternatives?

When comparing bref and React you can also consider the following projects:

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

Amp - A non-blocking concurrency framework for PHP applications. 🐘

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

Ratchet - Asynchronous WebSocket server

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

Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

Laravel - The Laravel Framework.

Swoole - 🚀 Coroutine-based concurrency library for PHP

Lumen - The Laravel Lumen Framework.

Icicle - Icicle is a PHP library for writing asynchronous code using synchronous coding techniques

PHP-DI - The dependency injection container for humans

Elephant.io - Ça trompe énormément