Adding composer through the terminal
Package name (<vendor>/<name>): luizpaulogroup/example
Description []: Adding composer through the terminal
Author: luizpaulogroup <email@gmail.com>
Minimum Stability []: stable
you can skip this step just below, pressing enter
you can skip this step just below, pressing enter
Would you like to define your dependencies (require)...
Would you like to define your dependencies (require-dev)...
Do you confirm generation [yes]? yes
composer riquired package_name
The composer.json file will look like this
{
"name": "luizpaulogroup/example",
"description": "Adding composer through the terminal",
"license": "MIT",
"authors": [
{
"name": "luizpaulogroup",
"email": "email@gmail.com"
}
],
"minimum-stability": "stable",
"require": {
}
}