add PHP application template - #29
Draft
endersonmaia wants to merge 10 commits into
Draft
Conversation
endersonmaia
force-pushed
the
feature/add-php-template
branch
2 times, most recently
from
September 27, 2024 12:07
d15fb86 to
eeccb1c
Compare
endersonmaia
force-pushed
the
feature/bump-to-ubuntu-24.04
branch
from
October 2, 2024 11:31
6cd957b to
4595825
Compare
endersonmaia
force-pushed
the
feature/add-php-template
branch
from
October 2, 2024 11:32
eeccb1c to
853c0a4
Compare
endersonmaia
force-pushed
the
feature/bump-to-ubuntu-24.04
branch
from
October 2, 2024 12:14
4595825 to
a2daec0
Compare
endersonmaia
force-pushed
the
feature/add-php-template
branch
from
October 2, 2024 12:15
853c0a4 to
1f2109a
Compare
endersonmaia
force-pushed
the
feature/add-php-template
branch
from
October 14, 2024 12:52
1f2109a to
7158252
Compare
endersonmaia
force-pushed
the
feature/bump-to-ubuntu-24.04
branch
3 times, most recently
from
March 28, 2025 12:27
5a81654 to
0de1de7
Compare
endersonmaia
force-pushed
the
feature/add-php-template
branch
from
April 9, 2025 19:38
7158252 to
c0506d0
Compare
endersonmaia
changed the base branch from
feature/bump-to-ubuntu-24.04
to
prerelease/sdk-12
April 9, 2025 19:39
endersonmaia
changed the base branch from
prerelease/sdk-12
to
feat/move-tempaltes-to-rollups
April 9, 2025 19:41
endersonmaia
force-pushed
the
feature/add-php-template
branch
from
June 13, 2025 17:47
c0506d0 to
0b3f3a3
Compare
endersonmaia
changed the base branch from
feat/move-tempaltes-to-rollups
to
prerelease/sdk-12
June 20, 2025 16:45
endersonmaia
force-pushed
the
feature/add-php-template
branch
from
August 25, 2025 19:26
0b3f3a3 to
67fd8cc
Compare
endersonmaia
changed the base branch from
prerelease/sdk-12
to
feature/use-debian-trixie
August 25, 2025 19:27
endersonmaia
force-pushed
the
feature/use-debian-trixie
branch
from
September 18, 2025 16:52
645ad91 to
c9dded1
Compare
endersonmaia
marked this pull request as draft
April 9, 2026 12:59
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.