A starter template for scdev that scaffolds a Symfony project with a working local development environment.
- PHP 8.4 (Alpine) container
- Symfony skeleton scaffolded via
composer create-project - Symfony CLI dev server
- HTTPS via scdev's shared Traefik router
- Mutagen file sync (macOS) with vendor/ kept inside the container
scdev create symfony my-app
cd my-app
scdev setupAfter setup completes, your app is running at https://my-app.scalecommerce.site.
- Starts the Docker container (
scdev start) - Installs Composer and Symfony CLI
- Scaffolds a Symfony project via
symfony new - Marks setup as complete - the PHP dev server starts automatically
All commands can be seen in .scdev/commands/setup.just.
Edit files in src/ and refresh the browser - PHP reloads on every request in dev mode.
To add Symfony packages:
scdev exec app composer require <package>For example, to add the full web application bundle:
scdev exec app composer require webapp- scdev installed
- Docker Desktop running
Want to create your own template? See the Template Authoring Guide.