IDE ONLY
This SDK provides an interface to retrieve dependency locations based on the System path and provided known default installation paths. Prefs structure: dependencies (prefset) php (prefset) executables (ordered-pref - list of known executable names)
- php
- php-cli
- ..
paths (ordered-pref - list of known install paths)
- /opt/php-5/
- C:\PHP\
- ..
docs (string - url to docs) ruby (prefset) .. go (prefest)
Methods
-
require("ko/dependencies").getDependencyPaths(dependency)
-
Get a list of paths found to house the requested dependencies
Parameters:
Name Type Description dependency
String name of the dependency files to return
Returns:
List of paths to files
- Type
- Array