{"repo":"temporalio/samples-php","free":true,"listed":false,"github":"https://github.com/temporalio/samples-php","clone":"git clone https://github.com/temporalio/samples-php.git","description":"Temporal PHP SDK samples","language":"PHP","stars":124,"topics":["temporal","php","workflow-engine"],"license":null,"category":"workflow-automation","readme_excerpt":"Temporal PHP SDK samples The samples in this repository demonstrate the various capabilities of the Temporal PHP SDK used in conjunction with the Temporal Server. If you want to learn more about the Temporal Server and how it works, read the documentation at https://docs.temporal.io. About this README This README provides two different approaches to setup the examples. First is relying on running PHP application in docker engine and does not require any extra work to start examples. The second approach will require to have PHP installed with GRPC extension but makes possible to start the application on host machine. Docker Compose setup 1. Download the repository. 2. Build docker images. 3. Start server and application containers. 4. Run a sample To run a sample in docker use: To observe active workers: To run feature tests in docker use: Local Setup 1. Make sure you have PHP 8.1, or higher, installed. 2. Clone this repo and change directory into the root of the project. 3. Install the gRPC PHP extension The PHP gRPC engine extension must be installed and activated in order to communicate with the Temporal Server. Follow the instructions here: https://cloud.google.com/php/grpc Note: For Windows machines, you can download the php grpc.dll from the PECL website Make sure you follow all the steps to activate the gRPC extension in your php.ini file and install the protobuf runtime library in your project. 4. Install additional PHP dependencies 5. Download Temporal server and Road","default_branch":null,"files":null,"tree":[],"storefront":"/r/temporalio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/temporalio/samples-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}