Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Installing Symfony with Symfony using the Browser

Avatar for Shyim Shyim
November 27, 2025
33

Installing Symfony with Symfony using the Browser

Avatar for Shyim

Shyim

November 27, 2025
Tweet

Transcript

  1. Soner Sayakci Also known as Shyim Too much OSS: OpenSearch/Testcontainers

    What I do for work?: Building Developer Tooling Where?: @Shopware 27 November 2025
  2. What is Shopware? • Open-source eCommerce software • Headless first

    • Based on Symfony Framework • Extensible via Symfony Bundles • Currently 5,200 extensions by the Community 27 November 2025
  3. Setting up Shopware from scratch 27 November 2025 Requires: •

    A Terminal • CLI experience and Composer knowledge • Understanding that multiple PHP versions may exist in parallel (shared env)
  4. Desired solution? 27 November 2025 • Shopware should run on

    shared hosters which don’t provide CLI access • Drop a file and install solution (really convenient) • The barrier to start with Shopware should be as low as possible
  5. First Solution: Zip files • Generate zip file: • Our

    CI runs composer create-project • Zips content • Uploads to GitHub release • User downloads and unpacks on Webspace • Problems: • Reverts important files like composer.json • Conflicts with manually installed packages • Config files overwritten 27 November 2025
  6. What are others doing in PHP ecosystem? Wordpress uses zip

    files Why does it work well for them? • Escaping the “modern” PHP world without using Composer • Plugins put into a separate folder which is not in the zip • If composer packages required, it’s the job of plugins 27 November 2025 zip file
  7. What are others doing in Symfony ecosystem? 27 November 2025

    • Single file to install/update as Phar • Uses Composer under the hood This is genius! We borrowed the idea, thank you @Contao!
  8. Portable PHP Archives: Phar • Combines multiple files into one

    file • Similar to .jar files • Entrypoint script (stub) • Can be compressed • Can be signed • Can be executed in CLI • Can be executed using a web browser 27 November 2025
  9. Looks good, do we have everything? 27 November 2025 •

    We can build an installer by utilizing regular Symfony • It’s in a single file easily useable by the user • It has all assets embedded and is easy to use But: To install the actual PHP project, we need Composer! • Should we require globally installed Composer? • Download it and execute it then? • ???