bref
serverless-patterns
Our great sponsors
bref | serverless-patterns | |
---|---|---|
41 | 32 | |
2,981 | 1,440 | |
0.8% | 2.5% | |
9.4 | 9.9 | |
5 days ago | 8 days ago | |
PHP | Python | |
MIT License | GNU General Public License v3.0 or later |
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
-
Serverless Symfony Starter - Deploy Symfony to AWS
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
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?
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
Your best bet is to post an issue on https://github.com/brefphp/bref
-
Software architecture applied to PHP
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.
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
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
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?
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.
serverless-patterns
-
Generative (A)IaC in the IDE with Application Composer
You may be aware of Serverlessland, a treasure trove of developer-centered content and examples of serverless applications. I decided to take one of their more popular (and AI-focused) tutorials, titled “Use GenAI capabilities to build a chatbot”, and recreate it with App Composer and our trusty AI assistant. Here we go!
-
Simple AWS: 20 Advanced Tips for Lambda
Serverless Land is a place with a ton of serverless resources.
-
A Beginner's Guide to the Serverless Application Model (SAM)
If you're looking for examples, you can check out my GitHub, it's full of SAM templates that cover a wide range of use cases. Serverless Land is another fantastic resource full of reference material. If you are trying to build something but can't quite figure it out in SAM, remember - it's all just CloudFormation. Browse the docs to see how to define that stubborn resource.
-
Introducing samp-cli for local lambda debugging
I will use dynamodb-streams-to-eventbridge-outbox-pattern by David Boyne as an example.
-
What are your study methods for AWS certs?
For all my associated exams I used Mareek/TD, labs and for SAP also went through SAP course of A. Cantrill, also tools like https://serverlessland.com/ and aws event talks on YouTube can help you understand concepts.
-
What are some senior level learning resources you recommend for improving as a backend engineer?
If you’re using AWS serverlessland is maintained by AWS and has great resources
-
Read the latest issue from Kuration featuring articles on IndieHackers, AWS, Google Bard, Stripe and much more.
If you're utilizing AWS's serverless technology to develop and deploy applications, Amazon offers a dedicated website that provides code samples and educational resources specifically tailored for AWS Serverless.
-
Serverless - Beyond the Basics
ServerlessLand - All things serverless, resources & announcements from AWS
-
Automate Your Life and Save Time By Going Serverless
Sources like Serverless Land are invaluable. They aggregate patterns, repos, examples, and blogs from the community and make them available in one location. But because of that, you get a grab-bag of layouts with the code samples. Exposure to the different ways people build repositories is good, but you don't move as fast as if you did it yourself.
- Looking for a project but no idea where to start, looking for general guidance
What are some alternatives?
lambda-debug-proxy - A proxy for piping AWS lambda input payload+context to and returning a response from a local dev environment for debugging.
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.
PHP-DI - The dependency injection container for humans
octane - Supercharge your Laravel application's performance.
sidecar - Deploy and execute AWS Lambda functions from your Laravel application.
laravel-bridge - Package to use Laravel on AWS Lambda with Bref
sst - Build modern full-stack applications on AWS
Doctrine Migrations - Doctrine Database Migrations Library
Swoole - 🚀 Coroutine-based concurrency library for PHP