{{ message }}
Repository navigation
Can we make it easier to install the latest version of API Platform & Symfony? #2986
toby-griffiths
started this conversation in
General
Replies: 1 comment 5 replies
|
We plan to deprecate the API Platform distribution and recommend:
@soyuka is also working on a CLI tool to automate these steps. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've just attempted to install the latest version of API Platform/Symfony and I've found the process quite painful, so wanted to ask if there is already a better way than this, or how we might improvide this experience for everyone?
Steps I took…
.tar.gzfile from Github & unpackaged it (note this seems quite old now);transport_urlas this is deprecated, and add the new form within the MERCURE_EXTRA_DIRECTIVES var value;runtime/frankenphp-symfonypackage and update theworker.Caddyfilefile to remove theAPP_RUNTIMEenv var;api-platform/*,symfony/*&doctrine/*packages to the latest versions, as well as update theconfig/packages/doctrine.yamlfile to drop obsolete config, and theconfig/routes/framework.yaml&config/routes/web_profiler.yamlfiles to point to the newly named*.phprouting files;/root/.local/share/pnpm/binto $PATH before callingpnpm config -g set store-dir /.pnpm-store;So is there a better way that's not documented (we're not using Github, so the option to create a repo from template isn't straight forward for us)on how we can get up and running with the latest releases, and we can update the API Platform install docs, or what's the best ideas for a better way? Maybe tag & releas a new version people can download with all this done?
Also, I notice that the Symfony Docker setup includes FrankenPHP's hot-reloading. Perhaps we can bake this in as well?
All reactions