yii2-many-to-many

Extension for simplifying work with many-to-many relationship in Yii 2.

Github

Thanks for the extension !! At first its working !!. But i have some questions. Its not clear how to use the fillingRoute property. I suppose that you need to put a route to an action that return the relational items that already belong to the master, so when you update the Master it already fills with the existent data. I made an action that return a list( id ) as an array , but it didn’t work.

The other question is, how can i work with a junction table with more columns, i.e. an order junction table with quantities?

Answered you here https://github.com/arogachev/yii2-many-to-many/issues/2