-
Notifications
You must be signed in to change notification settings - Fork 8
add PHP application template #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
endersonmaia
wants to merge
10
commits into
feature/use-debian-trixie
Choose a base branch
from
feature/add-php-template
base: feature/use-debian-trixie
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
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
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.