livewire-calendar
livewire-calendar copied to clipboard
Could not install it on Laravel 9
Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires asantibanez/livewire-calendar ^2.1 -> satisfiable by asantibanez/livewire-calendar[2.1.0]. - asantibanez/livewire-calendar 2.1.0 requires illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
If I try to add "illuminate/support" to composer.json I get a conflict with laravel framework, what is the correct way to fix this?
Same issue here
Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires asantibanez/livewire-calendar ^2.1 -> satisfiable by asantibanez/livewire-calendar[2.1.0]. - asantibanez/livewire-calendar 2.1.0 requires illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Same issue here :(
Same issue. Would love to us this!
Facing the same issue, I reported this on the sample app, glad to see I'm not alone with this issue on L9.
I get the below when I do a composer require same as reported by @kaizerenrique:
Problem 1
- Root composer.json requires asantibanez/livewire-calendar ^2.1 -> satisfiable by asantibanez/livewire-calendar[2.1.0].
- asantibanez/livewire-calendar 2.1.0 requires illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
When will this package be upgraded to support L9?
If you fork the repo, then you can make the change to support 9.x yourself until it's sorted, just edit composer.json Where it reads: "illuminate/support": "^6.0|^7.0|^8.0", Replace with: "illuminate/support": "^6.0|^7.0|^8.0|^9.0",
It'll then work as expected. Currently waiting on @asantibanez to merge @Butochnikov pull request which does exactly that.
How do I install a forked repo in L9?
Rather than forking it yourself, you may as well take advantage of someone else's fixed fork.
In your composer.json add the following which will use the repository which @Butochnikov has already forked and updated to work with Laravel 9.
"repositories": [{ "type": "package", "canonical": false, "package": { "version": "master", "name": "asantibanez/livewire-calendar", "source": { "url": "https://github.com/Butochnikov/livewire-calendar.git", "type": "git", "reference": "master" } } }]
Then run composer require asantibanez/livewire-calendar:*
It'll then install for you.
Just remember to undo that and use the original when @asantibanez gets around to accepting the pull request.
It worked, thank you so much! I had been looking for quite a while trying to figure this out.
Now it says asantibanez/livewire-calendar class not found. I give up.
Same issue. I Would love to use this!
@asantibanez @naszybko @barryvdh
@abbasmashaddy72 @lrljoe this one also works:
Add in composer.json
"repositories": [ { "type": "vcs", "url": "https://github.com/Butochnikov/livewire-calendar" } ],
and then in require section:
"asantibanez/livewire-calendar": "dev-master",
and then composer install Works in php 8.0, 8.1 + Laravel 9
Thanks Installed Without any issues
Now it says asantibanez/livewire-calendar class not found. I give up.
I got this too, add the following to composer.json
:
"autoload": {
"psr-4": {
"Asantibanez\\LivewireCalendar\\": "vendor/asantibanez/livewire-calendar/src/"
}
}
You also need to add the Laravel Providers and Aliases manually to config/app.php
:
'providers' => [
//...
\Asantibanez\LivewireCalendar\LivewireCalendarServiceProvider::class,
],
'aliases' => [
//...
"LivewireCalendar" => \Asantibanez\LivewireCalendar\LivewireCalendarFacade::class,
],
same issue here
@rabol
You follow the above instruction
https://github.com/asantibanez/livewire-calendar/issues/32#issuecomment-1172882028
Is this package abandoned?
No
But Currently Not Yet Compatible with Laravel 9
You follow the below instruction You Can Install without any issues
@kurucu
https://github.com/asantibanez/livewire-calendar/issues/32#issuecomment-1172882028
I have it installed and working, but the last code to be committed was in January 2021. All that’s needed is a PR to be merged and tested, so it seems abandoned.
the described solution is just a work-around - if one do this, then one is missing out on any new updates!
Either the original author make the changes or someone has to clone and maintain
You are right @rabol
I have cloned this repository and will apply all PR's within the next 1-2 days
Hi Steen, will submit some PRs for some of the features I've added in later in the week.
Joe
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Steen Rabol @.> Sent: Wednesday, November 16, 2022 10:51:04 PM To: asantibanez/livewire-calendar @.> Cc: Joe McElwee @.>; Mention @.> Subject: Re: [asantibanez/livewire-calendar] Could not install it on Laravel 9 (Issue #32)
I have cloned this repository and will apply all PR's within the next 1-2 days
— Reply to this email directly, view it on GitHubhttps://github.com/asantibanez/livewire-calendar/issues/32#issuecomment-1317511754, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZATUOXVIWGYXUNXPUIAEW3WIUUJRANCNFSM5TADHBTQ. You are receiving this because you were mentioned.Message ID: @.***>
I have cloned this repository and will apply all PR's within the next 1-2 days
Great News
Rather than forking it yourself, you may as well take advantage of someone else's fixed fork.
In your composer.json add the following which will use the repository which @Butochnikov has already forked and updated to work with Laravel 9.
"repositories": [{ "type": "package", "canonical": false, "package": { "version": "master", "name": "asantibanez/livewire-calendar", "source": { "url": "https://github.com/Butochnikov/livewire-calendar.git", "type": "git", "reference": "master" } } }]
Then run composer require asantibanez/livewire-calendar:*
It'll then install for you.
Just remember to undo that and use the original when @asantibanez gets around to accepting the pull request.
In the terminal I had to use.
composer require asantibanez/livewire-calendar:dev-master
Works with PHP 8.2.3 Laravel 10.11.0
Rather than forking it yourself, you may as well take advantage of someone else's fixed fork. In your composer.json add the following which will use the repository which @Butochnikov has already forked and updated to work with Laravel 9.
"repositories": [{ "type": "package", "canonical": false, "package": { "version": "master", "name": "asantibanez/livewire-calendar", "source": { "url": "https://github.com/Butochnikov/livewire-calendar.git", "type": "git", "reference": "master" } } }]
Then run composer require asantibanez/livewire-calendar:* It'll then install for you. Just remember to undo that and use the original when @asantibanez gets around to accepting the pull request.In the terminal I had to use.
composer require asantibanez/livewire-calendar:dev-master
i want to laravel 10 support. who can help me please ?
i want to laravel 10 support. who can help me please ?
Run:
composer require asantibanez/livewire-calendar:dev-master
This should give you L10 support.