Adding Layer to support Symfony Runtime component#889
Closed
Nyholm wants to merge 1 commit intobrefphp:masterfrom
Closed
Adding Layer to support Symfony Runtime component#889Nyholm wants to merge 1 commit intobrefphp:masterfrom
Nyholm wants to merge 1 commit intobrefphp:masterfrom
Conversation
2 tasks
Contributor
Author
|
FYI 1: I added brefphp/extra-php-extensions#231 FYI 2: I'll do a big presentation about this on Symfony Online in about 4 weeks. |
Member
|
Hey @Nyholm, adding that in bref-extra sounds like a good solution for now! At least the layer is available/usable, which is great to gauge usefulness and adoption. |
340415a to
4144cb9
Compare
4144cb9 to
5fbcc97
Compare
This was referenced Sep 20, 2021
Member
|
🎉 Symfony runtime is now implemented and supported in https://github.com/brefphp/symfony-bridge I've released a beta version, there should be a stable in the coming weeks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This may be premature, but I wrote the code and pushed a layer here:
arn:aws:lambda:eu-central-1:403367587399:layer:bref-symfony-runtime:3Here is some information about code that I think should eventually move into Bref itself: https://github.com/php-runtime/bref
Here is a small Symfony example application: https://github.com/Nyholm/bref-runtime-demo
See this PR more as a discussion rather than "Merge this now".
With this PR you are able to run any PHP application on Bref by:
# serverless.yml functions: web: handler: public/index.php timeout: 10 layers: - - ${bref:layer.php-80} + - ${bref:layer.php-80-runtime}Benefits includes: