-
-
Save DaveRandom/eb28ab08693b598239e19f6ff513c25a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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