Document php as an accepted lang value for llms.txt and Markdown output - #6976
Open
fern-api[bot] wants to merge 3 commits into
Open
fern-api[bot] wants to merge 3 commits into
fern-api[bot] wants to merge 3 commits into
Conversation
fern-api
Bot
requested review from
devalog,
jkonrath-postman and
nerminamiller-postman
as code owners
September 16, 2026 17:01
Contributor
|
🌿 Preview your docs: https://fern-preview-2026-09-16-fern-ai-1fb7a4-20eb18f4.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
…e Markdown Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Fern's
/llms.txtendpoint and per-page.md/.mdxoutput accept alangquery 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 acceptedlangvalue alongsidenode,python,java,ruby,go,csharp, andswift. Customers who publish a PHP SDK can now point agents and tooling at?lang=phpand 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 thelangParamFieldtype union in "Filter endpoint output"; noted thatlangalso applies to per-page.md/.mdxURLs.fern/products/docs/pages/changelog/2026-09-18.mdx: new Docs changelog entry (tagai) linking to/learn/docs/ai-features/customize-llm-output#filter-endpoint-output.Merged
maininto the branch. Vale pre-commit andfern check --warningspass on the changed files (remaining warnings are pre-existing and unrelated).