dimanche 14 mars 2021

How to run laravel 6 on xampp 8.0.0

i wanted to run laravel 6.0 on xampp 8.0.0 i have updated all requirments of xampp 8.0, when i am running

composer update

but its showing error

Problem 1 - Root composer.json requires gabrielbull/ups-api ^0.8.0 -> satisfiable by gabrielbull/ups-api[0.8.0]. - gabrielbull/ups-api 0.8.0 requires php ^5.5 || ^7.0 -> your php version (8.0.0) does not satisfy that requirement. Problem 2 - Root composer.json requires kingflamez/laravelrave ^2.0 -> satisfiable by kingflamez/laravelrave[2.0.0]. - kingflamez/laravelrave 2.0.0 requires php ^5.6.0|^7.2 -> your php version (8.0.0) does not satisfy that requirement. Problem 3 - Root composer.json requires mehedi-iitdu/core-component-repository dev-master -> satisfiable by mehedi-iitdu/core-component-repository[dev-master]. - mehedi-iitdu/core-component-repository dev-master requires php ^7.1 -> your php version (8.0.0) does not satisfy that requirement. Problem 4 - Root composer.json requires mehedi-iitdu/laravel-paystack dev-master -> satisfiable by mehedi-iitdu/laravel-paystack[dev-master]. - mehedi-iitdu/laravel-paystack dev-master requires php ^7.0 -> your php version (8.0.0) does not satisfy that requirement. Problem 5 - Root composer.json requires mehedi-iitdu/paypal dev-master -> satisfiable by mehedi-iitdu/paypal[dev-master]. - mehedi-iitdu/paypal dev-master requires php ^5.4.0|^7.0 -> your php version (8.0.0) does not satisfy that requirement. Problem 6 - laravel/socialite[v4.3.0, ..., v4.4.1] require php ^7.1.3 -> your php version (8.0.0) does not satisfy that requirement. - Root composer.json requires laravel/socialite ^4.3 -> satisfiable by laravel/socialite[v4.3.0, ..., v4.4.1]. here is my composer.json file

{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
    "php": "^7.2|^8.0.0",
    "anandsiddharth/laravel-paytm-wallet": "^1.0",
    "barryvdh/laravel-dompdf": "^0.8.2",
    "cinetpay/cinetpay-php": "^1.9",
    "fideloper/proxy": "^4.0",
    "gabrielbull/ups-api": "^0.8.0",
    "guzzlehttp/guzzle": "^6.5",
    "instamojo/instamojo-php": "^0.4.0",
    "kingflamez/laravelrave": "^2.0",
    "laracasts/flash": "^3.0",
    "laravel/framework": "6.*",
    "laravel/passport": "^7.3",
    "laravel/socialite": "^4.3",
    "laravel/tinker": "^1.0",
    "league/flysystem-aws-s3-v3": "^1.0",
    "maatwebsite/excel": "^3.1",
    "mehedi-iitdu/core-component-repository": "dev-master",
    "mehedi-iitdu/laravel-paystack": "dev-master",
    "mehedi-iitdu/paypal": "dev-master",
    "nexmo/laravel": "^2.2",
    "razorpay/razorpay": "2.0.0",
    "safaricom/mpesa": "^1.0",
    "spatie/db-dumper": "dev-master",
    "spatie/laravel-image-optimizer": "^1.3",
    "stripe/stripe-php": "^6.29",
    "twilio/sdk": "^6.1"
},
"require-dev": {
    "barryvdh/laravel-debugbar": "^3.4",
    "beyondcode/laravel-dump-server": "^1.0",
    "filp/whoops": "^2.0",
    "fzaninotto/faker": "^1.9.1",
    "mockery/mockery": "^1.0",
    "nunomaduro/collision": "^3.0",
    "phpunit/phpunit": "^8.0"
},
"autoload": {
    "classmap": [
        "database/seeds",
        "database/factories"
    ],
    "psr-4": {
        "App\\": "app/"
    },
    "files": ["app/Http/Helpers.php"]
},
"autoload-dev": {
    "psr-4": {
        "Tests\\": "tests/"
    }
},
"extra": {
    "laravel": {
        "dont-discover": [
        ]
    }
},
"scripts": {
    "post-root-package-install": [
        "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
        "@php artisan key:generate --ansi"
    ],
    "post-autoload-dump": [
        "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
        "@php artisan package:discover --ansi"
    ]
},
"config": {
    "preferred-install": "dist",
    "sort-packages": true,
    "optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true

}

**i wanted to know how to update all requirments of xampp 8.0.0 and run successfully without any errors please please help me i can not found any soltions **



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire