When i run composer update with the json file below I get this error
Problem 1
- Conclusion: remove symfony/symfony v2.3.42
- Conclusion: don't install symfony/symfony v2.3.42
- Conclusion: don't install symfony/symfony v2.3.41
- Conclusion: don't install symfony/symfony v2.3.2
- Conclusion: don't install symfony/symfony v2.3.1
- doctrine/doctrine-fixtures-bundle dev-master requires symfony/doctrine-bridge ~2.7|~3.0|~4.0 -> satisfiable by symfony/doctrine-bridge[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9].
- don't install symfony/doctrine-bridge v2.7.0|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.1|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.10|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.11|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.12|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.13|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.14|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.15|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.16|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.17|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.18|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.19|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.2|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.20|don't install symfony/symfony v2.3.0
- don't install symfony/doctrine-bridge v2.7.21|don't install symfony/symfony v2.3.0
- symfony/doctrine-bridge v3.3.0 conflicts with symfony/symfony[v2.3.0].
- symfony/doctrine-bridge v3.3.1 conflicts with symfony/symfony[v2.3.0].
- Installation request for symfony/symfony 2.3.* -> satisfiable by symfony/symfony[v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9].
- Installation request for doctrine/doctrine-fixtures-bundle dev-master -> satisfiable by doctrine/doctrine-fixtures-bundle[dev-master].
composer.json
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
"jms/translation-bundle": "1.2.2",
"jms/di-extra-bundle": "1.5.*#dev",
"doctrine/doctrine-fixtures-bundle": "dev-master",
},
"config": {
"bin-dir": "bin"
},
"minimum-stability": "stable",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
}
}
}
Try to change:
"symfony/symfony": "2.3.*",
to:
"symfony/symfony": "^2.3",
This will allow to install newer versions than 2.3 (actually 2.3 >=), but will be compatible with rest of dependencies.
Related
I try to upgrade my laravel 8 as I read here
https://laravel.com/docs/9.x/upgrade
But after I applyid some changes in composer.json I got error :
$ composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/support[v5.8.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
- Root composer.json requires artesaos/seotools ^0.20.2 -> satisfiable by artesaos/seotools[v0.20.2].
- Conclusion: don't install laravel/framework v9.0.0-beta.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.4 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.5 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.1 (conflict analysis result)
- artesaos/seotools v0.20.2 requires illuminate/support 5.8.* || ^6.0 || ^7.0 || ^8.0 -> satisfiable by illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev].
- Only one of these can be installed: illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^v9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Now composer.json has :
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.1",
"artesaos/seotools": "^0.20.2",
"barryvdh/laravel-dompdf": "^1.0.0",
"cviebrock/eloquent-sluggable": "^9.0.0",
"dompdf/dompdf": "1.0.0",
"fruitcake/laravel-cors": "^2.0.4",
"guzzlehttp/guzzle": "^7.4.0",
"intervention/image": "^2.7",
"jenssegers/agent": "^2.6",
"laravel/framework": "^v9.0",
"laravel/jetstream": "^2.4.4",
"laravel/sanctum": "^2.12.1",
"laravel/telescope": "^4.6.6",
"laravel/tinker": "^2.6.2",
"livewire/livewire": "^2.7.2",
"maatwebsite/excel": "^3.1.33",
"mews/purifier": "^3.3.6",
"spatie/laravel-medialibrary": "^9.0.0",
"spatie/laravel-permission": "^5.3.1",
"te7a-houdini/laravel-trix": "^2.0.5",
"wboyz/laravel-enum": "^0.2.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6.4",
"spatie/laravel-ignition": "^1.0",
"fakerphp/faker": "^1.16",
"laravel/sail": "^1.12.3",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.10"
},
"autoload": {
"files": [
"app/Library/helper.php"
],
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover --ansi",
"#php artisan vendor:publish --force --tag=livewire:assets --ansi"
],
"post-update-cmd": [
"#php artisan vendor:publish --tag=laravel-assets --ansi"
],
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
and I do not see any illuminate* packages referenced in it...
How that can be fixed ?
Thanks!
Laravel 9 requires PHP 8.
Delete the ^7.3| in composer.json at the line PHPThe correct syntax is: "php": "^8.0"
Delete the v in composer.json at the line laravel/framework, The correct syntax is: "laravel/framework": "^9.0",
And check the package's artesaos/seotools compatibility with the Laravel 9
I wanted to install a new package in a Laravel 7 application. I have tried direct composer require command and tried manually entering package name and updating composer command but both times it returns error as follows.
while using command 'composer require simplesoftwareio/simple-qrcode'
Problem 1
- chumper/zipper v1.0.0 requires illuminate/support 5.x -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- chumper/zipper[v1.0.1, ..., v1.0.3] require illuminate/support ^5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires chumper/zipper ^1.0 -> satisfiable by chumper/zipper[v1.0.0, v1.0.1, v1.0.2, v1.0.3].
while using command 'composer update'(with or without writing the new package details)
Problem 1
- Root composer.json requires robincsamuel/laravel-msg91 dev-master -> satisfiable by robincsamuel/laravel-msg91[dev-master].
- robincsamuel/laravel-msg91 dev-master requires guzzlehttp/guzzle ^7.0.1 -> found guzzlehttp/guzzle[dev-master, 7.0.1, ..., 7.2.0] but it conflicts with your root composer.json require (~6.0)
Problem 2
- Conclusion: don't install chumper/zipper v1.0.1 (conflict analysis result)
- Conclusion: don't install chumper/zipper v1.0.2 (conflict analysis result)
- Conclusion: don't install chumper/zipper v1.0.3 (conflict analysis result)
- Root composer.json requires chumper/zipper ^1.0 -> satisfiable by chumper/zipper[v1.0.0, v1.0.1, v1.0.2, v1.0.3].
- Conclusion: don't install laravel/framework v7.0.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.0.2 (conflict analysis result)
.........
- Conclusion: don't install laravel/framework v7.30.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.30.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.30.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.0.0 (conflict analysis result)
- chumper/zipper v1.0.0 requires illuminate/support 5.x -> satisfiable by illuminate/support[v5.0.0, ..., 5.8.x-dev].
- Only one of these can be installed: illuminate/support[dev-master, v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev], laravel/framework[v7.0.0, ..., 7.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^7.0 -> satisfiable by laravel/framework[v7.0.0, ..., 7.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
my composer.json file is as followed:
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.4.5",
"africastalking/africastalking": "^2.3",
"anhskohbo/no-captcha": "^3.2",
"barryvdh/laravel-dompdf": "^0.8.6",
"bigbharatjain/laravel-clickatell": "^1.0",
"brian2694/laravel-toastr": "^5.53",
"simplesoftwareio/simple-qrcode": "^4.1",
"chumper/zipper": "^1.0",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"fzaninotto/faker": "^1.9",
"guzzlehttp/guzzle": "~6.0",
"intervention/image": "^2.5",
"jenssegers/agent": "^2.6",
"laravel/framework": "^7.0",
"laravel/passport": "^9.3.2",
"laravel/tinker": "^2.0",
"laravelcollective/html": "^6.1",
"maatwebsite/excel": "^3.1",
"macsidigital/laravel-api-client": "^3.0",
"macsidigital/laravel-zoom": "^4.0",
"macsidigital/zoom": "^0.0.5",
"nwidart/laravel-modules": "^7.1",
"paypal/rest-api-sdk-php": "^1.14",
"phpmailer/phpmailer": "^6.0",
"rahulreghunath/textlocal": "^1.0",
"renatomarinho/laravel-page-speed": "^1.8",
"robincsamuel/laravel-msg91": "dev-master",
"stripe/stripe-php": "^7.37",
"symfony/polyfill-php70": "^1.18.1",
"twilio/sdk": "^5.31",
"unicodeveloper/laravel-paystack": "^1.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.3",
"facade/ignition": "^2.0",
"laravel/ui": "~2.0",
"mockery/mockery": "^1.3.1",
"mpociot/laravel-apidoc-generator": "^4.8",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": [
"laravel/telescope"
]
}
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
},
"classmap": [
"database/seeds",
"database/factories"
],
"files": [
"app/Helpers/Helper.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover --ansi"
],
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate --ansi"
]
}
}
Please help me resolve this problem I am hard stuck here for hours with no proper solution I could find on internet.
chumper/zipper v1.0.0 requires illuminate/support 5.x is the most important part of that output: the given package is only compatibel with Laravel v5, while your composer.json contains the requirement "laravel/framework": "^7.0"
when trying to install via composer require stof/doctrine-extensions-bundle I get a bunch of messages telling me that there is no way to install the package: Your requirements could not be resolved to an installable set of packages.
Part of the output is:
Problem 1
- Conclusion: remove doctrine/cache 1.10.2
- Conclusion: don't install doctrine/cache 1.10.2
- doctrine/common 2.2.1 conflicts with doctrine/cache[1.10.2].
- doctrine/common 2.2.2 conflicts with doctrine/cache[1.10.2].
- doctrine/common 2.2.3 conflicts with doctrine/cache[1.10.2].
- doctrine/common 2.3.0 conflicts with doctrine/cache[1.10.2].
- Installation request for doctrine/cache (locked at 1.10.2) -> satisfiable by doctrine/cache[1.10.2].
- Installation request for stof/doctrine-extensions-bundle ^1.4 -> satisfiable by stof/doctrine-extensions-bundle[v1.4.0].
- Conclusion: don't install doctrine/common 3.0.2|install doctrine/common 2.2.1|install doctrine/common 2.2.2|install doctrine/common 2.2.3|install doctrine/common 2.3.0
- Conclusion: remove doctrine/common 3.0.2|install doctrine/common 2.2.1|install doctrine/common 2.2.2|install doctrine/common 2.2.3|install doctrine/common 2.3.0
- stof/doctrine-extensions-bundle v1.4.0 requires gedmo/doctrine-extensions ^2.3.4 -> satisfiable by gedmo/doctrine-extensions[v2.3.10, v2.3.11, v2.3.12, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.11, v2.4.12, v2.4.13, v2.4.14, v2.4.15, v2.4.16, v2.4.17, v2.4.18, v2.4.19, v2.4.2, v2.4.20, v2.4.21, v2.4.22, v2.4.23, v2.4.24, v2.4.25, v2.4.26, v2.4.27, v2.4.28, v2.4.29, v2.4.3, v2.4.30, v2.4.31, v2.4.32, v2.4.33, v2.4.34, v2.4.35, v2.4.36, v2.4.37, v2.4.38, v2.4.39, v2.4.4, v2.4.40, v2.4.41, v2.4.42, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9].
- gedmo/doctrine-extensions v2.3.10 requires doctrine/common ~2.4 -> satisfiable by doctrine/common[2.12.0, 2.13.0, 2.13.1, 2.13.2, 2.13.3, v2.10.0, v2.11.0, v2.4.0, v2.4.1, v2.4.2, v2.4.3, v2.5.0, v2.5.1, v2.5.2, v2.5.3, v2.6.0, v2.6.1, v2.6.2, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.8.0, v2.8.1, v2.9.0].
I have been installing, in this order:
composer require profiler --dev
composer require logger
composer require debug --dev
composer require annotations
composer require sec-checker --dev
composer require twig
composer require symfony/maker-bundle --dev
composer require doctrine
composer require form
composer require stof/doctrine-extensions-bundle
The latter is the first that threw an error
composer:json:
{
"type": "project",
"license": "proprietary",
"require": {
"php": ">=7.2.5",
"ext-ctype": "*",
"ext-iconv": "*",
"composer/package-versions-deprecated": "^1.11",
"doctrine/doctrine-bundle": "^2.1",
"doctrine/doctrine-migrations-bundle": "^3.0",
"doctrine/orm": "^2.7",
"sensio/framework-extra-bundle": "^5.6",
"symfony/console": "5.1.*",
"symfony/dotenv": "5.1.*",
"symfony/flex": "^1.9",
"symfony/form": "5.1.*",
"symfony/framework-bundle": "5.1.*",
"symfony/monolog-bundle": "^3.5",
"symfony/twig-bundle": "^5.1",
"symfony/yaml": "5.1.*",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0"
},
"require-dev": {
"sensiolabs/security-checker": "^6.0",
"symfony/debug-bundle": "^5.1",
"symfony/maker-bundle": "^1.21",
"symfony/stopwatch": "^5.1",
"symfony/var-dumper": "^5.1",
"symfony/web-profiler-bundle": "^5.1"
},
"config": {
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"paragonie/random_compat": "2.*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"security-checker security:check": "script"
},
"post-install-cmd": [
"#auto-scripts"
],
"post-update-cmd": [
"#auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "5.1.*"
}
}
}
Through that list of requirements, you've installed doctrine/common in v3. The latest stable version of gedmo/doctrine-extensions is not yet compatible with that, which you can see in some issues.
You have two options: either wait for some more days or weeks until that package is made compatible, or downgrade doctrine/common before to v2. This is possible by using
composer require doctrine/common:"^2.11" doctrine/persistence:"^1.3"
Running
composer require laravelcollective/html
as in documentation, generates this error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package laravel/framework (locked at v7.4.0, required as 6.7.0) is satisfiable by laravel/framework[v7.4.0] but these conflict with your requirements or minimum-stability.
Problem 2
- facade/ignition 2.0.2 requires illuminate/support ^7.0 -> satisfiable by laravel/framework[v7.4.0, 7.x-dev], illuminate/support[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0].
- facade/ignition 2.0.2 requires illuminate/support ^7.0 -> satisfiable by laravel/framework[v7.4.0, 7.x-dev], illuminate/support[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0].
- facade/ignition 2.0.2 requires illuminate/support ^7.0 -> satisfiable by laravel/framework[v7.4.0, 7.x-dev], illuminate/support[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0].
- Can only install one of: laravel/framework[v6.7.0, 7.x-dev].
- Can only install one of: laravel/framework[v6.7.0, v7.4.0].
- don't install illuminate/support 7.x-dev|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.0|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.1|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.2|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.3|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.4|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.5|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.6|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.7|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.0.8|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.1.0|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.1.1|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.1.2|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.1.3|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.2.0|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.2.1|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.2.2|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.3.0|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.4.0|don't install laravel/framework v6.7.0
- don't install illuminate/support v7.5.0|don't install laravel/framework v6.7.0
- Installation request for laravel/framework 6.7.0 -> satisfiable by laravel/framework[v6.7.0].
- Installation request for facade/ignition (locked at 2.0.2) -> satisfiable by facade/ignition[2.0.2].
Does it mean this package no longer works with Laravel?
What does this dump mean?
Is there a workaround?
Is there another package or should I just write HTML forms manually?
Here is my composer.json:
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.2.5",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"graham-campbell/markdown": "^12.0",
"guzzlehttp/guzzle": "^6.3",
"laravel/framework": "6.7.0",
"laravel/helpers": "^1.2",
"laravel/tinker": "^2.0",
"laravel/ui": "^2.0"
},
"require-dev": {
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover --ansi"
],
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate --ansi"
]
}
}
Add this line of code to your composer.json require {"laravelcollective/html": "^6.2",}
i.e for version 7 of laravel and run
composer install or composer update.
You should be good to go.
I am getting this error while i run composer install
here's composer.json
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"laravel/framework": "4.3.*",
"illuminate/html": "4.3.*#dev",
"laracasts/flash": "#dev"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"autoload": {
"classmap": [
"database",
"tests/TestCase.php"
],
"psr-4": {
"App\\": "app/"
},
"files":[
"support/helpers.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
Full errors are
Problem 1
- The requested package laravel/framework 4.3.* exists as laravel/framework[4.0.x-dev, 4.1.x-dev, 4.2.x-dev, 5.0.30, 5.0.x-dev, 5.1.x-dev, 5.2.41, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, dev-master, 5.5.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.11, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.31, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0, v4.2.0-BETA1, v4.2.1, v4.2.10, v4.2.11, v4.2.12, v4.2.13, v4.2.14, v4.2.15, v4.2.16, v4.2.17, v4.2.18, v4.2.19, v4.2.2, v4.2.20, v4.2.21, v4.2.22, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9, v5.0.0, v5.0.1, v5.0.10, v5.0.11, v5.0.12, v5.0.13, v5.0.14, v5.0.15, v5.0.16, v5.0.17, v5.0.18, v5.0.19, v5.0.2, v5.0.20, v5.0.21, v5.0.22, v5.0.23, v5.0.24, v5.0.25, v5.0.26, v5.0.27, v5.0.28, v5.0.29, v5.0.3, v5.0.31, v5.0.32, v5.0.33, v5.0.34, v5.0.35, v5.0.4, v5.0.5, v5.0.6, v5.0.7, v5.0.8, v5.0.9, v5.1.0, v5.1.1, v5.1.10, v5.1.11, v5.1.12, v5.1.13, v5.1.14, v5.1.15, v5.1.16, v5.1.17, v5.1.18, v5.1.19, v5.1.2, v5.1.20, v5.1.21, v5.1.22, v5.1.23, v5.1.24, v5.1.25, v5.1.26, v5.1.27, v5.1.28, v5.1.29, v5.1.3, v5.1.30, v5.1.31, v5.1.32, v5.1.33, v5.1.34, v5.1.35, v5.1.36, v5.1.37, v5.1.38, v5.1.39, v5.1.4, v5.1.40, v5.1.41, v5.1.42, v5.1.43, v5.1.44, v5.1.45, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9, v5.2.0, v5.2.0-beta1, v5.2.1, v5.2.10, v5.2.11, v5.2.12, v5.2.13, v5.2.14, v5.2.15, v5.2.16, v5.2.17, v5.2.18, v5.2.19, v5.2.2, v5.2.20, v5.2.21, v5.2.22, v5.2.23, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.29, v5.2.3, v5.2.30, v5.2.31, v5.2.32, v5.2.33, v5.2.34, v5.2.35, v5.2.36, v5.2.37, v5.2.38, v5.2.39, v5.2.4, v5.2.40, v5.2.42, v5.2.43, v5.2.44, v5.2.45, v5.2.5, v5.2.6, v5.2.7, v5.2.8, v5.2.9, v5.3.0, v5.3.0-RC1, v5.3.1, v5.3.10, v5.3.11, v5.3.12, v5.3.13, v5.3.14, v5.3.15, v5.3.16, v5.3.17, v5.3.18, v5.3.19, v5.3.2, v5.3.20, v5.3.21, v5.3.22, v5.3.23, v5.3.24, v5.3.25, v5.3.26, v5.3.27, v5.3.28, v5.3.29, v5.3.3, v5.3.30, v5.3.4, v5.3.5, v5.3.6, v5.3.7, v5.3.8, v5.3.9, v5.4.0, v5.4.1, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7] but these are rejected by your constraint.
Problem 2
- The requested package illuminate/html 4.3.*#dev exists as illuminate/html[4.0.x-dev, 4.1.x-dev, 4.2.x-dev, dev-master, 5.0.x-dev, v4.0.0, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0-BETA1, v4.2.1, v4.2.12, v4.2.16, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9, v5.0.0] but these are rejected by your constraint.
I need laravel 4.3 setup. 4.3 setup is not available on https://laravel.com so I just get composer.json and place it in a folder and run composer install. Please help how can I solve this problem it will be very helpful for me.
There is no any version of Laravel 4.3. The last version of Laravel 4 is 4.2.
After that we have Laravel 5.
Here is the proof of the versions:
If you want to get Laravel 5 use:
"laravel/framework": "5.<version>.*",
where:
<version> could be any version from 5.0 to 5.7
or you could use composer to create the project:
composer create-project --prefer-dist laravel/laravel blog "5.3.*"
Or if you want to use Laravel 4.2:
composer create-project laravel/laravel {directory} 4.2 --prefer-dist
Or Change your composer.json to 4.2.*