wp-router icon indicating copy to clipboard operation
wp-router copied to clipboard

include as library

Open hamedmoody opened this issue 8 years ago • 1 comments

Hi your plugin is great, but can i use it as library by including in my plugin project? if ok, How? Thanks

hamedmoody avatar Mar 03 '17 10:03 hamedmoody

In your composer file: "repositories": [ { "type": "vcs", "url": "https://github.com/jasonagnew/wp-router" } ], then in require section: "wp-router/wp-router": "dev-master" If you want autload: "autoload": { "files": ["vendor/wp-router/wp-router/plugin.php"] },

dkonsoftware avatar Oct 27 '17 10:10 dkonsoftware