add PHP application template#29
Open
endersonmaia wants to merge 10 commits intofeature/use-debian-trixiefrom
Open
add PHP application template#29endersonmaia wants to merge 10 commits intofeature/use-debian-trixiefrom
endersonmaia wants to merge 10 commits intofeature/use-debian-trixiefrom
Conversation
d15fb86 to
eeccb1c
Compare
6cd957b to
4595825
Compare
eeccb1c to
853c0a4
Compare
4595825 to
a2daec0
Compare
853c0a4 to
1f2109a
Compare
1f2109a to
7158252
Compare
5a81654 to
0de1de7
Compare
7158252 to
c0506d0
Compare
c0506d0 to
0b3f3a3
Compare
0b3f3a3 to
67fd8cc
Compare
645ad91 to
c9dded1
Compare
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.
Depends on cartesi/cli#329
This pull request introduces PHP support to the project, including a new Docker build pipeline, initial PHP application code, and dependency management. The main changes are grouped below:
Build and CI Integration:
phpto the list of languages in the GitHub Actions workflow to enable building and testing PHP components.Docker and Environment Setup:
php/Dockerfilethat builds a deterministic PHP 8.4.11 container for the riscv64 architecture, installs Composer and dependencies, and prepares the runtime environment for Cartesi rollup applications..dockerignoreand.gitignorein thephpdirectory to exclude.cartesiandvendordirectories from Docker builds and version control.Dependency Management:
composer.jsonfile in thephpdirectory specifyingguzzlehttp/guzzleas a required dependency for HTTP client functionality.Application Boilerplate:
index.phpscript that implements a basic event loop for handling Cartesi rollup requests, using Guzzle for HTTP communication and placeholder logic for request handling.