Skip to content

Commit 0794750

Browse files
committed
docs: add a reference to template-sync tool
1 parent 7d0224b commit 0794750

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

symfony/index.md

+14
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,20 @@ For instance, go to `https://localhost/greetings.jsonld` to retrieve the list of
239239
Of course, you can also use your favorite HTTP client to query the API.
240240
We are fond of [Hoppscotch](https://hoppscotch.com), a free and open source API client with good support of API Platform.
241241

242+
## Update Your Project
243+
244+
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
245+
[The *template-sync* project](https://github.com/coopTilleuls/template-sync) got you covered.
246+
247+
Run the following command to import the changes since your last update:
248+
249+
```console
250+
curl -sSL https://raw.githubusercontent.com/mano-lis/template-sync/main/template-sync.sh | sh -s -- https://github.com/api-platform/api-platform
251+
```
252+
Resolve potential conflicts, run `git cherry-pick --continue` and you are done!
253+
254+
[Full documentation](https://github.com/coopTilleuls/template-sync/blob/main/README.md)
255+
242256
## Bringing your Own Model
243257

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

0 commit comments

Comments
 (0)