Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install in laravel 9 and php 8 #15

Open
Sarthakj02 opened this issue Feb 3, 2023 · 7 comments
Open

unable to install in laravel 9 and php 8 #15

Sarthakj02 opened this issue Feb 3, 2023 · 7 comments

Comments

@Sarthakj02
Copy link
Contributor

i tried to install with composer but it does not find minimum stable version . can you please help i tried to install with ^1.0 but no result
image

@allamo123
Copy link
Owner

hello @Sarthakj02

please update your composer by run composer update

if you still have the same issue, don't hesitate to contact me.

@sarbjeetqodemaker
Copy link

[composer update] didn't worked

@allamo123
Copy link
Owner

[composer update] didn't worked

Please share your composer.json

@iuryLandin
Copy link

I'm facing the same problem.

  • My PHP version: 8.1.3
  • Laravel Version: 10

My composer.json:

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^8.1.0",
        "glhd/gretel": "^1.7",
        "guzzlehttp/guzzle": "^7.2",
        "inertiajs/inertia-laravel": "^0.6.9",
        "laravel/framework": "^10.1",
        "laravel/sanctum": "^3.2",
        "laravel/tinker": "^2.7",
        "laravel/ui": "^4.2",
        "owen-it/laravel-auditing": "^13.4",
        "robertboes/inertia-breadcrumbs": "*",
        "tightenco/ziggy": "^1.5"
    },
    "require-dev": {
        "barryvdh/laravel-ide-helper": "^2.13",
        "fakerphp/faker": "^1.9.1",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.0.1",
        "lucascudo/laravel-pt-br-localization": "^1.2",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^6.1",
        "phpunit/phpunit": "^9.5.10",
        "spatie/laravel-ignition": "^2.0",
        "theanik/laravel-more-command": "^1.3"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        },
        "files": [
            "app/Helpers/vite.php",
            "app/Helpers/AppHelper.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-update-cmd": [
            "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
        ],
        "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,
        "allow-plugins": {
            "pestphp/pest-plugin": true
        }
    },
    "minimum-stability": "stable",
    "prefer-stable": true
}

@GrimShadow
Copy link

In your composer.json, add "simplehtmldom/simplehtmldom": "dev-master" to the require section. Like the following:
"require": {
"php": "^8.1.0",
"glhd/gretel": "^1.7",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^0.6.9",
"laravel/framework": "^10.1",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.7",
"laravel/ui": "^4.2",
"owen-it/laravel-auditing": "^13.4",
"robertboes/inertia-breadcrumbs": "*",
"tightenco/ziggy": "^1.5"
"simplehtmldom/simplehtmldom": "dev-master"
},

@Maduranga-Dinesh
Copy link

Is this solved?

@thatsenam
Copy link

thatsenam commented Jul 24, 2023

unable to install Laravel 10 & php 8

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires msa/laravel-grapes * -> satisfiable by msa/laravel-grapes[v1.0.0, v1.0.1].
    - msa/laravel-grapes[v1.0.0, ..., v1.0.1] require simplehtmldom/simplehtmldom * -> found simplehtmldom/simplehtmldom[dev-master, 2.0-RC2] but it does not match your minimum-stability.

```
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants