-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add instructions on how to publish a Herbert based plugin to wordpress.org. #115
Comments
I want to help with this. What's something I can do? |
I was wondering if it would be possible to build a "vender" plugin for WordPress that automatically manages all installed Herbert plugins and their dependencies. |
I wonder if Herbert could run |
This (https://github.com/CurosMJ/NoConsoleComposer) looks promising, but I'm guessing there are some definite security concerns. |
I was thinking the same thing the other day. It is definitely possible. |
HI Is there any restriction in licences for the libs in this plugin? Technicaly it could work well. A bit heavy but many pluigns are MORE heavy. It was NOT an issue for them and its widely used... so I think the solution is to do the SAME as WP-erp. include the full Vendor with no problem. Note the differences between the zip you download from WP repo, and the sources in GIT simple solution as I see |
Unless you have done it, don't say the solution. Of course we sent it with On Wed, Aug 31, 2016, 11:15 renaudham [email protected] wrote:
|
@jamrizzi On our side we have already published in the past a plugin including fully ALL laravel framework, that is also working with Composer and a vendor folder, also with many of the same elements. My guess is that if there is a rejection its not due to the Vendor folder for most of its components but maybe only one specific component of this vendor folder, Any clue on your side for this? thanks |
I don't really know. I have stopped using Herbert because I couldn't get it to work. I really think it would be the best framework for developing WordPress plugins if it was compatible with the WordPress repository. Is Herbert still under active development??? I really really like it. I would love to see it reach a stable version. I think someone who has successfully submitted a Herbert plugin to WordPress should create a really nice and detailed tutorial. I am personally willing to contribute to this project if I know it is moving forward and will support plugins for the WordPress repo. |
We did manage to publish at wordpress directory, but there is an issue when installing the plugin with the TWIG template. You can find the plugin here: https://wordpress.org/plugins/reservation-engine/ We are getting the following error : Any clue for this? I personally willing to contribute to this project and especially on how you can publish it to wordpress directory. I think the issue with the vendors files should be resolved. It adds a lot of extra bytes at the plugin. |
HI
This should allow most of us to go on further quietly with Herbet.
@jamrizzi and for all others...
regards |
Hi Renaudham, thanks for your quick answer. I guest the problem is not on linux distribution but in the Twig loader register function in the TwigServiceProvider. at Herbert 0.9 version the function register has the below code : I suppose this should be change to the one you suggested : or to a relative path : I am making some testings in different environments to check it out, and i hope to come back with a clear suggestion. |
related issue please help to solve : #185 |
We should create as far as possible detailed instructions on how to manipulate Herbert to make it publishable to the wordpress.org plugin directory.
The Problem
As far as I can see, there are some conflicts on Herberts primary goals (like beeing a grown up plugin framework) and WordPress.orgs policy on how plugins should be evaluated (like beeing usable by a majority of WPs userbase).
I consider this quite an issue, we should look into this asap.
Tasks
Related Issues
Edit-History
The text was updated successfully, but these errors were encountered: