sulu / SuluCommunityBundle

Community features like Login, Registration, Password forget/reset for your sulu application.
MIT License
28 stars 38 forks source link

How to install with Sulu 2 #136

Open Dekminoz opened 3 years ago

Dekminoz commented 3 years ago
Q A
Bug? yes
New Feature? no
Community Bundle Version latest
Sulu Version 2.2

Actual Behavior

Cannot install the bundle on Sulu 2.2, composer say:

sulu/community-bundle[1.1.0, ..., 1.1.1] require sulu/sulu ^1.3 -> found sulu/sulu[1.3.0, ..., 1.6.37] but it conflicts with your root composer.json require (^2.2.0)

Expected Behavior

To be able to successfully install community-bundle.

Steps to Reproduce

Just start a new sulu project in the latest version and try to install the community-bundle

Possible Solutions

I think there is a problem with your release , the latest release is the 1.1.1 (2019) and this specific version specified sulu in 1.3 version. I'm not a composer expert but composer try to fetch the latest release i guess because in the latest commit your composer.json file does not specified sulu in 1.3 version.

Thank you for reading me and thanks for your work.

Dekminoz commented 3 years ago

I i've install the bundle with this command :

composer require --dev sulu/community-bundle:dev-develop --no-scripts

niklasnatter commented 3 years ago

Hey, unfortunately there is no official release of this bundle that supports Sulu 2.0 yet. But the develop branch of the repository should be compatible and can be installed with composer require sulu/community-bundle:dev-develop --with-all-dependencies.

alexander-schranz commented 2 years ago

As we renamed the branches it is now:

composer require sulu/community-bundle:^2.0@dev

if anybody have problems try first:

composer require sulu/community-bundle:^2.0@dev --no-update
composer update
adares2 commented 1 year ago

I think the community bundle does not support Symfony 6 yet? Are am right? When does it work?

alexander-schranz commented 1 year ago

Not yet there is a open pull request here https://github.com/sulu/SuluCommunityBundle/pull/162