/symfony-docs

The Symfony2 documentation

Primary LanguageHTMLOtherNOASSERTION

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 4.4 branch as the base of your pull requests, unless you are documenting a feature that was introduced after Symfony 4.4 (e.g. in Symfony 5.4).

Build Documentation Locally

This is not needed for contributing, but it's useful if you want 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.