spatie / crawler

An easy to use, powerful crawler implemented in PHP. Can execute Javascript.
https://freek.dev/308-building-a-crawler-in-php
MIT License
2.51k stars 357 forks source link

Error install with laravel 6.x #366

Closed caocanhlinh closed 3 years ago

caocanhlinh commented 3 years ago

Hi, I am currently having problems with the installation for version 5 and 6.

v6

 Problem 1
    - spatie/crawler[6.0.0, ..., v6.x-dev] require illuminate/collections ^8.17 -> satisfiable by illuminate/collections[v8.17.0, ..., 8.x-dev].
    - illuminate/collections[v8.17.0, ..., 8.x-dev] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires spatie/crawler ^6.0 -> satisfiable by spatie/crawler[6.0.0, 6.0.1, 6.0.2, v6.x-dev].

v5

Problem 1
    - illuminate/collections[v8.6.0, ..., 8.x-dev] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - spatie/crawler 5.0.0 requires illuminate/collections ^8.6 -> satisfiable by illuminate/collections[v8.6.0, ..., 8.x-dev].
    - Root composer.json requires spatie/crawler v5.0 -> satisfiable by spatie/crawler[5.0.0].

help me! Thanks