Last active
May 12, 2023 20:47
-
-
Save nikonov91-dev/1a80d354cb2928e2986ea18ee31841e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
course: udemy.com/course/symfony-framework-hands-on/ | |
Plugins (search for them on the Extensions tab): | |
Auto Close Tags | |
PHP Intelephense | |
PHP Namespace Resolver | |
Rainbow Brackets | |
Twig | |
Themes | |
One Dark Pro | |
Eva Theme | |
Icons | |
Fluent Icons | |
VSCode Great Icons | |
symfony console debug:router; | |
maker-bundle | |
profiler | |
doctrine orm | |
https://github.com/piotr-jura-udemy/symfony6-hands-on.git | |
чтобы найти нужную БД надо запустить "docker ps" и указать ее вот в этой строке | |
docker exec -it symfony6-hands-on-mysql-1 mysql -u root -p | |
symfony console doctrine:database:create | |
symfony console make:entity | |
symfony console make:migration | |
symfony console doctrine:migration:status | |
symfony console doctrine:migrations:migrate --no-interaction | |
заполнение лівими данними | |
composer require --dev orm-fixtures | |
після створення классу фейкових данних треба запустити це | |
symfony console doctrine:fixtures:load | |
add form | |
composer require symfony/form | |
symfony console make:form - creates form fields handler | |
composer require symfony/validator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment