Skip to content

Conversation

@endersonmaia
Copy link
Contributor

@endersonmaia endersonmaia commented Sep 26, 2024

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:

  • Added php to the list of languages in the GitHub Actions workflow to enable building and testing PHP components.

Docker and Environment Setup:

  • Added a php/Dockerfile that 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.
  • Updated .dockerignore and .gitignore in the php directory to exclude .cartesi and vendor directories from Docker builds and version control.

Dependency Management:

  • Introduced a composer.json file in the php directory specifying guzzlehttp/guzzle as a required dependency for HTTP client functionality.

Application Boilerplate:

  • Added an initial index.php script that implements a basic event loop for handling Cartesi rollup requests, using Guzzle for HTTP communication and placeholder logic for request handling.

@endersonmaia endersonmaia requested a review from tuler September 26, 2024 20:04
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch 2 times, most recently from d15fb86 to eeccb1c Compare September 27, 2024 12:07
@endersonmaia endersonmaia self-assigned this Sep 27, 2024
@endersonmaia endersonmaia force-pushed the feature/bump-to-ubuntu-24.04 branch from 6cd957b to 4595825 Compare October 2, 2024 11:31
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch from eeccb1c to 853c0a4 Compare October 2, 2024 11:32
@endersonmaia endersonmaia force-pushed the feature/bump-to-ubuntu-24.04 branch from 4595825 to a2daec0 Compare October 2, 2024 12:14
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch from 853c0a4 to 1f2109a Compare October 2, 2024 12:15
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch from 1f2109a to 7158252 Compare October 14, 2024 12:52
@endersonmaia endersonmaia force-pushed the feature/bump-to-ubuntu-24.04 branch 3 times, most recently from 5a81654 to 0de1de7 Compare March 28, 2025 12:27
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch from 7158252 to c0506d0 Compare April 9, 2025 19:38
@endersonmaia endersonmaia changed the base branch from feature/bump-to-ubuntu-24.04 to prerelease/sdk-12 April 9, 2025 19:39
@endersonmaia endersonmaia changed the base branch from prerelease/sdk-12 to feat/move-tempaltes-to-rollups April 9, 2025 19:41
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch from c0506d0 to 0b3f3a3 Compare June 13, 2025 17:47
@endersonmaia endersonmaia changed the base branch from feat/move-tempaltes-to-rollups to prerelease/sdk-12 June 20, 2025 16:45
@endersonmaia endersonmaia force-pushed the feature/add-php-template branch from 0b3f3a3 to 67fd8cc Compare August 25, 2025 19:26
@endersonmaia endersonmaia changed the base branch from prerelease/sdk-12 to feature/use-debian-trixie August 25, 2025 19:27
@endersonmaia endersonmaia force-pushed the feature/use-debian-trixie branch from 645ad91 to c9dded1 Compare September 18, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants