-
Notifications
You must be signed in to change notification settings - Fork 2
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
Incorrect plugin directory when installing through composer #2
Comments
Hi, I've just installed Phile and wanted to test yout pagination plugin. Using composer to download the plugin, I have the plugins/stijn-flipper/philePaginatorfolder created. Here is my config.php:
I've tried with this one, using the name in the composer.json:
But here is the error I get:
Thanks :) |
You overlooked the README: remove the
Or, in your case:
I notice that Phile automatically removes the EDIT: Oh, and the folder should be |
:/ Thanks :) and sorry for the noise. I didn't notice the way you give to clone your GitHub repository. However, when using composer, I'm not sure the folder structure is the good one (why would I have had an error in the first place ? or maybe it was simply too late when I tried...). Thanks again, I'm gonna play with your plugin ! |
Just did a clean plugin install through composer, I noticed that the folder structure was indeed |
Alright, I see, change the following entry in your
to:
and it will create the correct directory: |
I've tested and it works perfectly ! Thanks. |
Yeah 👍 , the phile plugin installer from packagist uses v1.0.0 which doesn't include the fix with dashes (fixed in v1.0.1), I'll close this issue and ticket an issue to the dev to bump the plugin installer on packagist to v1.0.1. |
Phile recently released to v1.4.0, plugin need to be checked for compatibility.moved to issue #4When instaling the plugin through composer, the created plugin directory is
stijn-flipper/philePaginator
instead ofstijnFlipper/philePaginator
.The text was updated successfully, but these errors were encountered: