1) Я пытаюсь установить maker-bundle, и у меня есть Выполнить эту команду
2) Я использую Symfony версия 4.4.7 .
3) Но я получаю следующие ошибки :
Using version ^1.15 for symfony/maker-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replacement was suggested.
Package guzzlehttp/streams is abandoned, you should avoid using it. No replacement was suggested.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
Generating optimized autoload files
Deprecation Notice: Class Task located in C:/xampp/htdocs/SampleProject/src\WG\WGBundle\Entity\Task.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class WG\WGBundle\Form\TaskType located in C:/xampp/htdocs/SampleProject/src\WG\WGBundle\Form\Task\TaskType.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
10 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> bin/console cache:clear --quiet
'bin' is not recognized as an internal or external command,
operable program or batch file.
Script bin/console cache:clear --quiet handling the symfony-scripts event returned with error code 1
Script @symfony-scripts was called via post-update-cmd
Это мой Composer. json файл .
{
"name": "wgv/SampleProject",
"description": "sampleproject.com",
"autoload": {
"psr-4": { "": "src/" },
"classmap": [
"app/AppKernel.php",
"app/AppCache.php"
]
},
"require": {
"php": ">=7.3",
"ext-ctype": "*",
"ext-gd": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-mbstring": "*",
"symfony/symfony": "^4.4.7",
"doctrine/orm": "^2.7",
"doctrine/doctrine-bundle": "^2.0",
"twig/twig": "^3.0",
"symfony/http-client": "^4.4.7",
"symfony/swiftmailer-bundle": "^3.3",
"symfony/monolog-bundle": "^3.5.0",
"sensio/framework-extra-bundle": "^5.4",
"ruflin/elastica": "^6.1.1",
"jbafford/elastica-extra-bundle": "^0.7.1",
"jbafford/password-strength-bundle": "^1.0",
"jbafford/css-color-validator-bundle": "^1.0",
"doctrine/doctrine-migrations-bundle": "^2.1",
"doctrine/doctrine-fixtures-bundle": "^3.3",
"friendsofsymfony/elastica-bundle": "^5.1",
"friendsofsymfony/jsrouting-bundle": "^2.5",
"knplabs/knp-paginator-bundle": "^5.1",
"league/flysystem": "^1.0.55",
"league/flysystem-aws-s3-v3": "^1.0.23",
"oneup/flysystem-bundle": "^3.4",
"vich/uploader-bundle": "^1.13",
"pda/pheanstalk": "^4.0",
"egulias/email-validator": "^2",
"aws/aws-sdk-php": "^3.134",
"predis/predis": "^1.1",
"snc/redis-bundle": "^3.1",
"braintree/braintree_php" : "^5.0.0",
"twilio/sdk": "^6.2",
"google/apiclient": "^2.4"
},
"require-dev": {
"deployer/dist": "^6.7",
"deployer/recipes": "^6.2.2",
"liip/functional-test-bundle": "^4.1",
"liip/test-fixtures-bundle": "^1.6",
"phpstan/phpstan": "^0.12.11",
"phpstan/phpstan-doctrine": "^0.12.9",
"phpstan/phpstan-phpunit": "^0.12.6",
"phpstan/phpstan-symfony": "^0.12.4",
"phpunit/phpunit": "^9.0"
},
"replace": {
"paragonie/random_compat": "*",
"symfony/polyfill-apcu": "*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-intl-grapheme": "*",
"symfony/polyfill-intl-icu": "*",
"symfony/polyfill-intl-idn": "*",
"symfony/polyfill-intl-normalizer": "*",
"symfony/polyfill-mbstring": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*"
},
"conflict": {
"monolog/monolog": ">=2.0"
},
"scripts": {
"symfony-scripts": [
"bin/console cache:clear --quiet"
],
"post-install-cmd": [
"WG\\WGBundle\\Composer\\WGAppParameters::installParameters",
"@symfony-scripts"
],
"post-update-cmd": [
"@symfony-scripts"
]
},
"config": {
"optimize-autoloader": true,
"apcu-autoloader": true,
"platform": {
"php": "7.3.9"
},
"bin-dir": "bin"
},
"minimum-stability": "alpha",
"prefer-stable": true,
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "web"
}
}
Это из-за проблемы с версией? или любое столкновение версий.