bref
serverless-offline
Our great sponsors
bref | serverless-offline | |
---|---|---|
41 | 18 | |
2,983 | 5,124 | |
0.9% | - | |
9.4 | 8.7 | |
10 days ago | 2 days ago | |
PHP | JavaScript | |
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.
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.
-
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.
-
Datadog on AWS Lambda for PHP with Bref
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?
Failing that, looks like Bref will be the option in place of Vapor.
serverless-offline
-
Introducing samp-cli for local lambda debugging
Using local emulators like sam local, serverless-offline, localstack, etc.
- [Serverless] Sans serveur hors ligne avec AWS Cognito
-
Ask HN: Is it ok to place an ad for my startup in my OSS?
Hi, I'm the creator of serverless-offline (https://github.com/dherault/serverless-offline), a NPM package for local serveless development on AWS.
I'm building a cool product and intend to launch Q1 2023. To gain traction from my target customers, I plan to place a discrete ad at the launch of every serverless-offline instance.
Does it seem like an ok move to you? Or is it something that repels you?
Best,
-
How to build a tech product fast
As the creator of serverless-offline, I am well placed to tell you that this is the time-effective solution. Plus, it costs way less than other solutions at smaller scales. But, again, going Kubernetes or otherwise will be a problem for the future.
-
There is framework for everything.
https://github.com/dherault/serverless-offline https://github.com/lambci/docker-lambda
-
Serverless monitoring — the good, the bad and the ugly
What if I didn’t need to push code to AWS every time I wanted to test something? All heroes don’t wear capes. Like a knight in shining armor, Serverless Offline comes barging in to save the day! At least now I can test all my code locally before pushing it to AWS. That’s a relief.
-
Migrating a classic Express.js to Serverless Framework
With classic Express servers, you can use a simple node script to get the server up and running to test locally. Serverless wants to be run in the AWS ecosystem making it. Lucky for us, David Hérault has built and continues to maintain serverless-offline allowing us to emulate our functions locally before we deploy.
-
3 Steps To Faster Serverless Development
With the serverless offline plugin you can speed up local dev is by emulating AWS lambda and API Gateway locally when developing your Serverless project.
-
Stop using a local environment to develop Serverless applications
Those mocks are by definition not real services so there are some behavior differences between the local environment and the cloud provider. For example, AWS API Gateway emulated by serverless-offline doesn't handle VTL locally the same as AWS does.
-
A magical AWS serverless developer experience
serverless-offline (https://github.com/dherault/serverless-offline) is a great tool to use for local development of serverless applications.
It's not a complete mirror image of what you get but it's close enough in my experience.
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.
supertest - 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment
aws-lambda-dotnet - Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Laravel - The Laravel Framework.
Lumen - The Laravel Lumen Framework.
sst - Build modern full-stack applications on AWS
PHP-DI - The dependency injection container for humans
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
octane - Supercharge your Laravel application's performance.
serverless-offline-sns - A serverless plugin to run an SNS server and call lambdas with events notifications.