KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Composer.json requires koolreport/pro #3104

Open James Schlies opened this topic on on Jul 24, 2023 - 12 comments

James Schlies commented on Jul 24, 2023

While upgrading to Laravel 10 / php 8.2, we started to get the attached error messages. Please advise.

![](https://cdn.koolreport.com/assets/images/editor/c5/image64beb9f4e470c.png))

James Schlies commented on Jul 24, 2023

Seems my update token changed. After updating - I'm getting this -

James Schlies commented on Jul 24, 2023

James Schlies commented on Jul 24, 2023

I downloaded the zip file of koolreport/blade and place contents in vendor/koolreport/blade.

How composer update reports this :

David Winterburn commented on Jul 27, 2023

Thanks for letting us know. We will update our blade package requirement for it to be compatible with Laravel 10 in PHP 8.2. While waiting for our updated version you could try the following workaround:

1 . Download koolreport/blade zip and extract it somewhere outside of your project's vendor directory.

2 . Edit koolreport/blade/composer.json and change require from "jenssegers/blade":"^1.1" to "jenssegers/blade":"^1".

3 . Run composer update inside koolreport/blade.

4 . Copy the updated koolreport/blade to your project's vendor directory.

Matt Croyle commented on Mar 5

This is still an issue. When will the dependencies for the koolreport/blade package be updated to work with Laravel 10? Laravel 10 is the only supported version.

Sebastian Morales commented on Mar 7

We are going to release a new version of KoolReport Pro in the next few weeks. This issue of koolreport/blade package's compatibility with Laravel 10 would be addressed. Tks,

Zachary Auker commented on Apr 4

Is there any update on this? As stated above, Laravel 10 is the only supported version currently, and it would be nice to not have to take manual action outside the package manager to ensure compatibility with KoolReports Blade.

Sebastian Morales commented on Apr 15

We have just released KoolReport Pro 6.5.0 including an updated Blade package. Pls test it with your Laravel and let us know if there's still any issue. Tks,

Matt Croyle commented on Apr 15

On an empty composer project running PHP 8.2, the highest version of Koolreport Pro that can be installed in 6.0.6. Composer.json

Sebastian Morales commented on Apr 16

Pls update your auth.json with a newly generated token from our site, delete your composer.lock file, and try to run terminal command "composer install" again. Let us know the result. Rgds,

Matt Croyle commented on Apr 16

Following your instruction, on an empty composer project, I was able to install Koolreport Pro 6.5 and Koolreport Blade. On an empty Laravel 10 project, I was only able to install KoolReport Pro 6.3.1 and could not install any version of KoolReport Blade. In your koolreport/blade project, jenssegers/blade needs to be 2.0 or higher for Laravel 10 and you're requiring 1.0.

❯ composer require koolreport/blade
./composer.json has been updated
Running composer update koolreport/blade
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - koolreport/blade 1.0.1 requires jenssegers/blade ^1 -> satisfiable by jenssegers/blade[v1.0.0, ..., v1.4.0].
    - koolreport/blade 1.0.0 requires jenssegers/blade ^1.1 -> satisfiable by jenssegers/blade[v1.1.0, ..., v1.4.0].
    - jenssegers/blade v1.1.0 requires illuminate/view ^5.1 -> found illuminate/view[v5.1.1, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - jenssegers/blade[v1.2.0, ..., v1.2.2] require illuminate/view ^5.5 -> found illuminate/view[v5.5.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - jenssegers/blade v1.2.3 requires illuminate/view ^5.5|^6.0 -> found illuminate/view[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
    - jenssegers/blade v1.3.0 requires illuminate/view ^5.5|^6.0|^7.0 -> found illuminate/view[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
    - jenssegers/blade v1.4.0 requires illuminate/view ^5.5|^6.0|^7.0|^8.0 -> found illuminate/view[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires koolreport/blade * -> satisfiable by koolreport/blade[1.0.0, 1.0.1].

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

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Sebastian Morales commented on Apr 22

Sorry for the delay. We will soon release an updated version so that you can install the latest KoolReport Pro version with Laravel 10.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None