https://github.com/cornernote/quick-composer
Generates composer.lock using travis-ci.
https://github.com/cornernote/quick-composer
Last synced: 3 months ago
JSON representation
Generates composer.lock using travis-ci.
- Host: GitHub
- URL: https://github.com/cornernote/quick-composer
- Owner: cornernote
- Created: 2017-04-19T16:05:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T05:55:03.000Z (about 8 years ago)
- Last Synced: 2025-01-24T05:23:48.727Z (about 1 year ago)
- Homepage: https://travis-ci.org/cornernote/quick-composer
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quick Composer
Generates `composer.lock` using [travis-ci](https://travis-ci.org).
## Overview
Installing an application's PHP libraries with `composer install` is generally quite fast and painless.
However running `composer update` each time you need to add a new library can take a long time, and can fail for various reasons including network or sometimes just randomness.
Once the update has been run, composer generates a file named `composer.lock`. If this file is present you can install by running `composer install`.
This repository leverages travis-ci to create a `composer.lock` using a remote machine on a stable network. This file can then be copied locally to bypass local `composer update` issues.
## Setup
To add the repository to travis-ci see their [getting started guide](https://travis-ci.org/getting_started).
## Instructions
- Update [`composer.json`](https://github.com/cornernote/quick-composer/edit/master/composer.json).
- Visit [travis-ci](https://travis-ci.org/cornernote/quick-composer).
- Search the raw log for `cat composer.lock`, copy the following content to your local `composer.lock`.
- Run `composer install` locally.