umutphp / laravel-model-recommendation

This package generates recommendation list for elequent models. It provides a simple API to work with to generate and list recommendations for a model.
MIT License
56 stars 7 forks source link

Add Laravel 9.x Support #13

Closed Xoshbin closed 1 year ago

jjjrmy commented 1 year ago

what about Laravel 10?

umutphp commented 1 year ago

@jjjrmy

I did not try it yet but I think the package should also work with Laravel 10.

Can you please share the problem if not?

jjjrmy commented 1 year ago
  Problem 1
    - umutphp/laravel-model-recommendation[v0.0.1, ..., v0.1.4] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - umutphp/laravel-model-recommendation[v0.1.5, ..., v0.2.3] require illuminate/collections ^8.45 -> found illuminate/collections[v8.45.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - umutphp/laravel-model-recommendation[v0.2.4, ..., v0.2.6] require illuminate/collections ^9.0 -> found illuminate/collections[v9.0.0, ..., v9.52.10] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires umutphp/laravel-model-recommendation * -> satisfiable by umutphp/laravel-model-recommendation[v0.0.1, ..., v0.2.6].

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

@jjjrmy Let me check and fix it. I will update you asap.