Skip to content

Instantly share code, notes, and snippets.

@wowaTYPO3
Created December 9, 2022 15:02
Show Gist options
  • Save wowaTYPO3/077c7086ca67452afdaa00792efc254a to your computer and use it in GitHub Desktop.
Save wowaTYPO3/077c7086ca67452afdaa00792efc254a to your computer and use it in GitHub Desktop.
composer create-project cpsit/project-builder cpstest
Creating a "cpsit/project-builder" project at "./cpstest"
Info from https://repo.packagist.org: #StandWithUkraine
Installing cpsit/project-builder (1.0.1)
- Installing cpsit/project-builder (1.0.1): Extracting archive
Created project in /Users/wolfgang/htdocs/cpstest
Loading composer repositories with package information
Updating dependencies
Lock file operations: 109 installs, 0 updates, 0 removals
- Locking armin/editorconfig-cli (1.5.2)
- Locking cocur/slugify (v4.3.0)
- Locking composer/ca-bundle (1.3.4)
- Locking composer/class-map-generator (1.0.0)
- Locking composer/composer (2.4.4)
- Locking composer/metadata-minifier (1.0.0)
- Locking composer/pcre (3.1.0)
- Locking composer/semver (3.3.2)
- Locking composer/spdx-licenses (1.5.7)
- Locking composer/xdebug-handler (3.0.3)
- Locking cuyz/valinor (1.0.0)
- Locking doctrine/annotations (1.13.3)
- Locking doctrine/instantiator (1.4.1)
- Locking doctrine/lexer (1.2.3)
- Locking donatj/mock-webserver (v2.6.1)
- Locking ergebnis/composer-normalize (2.29.0)
- Locking ergebnis/json-normalizer (2.1.0)
- Locking ergebnis/json-printer (3.3.0)
- Locking ergebnis/json-schema-validator (2.0.0)
- Locking friendsofphp/php-cs-fixer (v3.13.0)
- Locking guzzlehttp/guzzle (7.5.0)
- Locking guzzlehttp/promises (1.5.2)
- Locking guzzlehttp/psr7 (2.4.3)
- Locking idiosyncratic/editorconfig (0.1.3)
- Locking justinrainbow/json-schema (5.2.12)
- Locking localheinz/diff (1.1.1)
- Locking myclabs/deep-copy (1.11.0)
- Locking nikic/php-parser (v4.15.2)
- Locking nyholm/psr7 (1.5.1)
- Locking opis/json-schema (2.3.0)
- Locking opis/string (2.0.1)
- Locking opis/uri (1.1.0)
- Locking phar-io/manifest (2.0.3)
- Locking phar-io/version (3.2.1)
- Locking php-http/message-factory (v1.0.2)
- Locking phpstan/extension-installer (1.2.0)
- Locking phpstan/phpstan (1.9.2)
- Locking phpstan/phpstan-phpunit (1.3.0)
- Locking phpstan/phpstan-strict-rules (1.4.4)
- Locking phpstan/phpstan-symfony (1.2.16)
- Locking phpstan/phpstan-webmozart-assert (1.2.2)
- Locking phpunit/php-code-coverage (9.2.19)
- Locking phpunit/php-file-iterator (3.0.6)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.5.27)
- Locking psr/cache (3.0.0)
- Locking psr/container (2.0.2)
- Locking psr/event-dispatcher (1.0.0)
- Locking psr/http-client (1.0.1)
- Locking psr/http-factory (1.0.1)
- Locking psr/http-message (1.0.1)
- Locking psr/log (3.0.0)
- Locking psr/simple-cache (3.0.0)
- Locking ralouphie/getallheaders (3.0.3)
- Locking react/promise (v2.9.0)
- Locking rector/rector (0.14.8)
- Locking sebastian/cli-parser (1.0.1)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.8)
- Locking sebastian/complexity (2.0.2)
- Locking sebastian/diff (4.0.4)
- Locking sebastian/environment (5.1.4)
- Locking sebastian/exporter (4.0.5)
- Locking sebastian/global-state (5.0.5)
- Locking sebastian/lines-of-code (1.0.3)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.4)
- Locking sebastian/resource-operations (3.0.3)
- Locking sebastian/type (3.2.0)
- Locking sebastian/version (3.0.2)
- Locking sebastianfeldmann/cli (3.4.1)
- Locking seld/jsonlint (1.9.0)
- Locking seld/phar-utils (1.2.1)
- Locking seld/signal-handler (2.0.1)
- Locking symfony/cache (v6.2.0)
- Locking symfony/cache-contracts (v3.2.0)
- Locking symfony/config (v6.2.0)
- Locking symfony/console (v6.2.1)
- Locking symfony/dependency-injection (v6.2.1)
- Locking symfony/deprecation-contracts (v3.2.0)
- Locking symfony/event-dispatcher (v6.2.0)
- Locking symfony/event-dispatcher-contracts (v3.2.0)
- Locking symfony/expression-language (v6.2.0)
- Locking symfony/filesystem (v6.2.0)
- Locking symfony/finder (v6.2.0)
- Locking symfony/mime (v6.2.0)
- Locking symfony/options-resolver (v6.2.0)
- Locking symfony/polyfill-ctype (v1.27.0)
- Locking symfony/polyfill-intl-grapheme (v1.27.0)
- Locking symfony/polyfill-intl-idn (v1.27.0)
- Locking symfony/polyfill-intl-normalizer (v1.27.0)
- Locking symfony/polyfill-mbstring (v1.27.0)
- Locking symfony/polyfill-php72 (v1.27.0)
- Locking symfony/polyfill-php73 (v1.27.0)
- Locking symfony/polyfill-php80 (v1.27.0)
- Locking symfony/polyfill-php81 (v1.27.0)
- Locking symfony/process (v6.2.0)
- Locking symfony/service-contracts (v3.1.1)
- Locking symfony/stopwatch (v6.2.0)
- Locking symfony/string (v6.2.0)
- Locking symfony/var-exporter (v6.2.1)
- Locking symfony/yaml (v6.2.0)
- Locking theseer/tokenizer (1.2.1)
- Locking twig/twig (v3.4.3)
- Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 109 installs, 0 updates, 0 removals
- Downloading phpunit/phpunit (9.5.27)
- Installing justinrainbow/json-schema (5.2.12): Extracting archive
- Installing localheinz/diff (1.1.1): Extracting archive
- Installing ergebnis/json-printer (3.3.0): Extracting archive
- Installing ergebnis/json-schema-validator (2.0.0): Extracting archive
- Installing ergebnis/json-normalizer (2.1.0): Extracting archive
- Installing ergebnis/composer-normalize (2.29.0): Extracting archive
- Installing phpstan/phpstan (1.9.2): Extracting archive
- Installing phpstan/extension-installer (1.2.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
- Installing symfony/polyfill-php72 (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive
- Installing symfony/mime (v6.2.0): Extracting archive
- Installing symfony/finder (v6.2.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
- Installing symfony/string (v6.2.0): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.1.1): Extracting archive
- Installing symfony/deprecation-contracts (v3.2.0): Extracting archive
- Installing symfony/console (v6.2.1): Extracting archive
- Installing idiosyncratic/editorconfig (0.1.3): Extracting archive
- Installing armin/editorconfig-cli (1.5.2): Extracting archive
- Installing cocur/slugify (v4.3.0): Extracting archive
- Installing symfony/process (v6.2.0): Extracting archive
- Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
- Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
- Installing symfony/filesystem (v6.2.0): Extracting archive
- Installing seld/signal-handler (2.0.1): Extracting archive
- Installing seld/phar-utils (1.2.1): Extracting archive
- Installing seld/jsonlint (1.9.0): Extracting archive
- Installing react/promise (v2.9.0): Extracting archive
- Installing psr/log (3.0.0): Extracting archive
- Installing composer/pcre (3.1.0): Extracting archive
- Installing composer/xdebug-handler (3.0.3): Extracting archive
- Installing composer/spdx-licenses (1.5.7): Extracting archive
- Installing composer/semver (3.3.2): Extracting archive
- Installing composer/metadata-minifier (1.0.0): Extracting archive
- Installing composer/class-map-generator (1.0.0): Extracting archive
- Installing composer/ca-bundle (1.3.4): Extracting archive
- Installing composer/composer (2.4.4): Extracting archive
- Installing psr/simple-cache (3.0.0): Extracting archive
- Installing cuyz/valinor (1.0.0): Extracting archive
- Installing doctrine/lexer (1.2.3): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing donatj/mock-webserver (v2.6.1): Extracting archive
- Installing symfony/stopwatch (v6.2.0): Extracting archive
- Installing symfony/polyfill-php81 (v1.27.0): Extracting archive
- Installing symfony/options-resolver (v6.2.0): Extracting archive
- Installing psr/event-dispatcher (1.0.0): Extracting archive
- Installing symfony/event-dispatcher-contracts (v3.2.0): Extracting archive
- Installing symfony/event-dispatcher (v6.2.0): Extracting archive
- Installing sebastian/diff (4.0.4): Extracting archive
- Installing psr/cache (3.0.0): Extracting archive
- Installing doctrine/annotations (1.13.3): Extracting archive
- Installing friendsofphp/php-cs-fixer (v3.13.0): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing psr/http-client (1.0.1): Extracting archive
- Installing psr/http-factory (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (2.4.3): Extracting archive
- Installing guzzlehttp/promises (1.5.2): Extracting archive
- Installing guzzlehttp/guzzle (7.5.0): Extracting archive
- Installing php-http/message-factory (v1.0.2): Extracting archive
- Installing nyholm/psr7 (1.5.1): Extracting archive
- Installing opis/string (2.0.1): Extracting archive
- Installing opis/uri (1.1.0): Extracting archive
- Installing opis/json-schema (2.3.0): Extracting archive
- Installing phpstan/phpstan-phpunit (1.3.0): Extracting archive
- Installing phpstan/phpstan-strict-rules (1.4.4): Extracting archive
- Installing phpstan/phpstan-symfony (1.2.16): Extracting archive
- Installing phpstan/phpstan-webmozart-assert (1.2.2): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (3.2.0): Extracting archive
- Installing sebastian/resource-operations (3.0.3): Extracting archive
- Installing sebastian/recursion-context (4.0.4): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.5): Extracting archive
- Installing sebastian/exporter (4.0.5): Extracting archive
- Installing sebastian/environment (5.1.4): Extracting archive
- Installing sebastian/comparator (4.0.8): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.1): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.6): Extracting archive
- Installing theseer/tokenizer (1.2.1): Extracting archive
- Installing nikic/php-parser (v4.15.2): Extracting archive
- Installing sebastian/lines-of-code (1.0.3): Extracting archive
- Installing sebastian/complexity (2.0.2): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.19): Extracting archive
- Installing phar-io/version (3.2.1): Extracting archive
- Installing phar-io/manifest (2.0.3): Extracting archive
- Installing myclabs/deep-copy (1.11.0): Extracting archive
- Installing doctrine/instantiator (1.4.1): Extracting archive
- Installing phpunit/phpunit (9.5.27): Extracting archive
- Installing rector/rector (0.14.8): Extracting archive
- Installing sebastianfeldmann/cli (3.4.1): Extracting archive
- Installing symfony/cache-contracts (v3.2.0): Extracting archive
- Installing symfony/config (v6.2.0): Extracting archive
- Installing symfony/var-exporter (v6.2.1): Extracting archive
- Installing symfony/dependency-injection (v6.2.1): Extracting archive
- Installing symfony/cache (v6.2.0): Extracting archive
- Installing symfony/expression-language (v6.2.0): Extracting archive
- Installing symfony/yaml (v6.2.0): Extracting archive
- Installing twig/twig (v3.4.3): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
7 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
78 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
> composer/composer: installed
> phpstan/phpstan-phpunit: installed
> phpstan/phpstan-strict-rules: installed
> phpstan/phpstan-symfony: installed
> phpstan/phpstan-webmozart-assert: installed
No security vulnerability advisories found
> CPSIT\ProjectBuilder\Bootstrap::createProject
In FilesystemHelper.php line 62:
[Error]
Call to undefined method Composer\InstalledVersions::getInstallPath()
Exception trace:
at /Users/wolfgang/htdocs/cpstest/src/Helper/FilesystemHelper.php:62
CPSIT\ProjectBuilder\Helper\FilesystemHelper::getProjectRootPath() at /Users/wolfgang/htdocs/cpstest/src/Bootstrap.php:58
CPSIT\ProjectBuilder\Bootstrap->__construct() at /Users/wolfgang/htdocs/cpstest/src/Bootstrap.php:64
CPSIT\ProjectBuilder\Bootstrap::create() at /Users/wolfgang/htdocs/cpstest/src/Bootstrap.php:84
CPSIT\ProjectBuilder\Bootstrap::createProject() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:386
Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:246
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:123
Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/Command/CreateProjectCommand.php:319
Composer\Command\CreateProjectCommand->installProject() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/Command/CreateProjectCommand.php:171
Composer\Command\CreateProjectCommand->execute() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/vendor/symfony/console/Application.php:1028
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/Console/Application.php:375
Composer\Console\Application->doRun() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/src/Composer/Console/Application.php:139
Composer\Console\Application->run() at phar:///usr/local/Cellar/composer/2.4.4/bin/composer/bin/composer:88
require() at /usr/local/Cellar/composer/2.4.4/bin/composer:29
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment