Source code for ux.symfony.com.
To contribute to the website, you need to fork the symfony/ux.symfony.com repository on GitHub. This will give you a copy of the code under your GitHub user account. Read the documentation "How to fork a repository".
After forking the repository, you can clone it to your local machine:
# Using GitHub CLI https://cli.github.com/
$ gh repo clone <USERNAME>/ux.symfony.com ux.symfony.com
# Using SSH
$ git clone git@github.com:<USERNAME>/ux.symfony.com.git ux.symfony.com
$ cd ux.symfony.com
# Add the upstream repository, to keep your fork up-to-date
$ git remote add upstream git@github.com:symfony/ux.symfony.com.gitTo set up the development environment, you need the following tools:
- PHP 8.5 or higher - Required for running the Symfony application
- Composer - PHP dependency manager
- Symfony CLI - Recommended for running the development server
- Docker - For running services (database, etc.)
With these tools installed, you can install the project dependencies:
# Install PHP dependencies
symfony composer installTo run the website in local development:
symfony serve --open
# The website will be accessible at https://127.0.0.1:9044/Run database migrations:
symfony console doctrine:migration:migratePopulate the database:
symfony console app:load-dataDownload the importmap packages locally:
symfony console importmap:installsymfony php bin/phpunit