Yes, you can use Symfony flex managing with composer your back-end dependencies (pay attention that Symfony flex doesn’t come with Doctrine ORM by default so you need to require it in your composer.json
file if you’re planning to use a database. If you want to integrate front-end frameworks in your symfony application you need to manage them via npm
or yarn
. I do prefer yarn
since it’s more Symfony friendly. The best practice for symfony is using the webpack component, check documentation for this. Linked one demo app for you.