Athlon1600 / php-proxy-plugin-bundle

PHP-Proxy Plugins made for unblockvideos.com
https://unblockvideos.com/
MIT License
20 stars 24 forks source link

How to use these plugins? #14

Closed ch4rc0al1080 closed 5 years ago

ch4rc0al1080 commented 5 years ago

I download these plugins like YoutubePlugin.php and put it in the /plugins folder, but my site down right away. Can you tell me how to use it, I can not use composer.

Athlon1600 commented 5 years ago

Youtube is enabled by default actually. To enable/disable a particular plugin, go to your app's config.php and add the name of the file (without .php) to the $plugins array here:
https://github.com/Athlon1600/php-proxy-app/blob/master/config.php#L23

ch4rc0al1080 commented 5 years ago

so I should put these things into the /vendor/athlon1600/php-proxy/src/Plugin/ folder ? I used to put plugins in the plugins folder

ch4rc0al1080 commented 5 years ago

Please reply me ^O^

Athlon1600 commented 5 years ago

this whole package is installed by default when using php-proxy-app:
https://github.com/Athlon1600/php-proxy-app/blob/master/composer.json#L10

and all of these plugins are enabled by default too: https://github.com/Athlon1600/php-proxy-app/blob/master/config.php#L23

so I don't think you have to do anything from your end. it's all already setup.

ch4rc0al1080 commented 5 years ago

Thanks!