Some common composer command:
# Display all installed packages Composer Show # Removes the specified dependencies package_name Composer the Remove package_name # search package of information called package_name Composer Search package_name # to add a specific package (no need to manually add dependency information in composer.json Lane) # Composer will first find the right version, and then update composer.json file, then add the information in the package package_name the require, # then related dependencies downloaded for installation, last updated composer.lock files and generates automatically load the php file . Composer the require package_name # update all dependencies Composer Update # update the specified package package_name Composer Update package_name # update the specified number of packets package_name1, package_name2 Composer Update package_name1 package_name2 #Wildcard matching package update Composer Update Vendor / *