This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi all,
I cant seem to find a way to install plugins I developed from other project by putting the files in the plugins folder and run october:up.
It doesnt work. Any idea how to do it properly? It gets tiring having to create plugin from scratch and then copy my files over from previous project. Any thought?
Thanks!
Hi,
Did you see the plugin in backend? Did you activate it? You can also install plugin with this command:
php artisan plugin:install AuthorName.PluginName
If plugin is installed so you see it under plugins please try with:
php artisan plugin:refresh AuthorName.PluginName
Regards Crazymodder
Last updated
No, because I simply copy the plugin from my other project into this new project. So plugins there shown nothing of this new plugin, which is what I expected.
But when I finished copied the file into plugins folder and I ran CLI command with the exact namespace that I had been using from my previous project. It just said A plugin with "Package.Name" could not be found where as that's the namespace I had been using all along (Package.Name is just for clarification purposes, it's not the real package namespace)
Could it be that I need to make the plugin available in Octobercms.com so that I can reuse the plugin I wrote?
Crazymodder said:
php artisan plugin:refresh AuthorName.PluginName
This does the trick :) Thanks man!
1-6 of 6