Deploy Symfony 7.3
An up-to-date Symfony installation. Includes app, worker and database.
symfony-worker
raphaelflash/symfony-railway
Just deployed
Postgres
railwayapp-templates/postgres-ssl:17.6
Just deployed
/var/lib/postgresql/data
symfony-app
raphaelflash/symfony-railway
Just deployed
Deploy and Host Symfony 7.3 on Railway
Symfony is a PHP framework for web and console applications and a set of reusable PHP components.
About Hosting Symfony 7.3
This template makes it very easy to deploy Symfony. It includes an app service, a worker service and a Postgres database.
After you deploy the template, you can open the public URL of your railway-app service and add /health in your browser. This endpoint should show that the status is up. Now you are free to add your own pages, API routes, scheduled tasks, commands and business logic. Happy coding!
Common Use Cases
Symfony can be used for a variety of use cases, including
- Web applications
- API-driven backends
- Microservices
- Enterprise systems
Dependencies for Symfony 7.3 Hosting
This template includes all the dependencies you need to get started: an app service, a worker service and a Postgres database.
Deployment Dependencies
- Symfony: Installation & Setup - how to set up Symfony
- Symfony: Creating pages - how to create your first page
- Symfony: Official documentation - for all further information
Implementation Details
Architecture
This template deploys 3 services:
- App Service: Main instance serving your web pages and APIs
- Worker Service: Background worker processes for running jobs, scheduled tasks etc.
- PostgreSQL: Database for storing your application data
Workers are independent of the main app, allowing you to scale them horizontally for higher performance.
Pre-installed packages
To make it easy for you to start, the following packages are pre-installed:
- symfony/flex
- symfony/messenger
- symfony/scheduler
- doctrine/orm
Feel free to install further packages that you would like to use.
Why Deploy Symfony 7.3 on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Symfony 7.3 on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
symfony-worker
raphaelflash/symfony-railwaysymfony-app
raphaelflash/symfony-railway