/symfony-docs

The Symfony documentation

Primary LanguagePHPOtherNOASSERTION

The official Symfony Documentation

Online version | Components | Screencasts

Contributing

We love contributors! For more information on how you can contribute, please read the Symfony Docs Contributing Guide.

Important

Use 5.4 branch as the base of your pull requests, unless you are documenting a feature that was introduced after Symfony 5.4 (e.g. in Symfony 7.1).

Build Documentation Locally

This is not needed for contributing, but it's useful if you would like to debug some issue in the docs or if you want to read Symfony Documentation offline.

$ git clone git@github.com:symfony/symfony-docs.git

$ cd symfony-docs/
$ cd _build/

$ composer install

$ php build.php

After generating docs, serve them with the internal PHP server:

$ php -S localhost:8000 -t output/

Browse http://localhost:8000 to read the docs.