How to Get all Installed Packages With Version in Composer?
To get all installed packages with version in composer you can run bellow command :
composer show -i
=== OR ===
composer show -installed
The -i
options has been deprecated.
You can also use the global instalation of composer:
composer global show
See example :
E:\xampp\htdocs\devnote>composer show -i
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
asm89/stack-cors 1.3.0 Cross-origin resource sharing library and stack middleware
barryvdh/laravel-dompdf v0.8.6 A DOMPDF Wrapper for Laravel
dnoegel/php-xdg-base-dir v0.1.1 implementation of xdg base directory specification for php
doctrine/inflector 1.3.1 Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator 1.3.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 1.2.0 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dompdf/dompdf v0.8.5 DOMPDF is a CSS 2.1 compliant HTML to PDF converter
dragonmantank/cron-expression v2.3.0 CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator 2.1.17 A library for validating emails against several RFCs
facade/flare-client-php 1.3.2 Send PHP errors to Flare
facade/ignition 2.0.1 A beautiful error page for Laravel applications.
facade/ignition-contracts 1.0.0 Solution contracts for Ignition
fideloper/proxy 4.3.0 Set trusted proxies for Laravel
filp/whoops 2.7.1 php error handling for cool kids
fruitcake/laravel-cors v1.0.5 Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application
fzaninotto/faker v1.9.1 Faker is a PHP library that generates fake data for you.
guzzlehttp/guzzle 6.5.2 Guzzle is a PHP HTTP client library
guzzlehttp/promises v1.3.1 Guzzle promises library
guzzlehttp/psr7 1.6.1 PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php v2.0.0 This is the PHP port of Hamcrest Matchers
jakub-onderka/php-console-color v0.2
jakub-onderka/php-console-highlighter v0.4 Highlight PHP code in terminal
laravel/framework v7.1.3 The Laravel Framework.
laravel/tinker v2.2.0 Powerful REPL for the Laravel framework.
laravel/ui v2.0.1 Laravel UI utilities and presets.
league/commonmark 1.3.1 Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)
league/flysystem 1.0.65 Filesystem abstraction: Many filesystems, one API.
mockery/mockery 1.3.1 Mockery is a simple yet flexible PHP mock object framework
monolog/monolog 2.0.2 Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy 1.9.5 Create deep copies (clones) of your objects
nesbot/carbon 2.31.0 An API extension for DateTime that supports 281 different languages.
nikic/php-parser v4.3.0 A PHP parser written in PHP
nunomaduro/collision v4.1.3 Cli error handling for console/command-line PHP applications.
opis/closure 3.5.1 A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
paragonie/random_compat v9.99.99 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest 1.0.3 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 2.0.1 Library for handling version information and constraints
phenx/php-font-lib 0.5.1 A library to read, parse, export and make subsets of different types of font files.
phenx/php-svg-lib v0.3.3 A library to read, parse and export to PDF SVG files.
phpdocumentor/reflection-common 2.0.0 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 5.1.0 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver 1.1.0 A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoption/phpoption 1.7.2 Option Type for PHP
phpspec/prophecy v1.10.3 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 7.0.10 Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator 2.0.2 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 2.1.2 Utility class for timing
phpunit/php-token-stream 3.1.1 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 8.5.2 The PHP Unit Testing framework.
psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-message 1.0.1 Common interface for HTTP messages
psr/log 1.1.2 Common interface for logging libraries
psr/simple-cache 1.0.1 Common interfaces for simple caching
psy/psysh v0.9.12 An interactive shell for modern PHP.
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
ramsey/uuid 3.9.3 Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
sabberworm/php-css-parser 8.3.0 Parser for CSS Files written in PHP
scrivo/highlight.php v9.18.1.1 Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js
sebastian/code-unit-reverse-lookup 1.0.1 Looks up which function or method a line of code belongs to
sebastian/comparator 3.0.2 Provides the functionality to compare PHP values for equality
sebastian/diff 3.0.2 Diff implementation
sebastian/environment 4.2.3 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 3.1.2 Provides the functionality to export PHP variables for visualization
sebastian/global-state 3.0.0 Snapshotting of global state
sebastian/object-enumerator 3.0.3 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 1.1.1 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 3.0.0 Provides functionality to recursively process PHP variables
sebastian/resource-operations 2.0.1 Provides a list of PHP built-in functions that operate on resources
sebastian/type 1.1.3 Collection of value objects that represent the types of the PHP type system
sebastian/version 2.0.1 Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer v6.2.3 Swiftmailer, free feature-rich PHP mailer
symfony/console v5.0.5 Symfony Console Component
symfony/css-selector v5.0.5 Symfony CssSelector Component
symfony/error-handler v5.0.5 Symfony ErrorHandler Component
symfony/event-dispatcher v5.0.5 Symfony EventDispatcher Component
symfony/event-dispatcher-contracts v2.0.1 Generic abstractions related to dispatching event
symfony/finder v5.0.5 Symfony Finder Component
symfony/http-foundation v5.0.5 Symfony HttpFoundation Component
symfony/http-kernel v5.0.5 Symfony HttpKernel Component
symfony/mime v5.0.5 A library to manipulate MIME messages
symfony/polyfill-ctype v1.14.0 Symfony polyfill for ctype functions
symfony/polyfill-iconv v1.14.0 Symfony polyfill for the Iconv extension
symfony/polyfill-intl-idn v1.14.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-mbstring v1.14.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php72 v1.14.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73 v1.14.0 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/process v5.0.5 Symfony Process Component
symfony/routing v5.0.5 Symfony Routing Component
symfony/service-contracts v2.0.1 Generic abstractions related to writing services
symfony/translation v5.0.5 Symfony Translation Component
symfony/translation-contracts v2.0.1 Generic abstractions related to translation
symfony/var-dumper v5.0.5 Symfony mechanism for exploring and dumping PHP variables
theseer/tokenizer 1.1.3 A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles 2.2.2 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.
vlucas/phpdotenv v4.1.2 Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
voku/portable-ascii 1.4.10 Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert 1.7.0 Assertions to validate method input/output with nice error messages.