simplesolution/auto-require

A Plugin which makes it easy to load private packages

Installs: 95

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Type:composer-plugin

1.1.1 2018-08-09 07:36 UTC

This package is not auto-updated.

Last update: 2020-09-19 08:04:45 UTC


README

Composer plugin to auto-require all private repositories.

This Plugin just makes it so easy to add private repositories to your composer project!

Requirements

  • php >= 7
  • composer >= 1.7

Installation

composer require simplesolution/auto-require

Configuration

You can configurate the vendor name just by adding:

"extra": {
  "auto-require": {
    "vendor-name": "yourpackagename"
  }
}

You can configurate the path scheme just by adding:

"extra": {
  "auto-require": {
    "path-scheme": "'{vendorName}/{vendorName}.{name}'"
  }
}

vendorName and name are fixed variables that return the vendorName or the name of the package.

How To Use

just use the composer require or the composer update command as normal and your Packages will be included. When you use the Plugin for the first time composer will ask you to create an github token that allows it to access the repository easier.

Authors

Tobias Franek (tobias.franek@gmail.com)