Skip to content

DevCia/adding-composer-through-the-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Adding composer through the terminal

composer init
Package name (<vendor>/<name>): luizpaulogroup/example
Description []: Adding composer through the terminal
Author: luizpaulogroup <[email protected]>
Minimum Stability []: stable

you can skip this step just below, pressing enter

Package Type...

Next

License []: MIT

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)...

Next

Do you confirm generation [yes]? yes
composer update
composer install

Command to add package

packagist

You can be accessing the website https://packagist.org/

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 protected]"
        }
    ],
    "minimum-stability": "stable",
    "require": {

    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published