# shipit-composer-simple

> Composer tasks for Shipit

Latest version **0.1.1** (published 2016-11-13) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install shipit-composer-simple
pnpm add shipit-composer-simple
yarn add shipit-composer-simple
bun add shipit-composer-simple
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-11-13 |
| First published | 2016-08-04 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | rudloff |

## Links

- npm: https://www.npmjs.com/package/shipit-composer-simple
- Repository: https://github.com/Rudloff/shipit-composer-simple
- Homepage: https://github.com/Rudloff/shipit-composer-simple#readme
- Issues: https://github.com/Rudloff/shipit-composer-simple/issues
- npm.io page: https://npm.io/package/shipit-composer-simple

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ~1.1.3
- [shipit-utils](https://npm.io/package/shipit-utils.md) ~1.4.0

## Recent versions

- 0.1.1 (latest) — 2016-11-13
- 0.1.0 — 2016-08-04

## README

# shipit-composer-simple

This shipit task helps you run Composer commands on your distant server.

## Install
```bash
npm install shipit-composer-simple
```

## Usage

### With shipit-cli
Example shipitfile.js:
```js
/*jslint node: true*/
module.exports = function (shipit) {
    'use strict';
    require('shipit-composer-simple')(shipit);

    shipit.initConfig({
        staging: {
            deployTo: '/path/to/working/copy/',
            servers: 'user@example.com',
            composer: {
                noDev: true
            }
        }
    });
};
```

Then run:
```bash
shipit staging composer:install
```

### With grunt
Example Gruntfile.js:
```js
/*jslint node: true*/
module.exports = function (grunt) {
    'use strict';

    grunt.loadNpmTasks('grunt-shipit');
    grunt.loadNpmTasks('shipit-composer-simple');

    grunt.initConfig({
        shipit: {
            staging: {
                deployTo: '/path/to/working/copy/',
                servers: 'user@example.com',
                composer: {
                    noDev: true
                }
            }
        }
    });
};
```

Then run:
```bash
grunt shipit:staging composer:install
```

---
_Source: https://npm.io/package/shipit-composer-simple · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
