Skip to content

Instantly share code, notes, and snippets.

@DaveRandom
Created June 1, 2018 01:23
Show Gist options
  • Save DaveRandom/eb28ab08693b598239e19f6ff513c25a to your computer and use it in GitHub Desktop.
Save DaveRandom/eb28ab08693b598239e19f6ff513c25a to your computer and use it in GitHub Desktop.
D:\test>composer init
Welcome to the Composer config generator
This command will guide you through creating your composer.json config.
Package name (<vendor>/<name>) [chris.wright/test]: test/test
Description []: test
Author [Chris Wright <daverandom@php.net>, n to skip]: n
Minimum Stability []: stable
Package Type (e.g. library, project, metapackage, composer-plugin) []: project
License []: proprietary
Define your dependencies.
Would you like to define your dependencies (require) interactively [yes]?
Search for a package: daverandom/serial
Enter the version constraint to require (or leave blank to use the latest version): dev-master
Search for a package:
Would you like to define your dev dependencies (require-dev) interactively [yes]? no
{
"name": "test/test",
"description": "test",
"type": "project",
"require": {
"daverandom/serial": "dev-master"
},
"license": "proprietary",
"minimum-stability": "stable"
}
Do you confirm generation [yes]? yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment