Skip to content

Commit 58b87ee

Browse files
authored
docs: add a reference to template-sync tool
1 parent 5c4bc60 commit 58b87ee

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

distribution/index.md

+14
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,20 @@ Of course, you can also use your favorite HTTP client to query the API.
230230
We are fond of [Postman](https://www.getpostman.com/). It works perfectly well with API Platform, has native OpenAPI support,
231231
allows to easily write functional tests and has good team collaboration features.
232232

233+
## Update Your Project
234+
235+
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
236+
[The *template-sync* project](https://github.com/coopTilleuls/template-sync) got you covered.
237+
238+
Run the following command to import the changes since your last update:
239+
240+
```console
241+
curl -sSL https://raw.githubusercontent.com/mano-lis/template-sync/main/template-sync.sh | sh -s -- https://github.com/api-platform/api-platform
242+
```
243+
Resolve potential conflicts, run `git cherry-pick --continue` and you are done!
244+
245+
[Full documentation](https://github.com/coopTilleuls/template-sync/blob/main/README.md)
246+
233247
## Bringing your Own Model
234248

235249
Your API Platform project is now 100% functional. Let's expose our own data model.

0 commit comments

Comments
 (0)