shoguniphicus
shoguniphicus

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!

Crazymodder
Crazymodder

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

meetshogun10601
meetshogun10601

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?

meetshogun10601
meetshogun10601

And even if I just do october:up. The plugin isn't registered at all.

SphereZ
SphereZ

Crazymodder said:

php artisan plugin:refresh AuthorName.PluginName

This does the trick :) Thanks man!

rheza.satria.ta51085
rheza.satria.ta51085

I think we should have better way to activate the plugin when starting october

1-6 of 6