Add PHP tab to the Pub/Sub quickstart (and other PHP-supported building blocks)

Open Beginner friendly
#5,330 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
php
Domain
documentation

Research direction

Start with daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md and compare the existing language tab structures with dapr/quickstarts#1342. Add the PHP sections for both run modes and the HTTP-variant Next steps list, using the PHP quickstart commands and expected output. Verify the links and docs link check after dapr/quickstarts#1342 is merged.

Written by the indexing model from the issue text.

Description

What content needs to be created or modified?

The quickstart pages under getting-started/quickstarts/ offer language tabs (Python, JavaScript, .NET, Java, Go) but no PHP, even though Dapr has an official PHP SDK and PHP quickstarts are being added to dapr/quickstarts (proposal: dapr/quickstarts#1341, first PR: dapr/quickstarts#1342).

Describe the solution you'd like

Add a PHP tab to the quickstart pages for the building blocks the PHP SDK supports, starting with the Pub/Sub quickstart: both the "Run using Multi-App Run" and "Run one application at a time" tabpanes, plus PHP in the "Next steps" HTTP-variant list. Additional pages (state management, service invocation, bindings, secrets, actors) can follow as the corresponding PHP quickstarts land in dapr/quickstarts.

Where should the new material be placed?

daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md — new {{% tab "PHP" %}} sections in both tabpanes, mirroring the existing language tabs.

The associated pull request from dapr/dapr, dapr/components-contrib, or other Dapr code repos

Additional context

The PHP quickstart apps run as CLI scripts (#!/usr/bin/env php); because Dapr delivers pub/sub messages over HTTP, the subscriber embeds a small ReactPHP HTTP server. The docs tab mirrors the Python tab structure with PHP-specific commands (composer install, dapr run -f ., dapr run ... -- php app.php) and expected output.

Note on merge order: the tab links to github.com/dapr/quickstarts/tree/master/pub_sub/php/..., which will 404 (and fail the docs link check) until dapr/quickstarts#1342 is merged.

Dominant language
SCSS
Stars
1k
Forks
796
Avg merge
3d 12h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dapr/docs

All issues in dapr/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.