Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

darkros93's avatar

Chatify Not Installing

Hello everyone. I'm trying to install CHATIFY for Larvel but have these errors when I try to install the package. Someone knows how to fix these errors?

Thank you a lot

composer require munafio/chatify

Using version ^1.0 for munafio/chatify ./composer.json has been updated Running composer update munafio/chatify Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - Root composer.json requires pusher/pusher-php-server ^3.4, found pusher/pusher-php-server[v3.4.0, v3.4.1] but the package is fixed to v5.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 2 - munafio/chatify[v1.0.0, ..., v1.0.1] require pusher/pusher-php-server ^3.4@dev -> found pusher/pusher-php-server[v3.4.0, v3.4.1] but the package is fixed to v5.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - Root composer.json requires munafio/chatify ^1.0 -> satisfiable by munafio/chatify[v1.0.0, v1.0.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

0 likes
14 replies
sr57's avatar

Can you try :

composer self-update

1 like
darkros93's avatar

Got this:

Using version ^1.0 for munafio/chatify ./composer.json has been updated Running composer update munafio/chatify Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - munafio/chatify[v1.0.0, ..., v1.0.1] require pusher/pusher-php-server ^3.4@dev -> found pusher/pusher-php-server[v3.4.0, v3.4.1] but it conflicts with your root composer.json require (^5). - Root composer.json requires munafio/chatify ^1.0 -> satisfiable by munafio/chatify[v1.0.0, v1.0.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

darkros93's avatar

Sorry, I Have this. Don't want to go in confusion

Problem 1 - munafio/chatify[v1.0.0, ..., v1.0.1] require pusher/pusher-php-server ^3.4@dev -> found pusher/pusher-php-server[v3.4.0, v3.4.1] but it conflicts with your root composer.json require (^5.0). - Root composer.json requires munafio/chatify ^1.0 -> satisfiable by munafio/chatify[v1.0.0, v1.0.1].

sr57's avatar

Did you test with -W option as written?

sr57's avatar

composer update pusher/pusher-php-server

or may better

composer removepusher/pusher-php-server

composer require munafio/chatify

darkros93's avatar

----> when I do "composer remove pusher/pusher-php-server" I got this:

Problem 1 - munafio/chatify[v1.0.0, ..., v1.0.1] require pusher/pusher-php-server ^3.4@dev -> satisfiable by pusher/pusher-php-server[v3.4.0, v3.4.1]. - pusher/pusher-php-server v3.4.0 requires php >=5.4 <7.3 -> your php version (8.0.3) does not satisfy that requirement. - pusher/pusher-php-server v3.4.1 requires php >=5.4 <7.4 -> your php version (8.0.3) does not satisfy that requirement. - Root composer.json requires munafio/chatify ^1.0 -> satisfiable by munafio/chatify[v1.0.0, v1.0.1].

sr57's avatar

Which version of Laravel? If 8 I 'll do the test here.

sr57's avatar

I did not see :

your php version (8.0.3) does not satisfy that requirement.

and mine is your php version (7.4.3) does not satisfy that requirement

No idea, except use on a VM with old php version.

Tippin's avatar

@darkros93 Check the issues and pull request, someone else seems to have had the same issue and it is due to pusher-php version. Until the maintainer releases his next version, you would have to fork the package, update composer to allow pusher 4 (they are on 5 now), then install your forked repo into your app instead.

https://github.com/munafio/chatify/pull/74

On a side note, I would not consider it production ready code. If you take a look at the source, all messages are sent over one private channel. It is up to the client side to show a message or not, but anyone watching websocket in console can see any messages sent to anyone within your app.

https://github.com/munafio/chatify/blob/master/src/Http/Controllers/MessagesController.php#L160

KAII's avatar

First run "composer require pusher/pusher-php-server" then try again

Please or to participate in this conversation.