codestudiohq / laravel-totem

Manage Your Laravel Schedule From A Web Dashboard
MIT License
1.79k stars 224 forks source link

composer install problem #383

Open itcbilisim opened 7 months ago

itcbilisim commented 7 months ago

@jonnott When installed with the composer command, it installs studo/laravel-totem 0.3.0 version. It needs to install the latest version. It would be nice if you could get a hold of this too. I share the output of the command below.

composer require studio/laravel-totem

image

composer require studio/laravel-totem ./composer.json has been updated Running composer update studio/laravel-totem Loading composer repositories with package information Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals

jonnott commented 7 months ago

@itcbilisim Try ..

composer -W require studio/laravel-totem "^11.0"

The -W will allow it to downgrade carbonphp/carbon-doctrine-types to 2.x rather than 3.x, which will allow laravel-totem 11.x to install in your Laravel 11 project.

shivam8sg commented 2 months ago

@jonnott running above command suggest to downgrade dbal ^3.0

image

Anything you can suggest?

jonnott commented 2 months ago

@jonnott running above command suggest to downgrade dbal ^3.0 Anything you can suggest?

What do you need doctrine/dbal for? Laravel itself no longer needs it as of 11.x

shivam8sg commented 2 months ago

@jonnott Thanks for suggestion. I am sort of novice in Laravel so just read the difference online and thought to trade cautiously.