Skip to content

Add support for PHP 8.x and new Laravel version #546

@Neeraj1005

Description

@Neeraj1005

I'm using laravel project with php 8.x version and while installing this package it throw php version errors.

λ composer require pragmarx/tracker
Using version ^4.0 for pragmarx/tracker
./composer.json has been updated
Running composer update pragmarx/tracker
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - pragmarx/tracker v4.0.x-dev requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
    - pragmarx/tracker v4.0.0 requires laravel/framework ~5|~6|~7 -> found laravel/framework[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.75).
    - pragmarx/tracker v4.0.1 requires psr/log ~1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 2.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.
    - Root composer.json requires pragmarx/tracker ^4.0 -> satisfiable by pragmarx/tracker[v4.0.0, v4.0.1, v4.0.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require pragmarx/tracker:*" to figure out if any version is installable, or "composer require pragmarx/tracker:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions