Method |
Description |
|
__construct ( $package2file, $config = null ) |
|
|
convert ( $output_file = null ) |
|
|
getParsedPackageData ( ) : array |
Allow retrieval of parsed data structure. |
|
help ( ) |
Help output for CLI version |
|
main ( ) |
Main method that starts conversion from the command-line |
|
outputTo ( string $output_path ) |
Allow setting of the output path location |
|
setAutoload ( array $config ) : self |
Set up any autoload configuration necessary |
|
setBinFiles ( array $files ) : self |
Set bin-files list |
|
setBranchAlias ( $aliases ) : self |
Set up any branch-alias that may be specified |
|
setDependencyMap ( array $map ) : self |
Set a name mapping to dependencies. Naming conventions can vary
between PEAR-style and composer/github style. |
|
setExtra ( $extra ) : self |
Set the entire 'extra' array |
|
setExtraSuggestions ( array $suggestions ) : self |
Set extra suggestions for features, beyond what is mentioned in
package.xml |
|
setHomepage ( string $homepage ) : self |
Set homepage to use in composer.json. Defaults to channel if not set. |
|
setIncludePath ( array $list ) : self |
If you must, set up any include paths, relative to vendor dir |
|
setKeywords ( array $keywords ) : self |
Set keywords which will be picked up by Packagist and/or other
package search tools. |
|
setLicense ( $license ) : self |
Set SPDX license string. If omitted, license value from package.xml will
be used. |
|
setName ( string $name ) : self |
Set the name of the package to put in composer.json |
|
setRepositories ( $repos ) |
* Horde |
|
setSupportInfo ( $support ) : self |
Set keywords which will be picked up by Packagist and/or other
package search tools. |
|
setType ( $type ) : self |
Set the type of composer package. Defaults to 'library' |
|
writeTimeToComposer ( $bool ) : self |
Should release date/time information from package.xml be written to
composer.json? |
|
writeVersionToComposer ( $bool ) : self |
Should version information from package.xml be written to composer.json? |
|