Download the PHP package durable-workflow/sdk without Composer

On this page you can find all versions of the php package durable-workflow/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

Durable Workflow PHP SDK

CI status Packagist version Supported PHP versions

The first-party PHP client and worker SDK for Durable Workflow Cloud and self-hosted Durable Workflow Server. Use it from plain PHP, Laravel, or Symfony to run durable workflows outside the application process while keeping framework-native configuration, dependency injection, commands, logging, and tests.

Install

The SDK requires PHP 8.1 or newer. It uses the official apache/avro package for portable payloads and accepts any PSR-18 HTTP client.

Choose Your Path

Starting point Recommended guide
Plain PHP client or worker First workflow
Laravel v1 or v2 embedded Choose a Laravel ownership model
Laravel service mode Laravel service-mode bridge
Symfony service mode Symfony bundle
Runtime authentication Authentication guide

Laravel applications can keep Durable Workflow embedded or move execution to Cloud or Server. The service-mode bridge supplies container bindings, config, an Artisan worker command, diagnostics, a facade, and a test fake. Symfony gets the same application-shaped experience through its bundle and Console worker.

Author a Workflow

Handlers can be ordinary attributed classes resolved by the worker container:

Register the classes on a task queue and start polling:

Start the workflow from a client process using a client-role credential:

For Cloud, use the complete namespace runtime URL exactly as provisioned. For self-hosted Server, use its origin such as http://localhost:8080. Keep client and worker credentials in separate processes.

The complete plain PHP quickstart includes the three runnable files, environment setup, expected output, and common failure diagnostics.

Capabilities

See the complete SDK reference for control-plane APIs, worker configuration, Message Streams, framework setup, and testing examples. The generated API reference documents every public class and method.

Development

See CONTRIBUTING.md for contribution and validation details.

License

MIT


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
apache/avro Version ^1.12
composer-runtime-api Version ^2.0
ext-json Version *
guzzlehttp/guzzle Version ^7.8|^8.0
psr/container Version ^1.1|^2.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1|^2.0
psr/log Version ^1.1|^2.0|^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package durable-workflow/sdk contains the following files

Loading the files please wait ...