voyager icon indicating copy to clipboard operation
voyager copied to clipboard

cannot install voyager using composer require

Open cyyeoh opened this issue 1 year ago • 1 comments

Laravel version

10.3

PHP version

8.2

Voyager version

1.6

Database

Na

Description

When I tried to install voyager using composer require tcg/voyager, it returns back to me below.

Problem 1 - Root composer.json requires tcg/voyager ^1.6 -> satisfiable by tcg/voyager[v1.6.0]. - tcg/voyager v1.6.0 requires illuminate/support ~8.0|~9.0 -> found illuminate/support[v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require tcg/voyager:*" to figure out if any version is installable, or "composer require tcg/voyager:^2.1" if you know which you need.

Steps to reproduce

Running command composer require tcg/voyager

Expected behavior

Voyager installed successfully

Screenshots

image

Additional context

No response

cyyeoh avatar Nov 01 '23 01:11 cyyeoh

I guess because as the doc says https://voyager-docs.devdojo.com/getting-started/prerequisites it's only compatible with Laravel 8 Laravel 9

graphicom avatar Nov 04 '23 17:11 graphicom