Sha256: 876c171ffc3612bca6a92e4d50247a976f6719c1c35cd80619ce52addcad5257

Contents?: true

Size: 886 Bytes

Versions: 22

Compression:

Stored size: 886 Bytes

Contents

# Composer

The composer source will detect dependencies when php is available, a `composer.lock` file is found at an apps `source_path`, and a composer application file is found.

It enumerates dependencies and metadata by parsing `composer.lock` files for for dependency metadata and running `php <composer application file> show --format json --path` to obtain local dependency paths on disk.

### Composer application file

The default composer application file location is `<repository root>/composer.phar`.  To specify a custom composer file location, use the `composer.application_path` configuration setting.

```yml
composer:
  application_path: "/path/to/composer"
```

### Dev dependencies

By default licensed ignores all dev dependencies. To consider dev dependencies as well, use the `composer.include_dev` configuration setting.

```yml
composer:
  include_dev: true
```

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
licensed-5.0.0 docs/sources/composer.md
licensed-4.5.0 docs/sources/composer.md
licensed-4.4.0 docs/sources/composer.md
licensed-4.3.1 docs/sources/composer.md
licensed-4.3.0 docs/sources/composer.md
licensed-4.2.0 docs/sources/composer.md
licensed-4.1.0 docs/sources/composer.md
licensed-4.0.4 docs/sources/composer.md
licensed-4.0.3 docs/sources/composer.md
licensed-4.0.2 docs/sources/composer.md
licensed-4.0.1 docs/sources/composer.md
licensed-4.0.0 docs/sources/composer.md
licensed-3.9.1 docs/sources/composer.md
licensed-3.9.0 docs/sources/composer.md
licensed-3.8.0 docs/sources/composer.md
licensed-3.7.5 docs/sources/composer.md
licensed-3.7.4 docs/sources/composer.md
licensed-3.7.3 docs/sources/composer.md
licensed-3.7.2 docs/sources/composer.md
licensed-3.7.1 docs/sources/composer.md