how to display information FROM A MySQL database on a Google Map USING TWIG

is there a way to use Using MySQL and Twig(symfony) with Google Maps?, all the tutorials I found use Plain PhP, what would be the process.