Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
v0.3 - Official PHP support on Lambda, better performances and AWS SAM #113
This pull request will contain all the changes planned for v0.3 to keep master (v0.2.*) stable in the meantime.
The future website for Bref 0.3: bref.sh
Summary of changes
Bref will provide a PHP runtime optimized for CLI scripts (workers, CLI tasks, simple PHP lambdas, etc.) as well as another PHP runtime optimized for HTTP applications (based on PHP-FPM).
It is very likely that Bref will switch from the "serverless framework" to using AWS SAM instead for deployment and configuration (see #99). On top of advanced integration to other AWS services, this brings very useful tools for local development based on Docker.
With v0.3 it will be even easier to integrate HTTP applications and support any framework. Performances will also dramatically increase thanks to research and benchmarks as well as new experimental modes to run PHP faster in some scenarios (more information to come).
Finally, Bref v0.3 will come with a completely rewritten and extensive documentation.
Check out the v0.3 Kanban board.
This is amazing! What's the long-term plan for building the runtime? Will
Also, will building the runtime be invoked as part of the first
referenced this pull request
Dec 16, 2018
About building runtimes: ideally you shouldn't have to worry about this, it just works (see the WIP instructions in the diff: https://github.com/mnapoli/bref/pull/113/files#diff-279a8ca151371a6a63058dc411985dd1R9). And locally it just works too, SAM is incredibly awesome for this. The only thing I'm worried with SAM when running locally is performances because you get a cold start every time. But you can also still run Symfony/Laravel the only way locally, it still works that way. We'll see as we use it more.