roach-php / core

The complete web scraping toolkit for PHP.

Home Page:https://roach-php.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel 10 support?

cjaoude opened this issue · comments

composer fails to install roach-php/laravel due to package dependency issues. Installed on fresh copy of current Laravel 10.39.0

// composer require roach-php/laravel:^3.0

  Problem 1
    - roach-php/core 2.0.0 requires sebastian/version ^3.0 -> found sebastian/version[3.0.0, 3.0.1, 3.0.2] but the package is fixed to 4.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - roach-php/core 2.0.1 requires symfony/css-selector ^6.0 -> found symfony/css-selector[v6.0.0, ..., v6.4.0] but the package is fixed to v7.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - roach-php/core v3.0.0 requires symfony/css-selector ^6.3.2 -> found symfony/css-selector[v6.3.2, v6.4.0] but the package is fixed to v7.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - roach-php/laravel 3.0.0 requires roach-php/core ^2.0 || ^3.0 -> satisfiable by roach-php/core[2.0.0, 2.0.1, v3.0.0].
    - Root composer.json requires roach-php/laravel ^3.0 -> satisfiable by roach-php/laravel[3.0.0].

Closing this in favor of this issue on the laravel package repository: roach-php/laravel#22

But to sum up: You currently need to provide the -W option when installing the package due to a version conflict with some of the Symfony components.