-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support submodule and zip installation #4
Comments
Thanks! The question is: How can we support all providers by not requiring the installation via composer. I currently don’t have a proper solution for this. |
https://getkirby.com/docs/guide/plugins/plugin-setup-composer you already have the required libs to composer.json. you just need to update the gitignore file to the provided example from the docs. this will allow you to commit a reduced version of the vendor folder. that is all you have to do. |
Yeah I know. But the problem is the plugin itself is basically useless without installing additionally dependencies. To use Google as an identity provider you have to manually add the |
ah understood. since creating custom kirby plugins is more or less easy but at least well documented you could provide an example how to create a simple one (with composer) for the auth lib instead of just saying one needs to use composer for everything. add to readme something like this:
|
Hmm, I like the idea of a custom plugin. But nevertheless you always need composer so I don’t see a real advantage in providing other installation methods. But we will definitely think about a nice solution to this issue. Thank’s for your input! |
it happend to me that people try to use the zip and then file an issue. if you adhere to the pluginkit way of commiting the vendor folder your plugin is at least working standalone. someone else could then wrap a simple plugin for custom auth and plush that. others could just use the zips of these to get started. they would not need composer then. |
to be listed at the offical kirby 3 plugin list you need to allow all three installation modes (composer, gitmodule and zip).
please check out the official example repo for a plugin with composer dependencies
it boils down to a special gitignore file and a reduced commited vendor folder. i know it's not the clean php composer way but it seems to be the best choice for kirby plugins.
apart from that i will certainly try out your plugin asap. ❤️
The text was updated successfully, but these errors were encountered: