PHPackages                             mothership-ec/up - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mothership-ec/up

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

mothership-ec/up
================

Up! A composer library for self-updating projects

1.0.8-alpha(11y ago)41421[1 PRs](https://github.com/mothership-ec/up/pulls)PHP

Since Apr 9Pushed 10y ago5 watchersCompare

[ Source](https://github.com/mothership-ec/up)[ Packagist](https://packagist.org/packages/mothership-ec/up)[ Docs](http://mothership.ec)[ RSS](/packages/mothership-ec-up/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (2)Versions (13)Used By (0)

Up!
===

[](#up)

[![Join the chat at https://gitter.im/mothership-ec/up](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/mothership-ec/up?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://camo.githubusercontent.com/9935ea7cb81c8d883c6f64b5f6c596166a07c46e200942dbee98adf9d56addec/68747470733a2f2f7472617669732d63692e6f72672f6d6f74686572736869702d65632f75702e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/mothership-ec/up)

**Up!** is a simple library for running [Composer](http://getcomposer.org) commands from within your application.

**Up!** works by extending Composer's internal library and adding some simple methods which handle most of the configuration and setup for you.

**Up!** currently supports three key Composer features:

- **Update** - Update all modules as specified in the `composer.json` file.
- **Install** - Synchronise all modules with versions specified in the `composer.lock` file, unless no file is present then use the `composer.json` file
- **Create project** - Create a project from a package on [packagist.org](http://packagist.org)

**Up!** will assume that the relevant Composer configuration files are in the current working directory, unless specified via the `setBaseDir()` method

Usage examples
--------------

[](#usage-examples)

```
