bavix / laravel-wallet

It's easy to work with a virtual wallet
https://bavix.github.io/laravel-wallet/
MIT License
1.14k stars 230 forks source link

package not installed with laravel 10.37 #816

Closed bdj-Razik closed 10 months ago

bdj-Razik commented 10 months ago

Problem 1

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

rez1dent3 commented 10 months ago

Hello.

Everything works fine.

Job: https://github.com/bavix/laravel-wallet/actions/runs/7200506864/job/19614622581

  - Locking laravel/framework (v10.37.2)

You have a conflict due to the carbonphp library. Update it.

- carbonphp/carbon-doctrine-types 3.1.0 conflicts with doctrine/dbal 3.7.2.
rez1dent3 commented 10 months ago

According to this post:

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

It will be very difficult for you to upgrade.

Docs: https://bavix.github.io/laravel-wallet/#/upgrade-guide

It seems to me that it would be faster and easier to raise new tables nearby and write a command to migrate old data to a new structure. But that's what I would do.

bdj-Razik commented 10 months ago

Thank you for your answer A problem has been solved By installing carbon php/carbon-doctrine-types:^2.1.0 then with reinstall doctrine/dbal matching him

rez1dent3 commented 10 months ago

You're welcome!