Skip to content

Document php as an accepted lang value for llms.txt and Markdown output - #6976

Open
fern-api[bot] wants to merge 3 commits into
mainfrom
2026-09-16-fern-ai-1fb7a4-20eb18f4
Open

fern-api[bot] wants to merge 3 commits into
mainfrom
2026-09-16-fern-ai-1fb7a4-20eb18f4

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Overview

Fern's /llms.txt endpoint and per-page .md/.mdx output accept a lang query parameter that filters SDK code examples to a single language, so agents consuming the docs load only the snippets they need. PHP is now an accepted lang value alongside node, python, java, ruby, go, csharp, and swift. Customers who publish a PHP SDK can now point agents and tooling at ?lang=php and get PHP-only snippets instead of every language, reducing token usage.

Implements docs for: feat(docs): support php in the lang filter for llms.txt and markdown output (fern-api/fern-platform#14851) — https://github.com/fern-api/fern-platform/pull/14851
Implements docs for: feat(docs): support php in the lang filter for llms.txt and markdown output (fern-api/fern-platform#14854, follow-up) — https://github.com/fern-api/fern-platform/pull/14854

Pages changed

  • fern/products/docs/pages/ai/llms-txt/customize-llms-txt.mdx: added 'php' to the lang ParamField type union in "Filter endpoint output"; noted that lang also applies to per-page .md/.mdx URLs.
  • fern/products/docs/pages/changelog/2026-09-18.mdx: new Docs changelog entry (tag ai) linking to /learn/docs/ai-features/customize-llm-output#filter-endpoint-output.

Merged main into the branch. Vale pre-commit and fern check --warnings pass on the changed files (remaining warnings are pre-existing and unrelated).

@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

…e Markdown

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title Add 'php' to lang parameter type in customize-llm-output docs Document php as an accepted lang value for llms.txt and Markdown output Sep 18, 2026
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.

0 participants