Skip to content

wp-funnel-hackers/wp-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

wp-composer

Examples for installing plugins and themes with, composer on WordPress.

plugin.json Needs to be added to the private plugin directory.

theme.json Needs to be added to the private theme directory.

The below needs to be added to the WordPress main composer.json file.

For each new plugin or theme added, you will need to add a new vsc repository.

    {
      "type": "vcs",
      "url": "https://github.com/wp-funnel-hackers/new-private-wordpress-plugin.git"
    },
  "repositories": [
    {
      "type": "composer",
      "url": "https://wpackagist.org",
      "only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
    },
    {
      "type": "vcs",
      "url": "https://github.com/wp-funnel-hackers/private-wordpress-plugin-1.git"
    },
    {
      "type": "vcs",
      "url": "https://github.com/wp-funnel-hackers/private-wordpress-plugin-2.git"
    }

Then to install run

composer require wp-funnel-hackers/private-wordress-plugin

About

Examples for installing plugins and themes with composer on WordPress

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published