Skip to content

Symfony 5 framework dynamic relation sample for location form ( country , city )

Notifications You must be signed in to change notification settings

mssoylu/symfony-dynamic-entity-relation

Repository files navigation

Symfony Dynamic Entity Relation in Forms

Symfony 5 framework dynamic relation sample for location form ( country , city ) in the forms. City select field is changing to depend with country select.

Setup

git clone git@github.com:mehmetsoylucom/symfony-dynamic-entity-relation.git

composer install

create your .env.local file in root. add your db user/password and db name.

bin/console do:da:cr

bin/console do:mi:mi

You have to add country and cities with phpmyadmin or other manually database tools.

cd public

php -S localhost:8000

About

Symfony 5 framework dynamic relation sample for location form ( country , city )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published