ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
#### 安装 There are 3 ways to install phpDocumentor: 1. Using the PHAR 2. Via Docker 3. Via Composer Please note that it is required that the installation path of phpDocumentor does not contain spaces. This is a requirement imposed by an external library (libxml) #### Using the PHAR Download the phar file from https://github.com/phpDocumentor/phpDocumentor2/releases ??? Profit! #### Via docker ~~~ $ docker pull phpdoc/phpdoc $ docker run --rm -v $(pwd):/data phpdoc/phpdoc ~~~ #### Via Composer phpDocumentor is available on Packagist. It can be installed as a dependency of your project by running ~~~ $ composer require --dev phpdocumentor/phpdocumentor dev-master ~~~ Afterwards you are able to run phpDocumentor directly from your vendor directory: ~~~ $ php vendor/bin/phpdoc ~~~ Please note that we are not able to be compatible with all types of setups. In some situations phpDocumentor will block updates of other packages. We do not recommend using composer to install phpDocumentor. ~~~ D:\phpStudy\PHPTutorial\WWW\workspace\report>php composer.phar require "phpdocum entor/phpdocumentor:2.*" ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 54 installs, 0 updates, 0 removals - Installing phpdocumentor/reflection-docblock (2.0.5): Downloading (connectin Downloading (100%) - Installing nikic/php-parser (v1.4.1): Downloading (100%) - Installing psr/log (1.0.2): Downloading (100%) - Installing phpdocumentor/reflection (3.0.1): Downloading (100%) - Installing symfony/finder (v2.8.40): Downloading (100%) - Installing phpdocumentor/fileset (1.0.0): Downloading (100%) - Installing phpdocumentor/graphviz (1.0.4): Downloading (100%) - Installing zendframework/zend-stdlib (2.7.7): Downloading (100%) - Installing zendframework/zend-hydrator (1.1.0): Downloading (100%) - Installing zendframework/zend-filter (2.8.0): Downloading (100%) - Installing psr/container (1.0.0): Downloading (100%) - Installing container-interop/container-interop (1.2.0): Downloading (connect Downloading (100%) - Installing zendframework/zend-servicemanager (2.7.10): Downloading (connecti Downloading (100%) - Installing zendframework/zend-eventmanager (3.2.1): Downloading (connecting. Downloading (100%) - Installing psr/simple-cache (1.0.1): Downloading (100%) - Installing psr/cache (1.0.1): Downloading (100%) - Installing zendframework/zend-cache (2.8.2): Downloading (100%) - Installing zendframework/zend-json (3.1.0): Downloading (100%) - Installing zendframework/zend-serializer (2.9.0): Downloading (connecting... Downloading (100%) - Installing zendframework/zend-i18n (2.9.0): Downloading (100%) - Installing zendframework/zend-config (2.6.0): Downloading (100%) - Installing kherge/version (1.0.1): Downloading (100%) - Installing seld/jsonlint (1.7.1): Downloading (100%) - Installing justinrainbow/json-schema (1.6.1): Downloading (100%) - Installing herrera-io/json (1.0.3): Downloading (100%) - Installing herrera-io/phar-update (1.0.3): Downloading (100%) - Installing doctrine/instantiator (1.1.0): Downloading (100%) - Installing doctrine/lexer (v1.0.1): Downloading (100%) - Installing doctrine/annotations (v1.6.0): Downloading (100%) - Installing phpoption/phpoption (1.5.0): Downloading (100%) - Installing phpcollection/phpcollection (0.5.0): Downloading (100%) - Installing jms/parser-lib (1.0.0): Downloading (100%) - Installing jms/metadata (1.6.0): Downloading (100%) - Installing jms/serializer (1.11.0): Downloading (100%) - Installing symfony/filesystem (v3.0.9): Downloading (100%) - Installing symfony/polyfill-ctype (v1.8.0): Downloading (100%) - Installing symfony/config (v2.8.40): Downloading (100%) - Installing symfony/stopwatch (v2.8.40): Downloading (100%) - Installing symfony/event-dispatcher (v2.8.40): Downloading (100%) - Installing zetacomponents/base (1.9.1): Downloading (100%) - Installing zetacomponents/document (1.3.1): Downloading (100%) - Installing symfony/process (v2.8.40): Downloading (100%) - Installing erusev/parsedown (1.7.1): Downloading (100%) - Installing twig/twig (v1.35.3): Downloading (100%) - Installing monolog/monolog (1.23.0): Downloading (100%) - Installing symfony/polyfill-mbstring (v1.8.0): Downloading (100%) - Installing symfony/debug (v3.0.9): Downloading (100%) - Installing symfony/console (v2.8.40): Downloading (100%) - Installing symfony/translation (v3.0.9): Downloading (100%) - Installing symfony/validator (v2.8.40): Downloading (100%) - Installing pimple/pimple (v1.1.1): Downloading (100%) - Installing cilex/console-service-provider (1.0.0): Downloading (connecting.. Downloading (100%) - Installing cilex/cilex (1.1.0): Downloading (100%) - Installing phpdocumentor/phpdocumentor (v2.9.0): Downloading (connecting...) Downloading (100%) phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0) zendframework/zend-filter suggests installing zendframework/zend-crypt (Zend\Cry pt component, for encryption filters) zendframework/zend-filter suggests installing zendframework/zend-uri (Zend\Uri c omponent, for the UriNormalize filter) zendframework/zend-servicemanager suggests installing ocramius/proxy-manager (Pr oxyManager 0.5.* to handle lazy initialization of services) zendframework/zend-servicemanager suggests installing zendframework/zend-di (Zen d\Di component) zendframework/zend-cache suggests installing zendframework/zend-session (Zend\Se ssion component) zendframework/zend-cache suggests installing ext-apc (APC or compatible extensio n, to use the APC storage adapter) zendframework/zend-cache suggests installing ext-apcu (APCU >= 5.1.0, to use the APCu storage adapter) zendframework/zend-cache suggests installing ext-dba (DBA, to use the DBA storag e adapter) zendframework/zend-cache suggests installing ext-memcache (Memcache >= 2.0.0 to use the Memcache storage adapter) zendframework/zend-cache suggests installing ext-memcached (Memcached >= 1.0.0 t o use the Memcached storage adapter) zendframework/zend-cache suggests installing ext-mongo (Mongo, to use MongoDb st orage adapter) zendframework/zend-cache suggests installing ext-wincache (WinCache, to use the WinCache storage adapter) zendframework/zend-cache suggests installing ext-xcache (XCache, to use the XCac he storage adapter) zendframework/zend-cache suggests installing mongodb/mongodb (Required for use w ith the ext-mongodb adapter) zendframework/zend-cache suggests installing mongofill/mongofill (Alternative to ext-mongo - a pure PHP implementation designed as a drop in replacement) zendframework/zend-json suggests installing zendframework/zend-json-server (For implementing JSON-RPC servers) zendframework/zend-json suggests installing zendframework/zend-xml2json (For con verting XML documents to JSON) zendframework/zend-serializer suggests installing zendframework/zend-math ((^2.6 || ^3.0) To support Python Pickle serialization) zendframework/zend-i18n suggests installing ext-intl (Required for most features of Zend\I18n; included in default builds of PHP) zendframework/zend-i18n suggests installing zendframework/zend-i18n-resources (T ranslation resources) zendframework/zend-i18n suggests installing zendframework/zend-validator (You sh ould install this package to use the provided validators) zendframework/zend-i18n suggests installing zendframework/zend-view (You should install this package to use the provided view helpers) jms/serializer suggests installing symfony/yaml (Required if you'd like to seria lize data to YAML format.) jms/serializer suggests installing doctrine/collections (Required if you like to use doctrine collection types as ArrayCollection.) jms/serializer suggests installing doctrine/cache (Required if you like to use c ache functionality.) symfony/config suggests installing symfony/yaml (To use the yaml reference dumpe r) symfony/event-dispatcher suggests installing symfony/dependency-injection () symfony/event-dispatcher suggests installing symfony/http-kernel () monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an A MQP server (1.0+ required)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a M ongoDB server) monolog/monolog suggests installing graylog2/gelf-php (Allow sending log message s to a GrayLog2 server) monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver) monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log m essages to an AMQP server using php-amqplib) monolog/monolog suggests installing php-console/php-console (Allow sending log m essages to Google Chrome) monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar) monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server) monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server) symfony/translation suggests installing symfony/yaml () symfony/validator suggests installing doctrine/cache (For using the default cach ed annotation reader and metadata cache.) symfony/validator suggests installing egulias/email-validator (Strict (RFC compl iant) email validation) symfony/validator suggests installing symfony/expression-language (For using the 2.4 Expression validator) symfony/validator suggests installing symfony/http-foundation () symfony/validator suggests installing symfony/intl () symfony/validator suggests installing symfony/property-access (For using the 2.4 Validator API) symfony/validator suggests installing symfony/yaml () cilex/cilex suggests installing symfony/yaml (>=1.0.0) phpdocumentor/phpdocumentor suggests installing ext-twig (Enabling the twig exte nsion improves the generation of twig based templates.) phpdocumentor/phpdocumentor suggests installing ext-xslcache (Enabling the XSLCa che extension improves the generation of xml based templates.) Package activecollab/etcd is abandoned, you should avoid using it. No replacemen t was suggested. Package kherge/version is abandoned, you should avoid using it. No replacement w as suggested. Package herrera-io/json is abandoned, you should avoid using it. Use kherge/json instead. Package herrera-io/phar-update is abandoned, you should avoid using it. No repla cement was suggested. Writing lock file Generating autoload files D:\phpStudy\PHPTutorial\WWW\workspace\report> ~~~