From 58b87ee56d570fdae9d32a2eccb9bd7fc30b1a43 Mon Sep 17 00:00:00 2001 From: Emmanuel Barat Date: Tue, 5 Dec 2023 13:39:03 +0100 Subject: [PATCH] docs: add a reference to template-sync tool --- distribution/index.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/distribution/index.md b/distribution/index.md index 1e4cb349c35..3d0bc9f4eb8 100644 --- a/distribution/index.md +++ b/distribution/index.md @@ -230,6 +230,20 @@ Of course, you can also use your favorite HTTP client to query the API. We are fond of [Postman](https://www.getpostman.com/). It works perfectly well with API Platform, has native OpenAPI support, allows to easily write functional tests and has good team collaboration features. +## Update Your Project + +You have started a project with the API Platform template and you would like to benefit from the latest enhancements introduced since you created your project (i.e. [FrankenPHP](https://frankenphp.dev/). Juste use this git based tool +[The *template-sync* project](https://github.com/coopTilleuls/template-sync) got you covered. + +Run the following command to import the changes since your last update: + +```console +curl -sSL https://raw.githubusercontent.com/mano-lis/template-sync/main/template-sync.sh | sh -s -- https://github.com/api-platform/api-platform +``` +Resolve potential conflicts, run `git cherry-pick --continue` and you are done! + +[Full documentation](https://github.com/coopTilleuls/template-sync/blob/main/README.md) + ## Bringing your Own Model Your API Platform project is now 100% functional. Let's expose our own data model.