← Back to JWT Auth API Support
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
or Lovata.Buddies
but RainLab.User
is required, is there any way to use another User plugin?
Maybe require some extra work on your plugin...
Thanks Best regards
planetadeleste said:
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
orLovata.Buddies
butRainLab.User
is required, is there any way to use another User plugin?Maybe require some extra work on your plugin...
Thanks Best regards
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.
@planetadeleste, I created feature request on the OctoberCMS github to add possibility to extend several plugins with one plugin. Support me there please: https://github.com/octobercms/october/issues/4840
@vdomah, you right, let plugin without requirement was a problem, users don't understand why plugin fails or doesn't work and start asking over and over....
Thanks for your quick answer. Merry christmas!!!
planetadeleste said:
@vdomah, you right, let plugin without requirement was a problem, users don't understand why plugin fails or doesn't work and start asking over and over....
Thanks for your quick answer. Merry christmas!!!
Wish you great holidays!
Last updated
1-5 of 5