Crinsane / LaravelShoppingcart

A simple shopping cart implementation for Laravel
MIT License
3.66k stars 1.72k forks source link

Incompatible with Laravel 10 #673

Open tomatoTom opened 1 year ago

tomatoTom commented 1 year ago

PHP 8.2, Laravel 10.0

Tried to install it with composer: composer require gloudemans/shoppingcart

Response:

 - gloudemans/shoppingcart[dev-master, 2.6.0] require illuminate/support 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires gloudemans/shoppingcart * -> satisfiable by gloudemans/shoppingcart[dev-master, dev-dev-laravel55, 1.0, ..., 1.3, 2.0.0, ..., 2.6.0, 9999999-dev].
MichaelBelgium commented 1 year ago

I updated my fork for laravel 10 Currently in a test phase because of big changes

tomatoTom commented 1 year ago

Thank you @MichaelBelgium ! :)

arif98741 commented 1 year ago

PHP 8.2, Laravel 10.0

Tried to install it with composer: composer require gloudemans/shoppingcart

Response:

 - gloudemans/shoppingcart[dev-master, 2.6.0] require illuminate/support 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires gloudemans/shoppingcart * -> satisfiable by gloudemans/shoppingcart[dev-master, dev-dev-laravel55, 1.0, ..., 1.3, 2.0.0, ..., 2.6.0, 9999999-dev].

I added support for laravel 8, 9 and 10 in my own fork repository. here is the link to see

timojokinen commented 8 months ago

PHP 8.2, Laravel 10.0 Tried to install it with composer: composer require gloudemans/shoppingcart Response:

 - gloudemans/shoppingcart[dev-master, 2.6.0] require illuminate/support 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires gloudemans/shoppingcart * -> satisfiable by gloudemans/shoppingcart[dev-master, dev-dev-laravel55, 1.0, ..., 1.3, 2.0.0, ..., 2.6.0, 9999999-dev].

I added support for laravel 8, 9 and 10 in my own fork repository. here is the link to see

are you using this in production somewhere? Does it work reliably? I need to upgrade an old project using this library and would appreciate your insights.

arif98741 commented 8 months ago

PHP 8.2, Laravel 10.0 Tried to install it with composer: composer require gloudemans/shoppingcart Response:

 - gloudemans/shoppingcart[dev-master, 2.6.0] require illuminate/support 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires gloudemans/shoppingcart * -> satisfiable by gloudemans/shoppingcart[dev-master, dev-dev-laravel55, 1.0, ..., 1.3, 2.0.0, ..., 2.6.0, 9999999-dev].

I added support for laravel 8, 9 and 10 in my own fork repository. here is the link to see

are you using this in production somewhere? Does it work reliably? I need to upgrade an old project using this library and would appreciate your insights.

you should use another updated package