2017 © Pedro Peláez
 

library up

Up! A composer library for self-updating projects

image

mothership-ec/up

Up! A composer library for self-updating projects

  • Wednesday, September 23, 2015
  • by thomasjthomasj
  • Repository
  • 6 Watchers
  • 40 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Up!

Up! is a simple library for running Composer commands from within your application., (*1)

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

Up! currently supports three key Composer features:, (*3)

  • 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

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

Usage examples

    <?php

    use Mothership\Up\Up;

    $up = new Up;

    // Update your project from the current working directory
    $up->update();

    // Update your project from a different directory
    $up->setBaseDir('/path/to/project')->update();

    // Synchronise your project with the `composer.lock` file
    $up->install();

    // Synchronise your project from a `composer.lock` file in a different directory
    $up->setBaseDir('/path/to/project')->install();

    // Create a new project from a Composer package
    $up->createProject('mothership-ec/mothership');

    // Create a new project from a Composer package in a different directory
    $up->setBaseDir('/path/to/project')->createProject('mothership-ec/mothership');

Installation

Up! must be installed using Composer by adding mothership-ec/up to your composer.json file. See the Composer documentation for more information., (*5)

Caveats

Up! currently uses a forked version of Composer as Composer itself does not utilise semantic versioning, (*6)

The Versions

23/09 2015

dev-develop

dev-develop http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

05/06 2015

dev-new-composer-test

dev-new-composer-test http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

21/04 2015

dev-master

9999999-dev http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

21/04 2015

1.0.0-beta

1.0.0.0-beta http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

21/04 2015

1.0.8-alpha

1.0.8.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

21/04 2015

1.0.7-alpha

1.0.7.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

21/04 2015

1.0.6-alpha

1.0.6.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

13/04 2015

1.0.5-alpha

1.0.5.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

13/04 2015

1.0.4-alpha

1.0.4.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

09/04 2015

1.0.3-alpha

1.0.3.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

09/04 2015

1.0.2-alpha

1.0.2.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

09/04 2015

1.0.1-alpha

1.0.1.0-alpha http://mothership.ec

Up! A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team

composer update installer

09/04 2015

1.0.0-alpha

1.0.0.0-alpha http://mothership.ec

A composer library for self-updating projects

  Sources   Download

The Requires

 

The Development Requires

by The Mothership Development Team