Skip to content

docs: align getting-started with the api-platform CLI installer#2297

Merged
soyuka merged 1 commit into
api-platform:4.3from
soyuka:docs/cli-installer-scaffold
Jun 12, 2026
Merged

docs: align getting-started with the api-platform CLI installer#2297
soyuka merged 1 commit into
api-platform:4.3from
soyuka:docs/cli-installer-scaffold

Conversation

@soyuka

@soyuka soyuka commented Jun 12, 2026

Copy link
Copy Markdown
Member

What

The api-platform/api-platform repository is becoming a CLI installer (feat/cli-scaffold) that scaffolds new projects, replacing the downloadable distribution archive (the bundled Docker app, the PWA skeleton and the Helm chart). This PR aligns the documentation with that change.

Changes

Getting started (critical)

  • symfony/index.md — rewrite the install section around the api-platform binary (static binary from Releases, or composer global require api-platform/installer). Recommended command: api-platform bookshop-api --framework=symfony --with-docker --with-pwa --with-admin, which keeps the api/ sibling layout the rest of the tutorial relies on. Updated:
    • services / components tables — the Next.js PWA now runs as a standalone app on :3000 (not part of the Compose stack), the admin as a separate React-admin SPA on :5173
    • demo resource is now src/ApiResource/Greetings.php (a plain API resource), not a Doctrine Greeting entity
    • template-sync repointed to dunglas/symfony-docker (the actual upstream of the scaffolded Docker config)
  • laravel/index.md — add the CLI installer as the recommended entry point; keep the manual composer require + php artisan api-platform:install flow for existing projects.

Helm / Kubernetes

The Helm chart is no longer bundled by the installer.

  • deployment/kubernetes.md — neutral note that the chart is no longer bundled (rework in progress), pointing to the chart preserved at the v4.1.0 tag; guide kept.
  • minikube.md, symfony/testing.md, laravel/testing.md — fixed "Helm chart provided with the distribution" wording.

Terminology pass

Replaced ~30 stale "the distribution" references with "the API Platform Symfony variant" / "the Docker setup" across core/*, symfony/*, create-client/nextjs.md, schema-generator/getting-started.md, laravel/*. Repointed dead installer-repo CI links to api-platform/demo.

Notes / to confirm

  • Binary asset name — used api-platform-linux-x86_64 (from the installer README); verify the release workflow publishes that exact asset name.
  • Screenshots in symfony/index.md still show the old unified-Caddy welcome / PWA screens — may want reshooting later (not blocking).

Linting (markdownlint + prettier) passes on all changed files.

The api-platform/api-platform repository becomes a CLI installer that
scaffolds projects, replacing the downloadable distribution archive
(the bundled Docker app, the PWA skeleton and the Helm chart).

- symfony/index.md: rewrite the install section around the `api-platform`
  binary. Update the services/components tables (the Next.js PWA now runs
  as a standalone app, the admin as a separate SPA), the demo resource
  (Greetings ApiResource), and repoint template-sync to dunglas/symfony-docker
- laravel/index.md: add the CLI installer as the recommended entry point,
  keep the manual composer/artisan flow for existing projects
- deployment/kubernetes.md, minikube.md, *testing.md: the Helm chart is no
  longer bundled; point to the chart preserved at the v4.1 tag
- core/*, symfony/*, create-client/*, schema-generator/*, laravel/*: replace
  stale "the distribution" wording with "the API Platform Symfony variant"
  / "the Docker setup"; repoint dead installer-repo CI links to api-platform/demo
@soyuka soyuka force-pushed the docs/cli-installer-scaffold branch from d34816f to bed10f5 Compare June 12, 2026 07:51
@soyuka soyuka merged commit 0a842cb into api-platform:4.3 Jun 12, 2026
3 checks passed
@soyuka soyuka deleted the docs/cli-installer-scaffold branch June 12, 2026 09:37
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.

1 participant