Hello, I use your plugin in many projects, is great!
Now, I'm working in a new plugin and I want to let users decide which User plugin install,
RainLab.User is required, is there any way to use another User plugin?
Maybe require some extra work on your plugin...
Hi! Thanks for the suggestion!
I've already made such option to choose between User and Buddies in another plugin Vdomah.Roles. But the problem is that Marketplace doesn't support optional required plugin. So you can either require both Lovata.Buddies and RinLab.User, or not require any plugin at all. In first case you force user to have redundant plugin in his project. In second case your plugin doesn't install it's dependencies automatically - user will need to install Buddies or User manually. Also in the second case your plugin will not be displayed on the Buddies or User marketplace page that is bad for it's popularity.
In Vdomah.Roles plugin I've chosen the second case. But later I realize that the better way would be to have 2 separate plugins for each auth plugin. May be that 2 plugins should share common codebase to avoid problems with updates synchronization.
So I'll try to upload new jwt-auth plugin to the marketplace for Buddies only in the near future.