Category: database

How to downgrade symfony/console, can’t install composer package?

i need to use this package mrjgreen/db-sync, i’m using laravel version 5.8. When i try to install it on my project through composer, it returns the following error: Your requirements could not be resolved to an installable set of packages….

Symfony 5, How to display in a template, a variable where the current user is affiliated with a ManyToMany relations

I want that when my current user goes to the page, he can see what subject matter he is affiliated with a ManyToMany relations. My entity Matter /** * @ORMColumn(type=”string”, length=255) */ private $name; /** * @ORMManyToOne(targetEntity=”AppEntityUser”, inversedBy=”matters”) * @ORMJoinColumn(nullable=false)…