https://doctrine-orm.readthedocs.io/en/latest/tutorials/getting-started.html
php vendor/bin/doctrine orm:convert-mapping --namespace="" --force --from-database yml ./config/yaml
php vendor/bin/doctrine orm:generate-entities --generate-annotations=true --update-entities=true --generate-methods=true ./src/Entity
php vendor/bin/doctrine orm:validate-schema
composer require symfony/http-foundation composer require symfony/routing composer require symfony/http-kernel composer require twig/twig
Listen *:8003
<VirtualHost *:8003>
ServerName codebase.lab
ServerAlias codebase.lab
#SSLEngine on
#SSLCertificateFile /etc/apache2/ssl/apache.crt
#SSLCertificateKeyFile /etc/apache2/ssl/apache.key
DocumentRoot /home/nntuan/Tutorials/php/code-base/public
<Directory /home/nntuan/Tutorials/php/code-base/public>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error-codebase-lab.log
CustomLog ${APACHE_LOG_DIR}/access-codebase-lab.log combined
</VirtualHost>