Skip to content

Add PHP Feature Flags documentation#34462

Draft
leoromanovsky wants to merge 1 commit intomasterfrom
leo.romanovsky/add-php-feature-flags
Draft

Add PHP Feature Flags documentation#34462
leoromanovsky wants to merge 1 commit intomasterfrom
leo.romanovsky/add-php-feature-flags

Conversation

@leoromanovsky
Copy link
Contributor

Motivation

PHP now has Feature Flagging and Experimentation (FFE) support in the dd-trace-php tracer. This PR adds the corresponding documentation page, matching the style of the existing server-side SDK docs.

Changes

  • Add content/en/feature_flags/server/php.md with setup instructions, code examples for all flag types (boolean, string, integer, numeric, JSON), evaluation context, and troubleshooting
  • Add PHP card to the server-side SDK selector partial (feature_flags_server.html)

Decisions

  • PHP does not use the OpenFeature SDK (unlike Python/Go/Java/Node.js), so the docs describe the DDTrace\FeatureFlags\Provider API directly
  • Structure and tone match the existing Python doc as the reference template
  • PHP is listed alphabetically between Node.js and Python in the SDK selector

@github-actions github-actions bot added the Architecture Everything related to the Doc backend label Feb 7, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2026

Preview links (active after the build_preview check completes)

New or renamed files

Add server-side feature flags documentation for PHP, matching
the style and structure of existing Go, Java, Python, Ruby,
Node.js, and .NET SDK docs.
@leoromanovsky leoromanovsky force-pushed the leo.romanovsky/add-php-feature-flags branch from 6dd0ecc to ff960e3 Compare February 7, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant