r/PHPhelp • u/Chemical_Tea_1743 • Oct 26 '26
Advice on a growing Symfony app
I have a custom commerce app built on Symfony and just upgraded it to Symfony 8 recently.
it’s on a single hostname and has two mobile apps (store and separate admin iOS app).
It has been growing and while I want to scale it out, I’m also thinking of using separate hostnames now for the store and admin.
The admin has plans to grow as well, such as doing a full blown inventory management so I can support multiple warehouses, inventory transfers, etc… along with running marketing campaigns from it
How should I go about handling this?
Keep it a single app? Split the app? Share a kernel?
Should I move the API to a dedicated subdomain like api.example.com ?
Another reason to split is so that a compromised third party storefront script doesn’t affect my admin staff if they access the storefront.