composer init
Package name (<vendor>/<name>): luizpaulogroup/example
Description []: Adding composer through the terminal
Author: luizpaulogroup <[email protected]>
Minimum Stability []: stable
Package Type...
License []: MIT
Would you like to define your dependencies (require)...
Would you like to define your dependencies (require-dev)...
Do you confirm generation [yes]? yes
composer update
composer install
You can be accessing the website https://packagist.org/
composer riquired package_name
{
"name": "luizpaulogroup/example",
"description": "Adding composer through the terminal",
"license": "MIT",
"authors": [
{
"name": "luizpaulogroup",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
}
}