Skip to content

Suggest Adding Installation Note for v2 in README#510

Description

@EhsanGhafoori

Hi 馃憢

Thanks for the great package!

I noticed that trying to install version 2 using the common pattern:

composer require wire-elements/modal:^2.0
But Composer throws this error:

- Root composer.json requires wire-elements/modal 2.0, but no stable 2.0.0 version is available.
fails because there is no stable 2.0.0 tag yet. Composer expects an exact stable version, and since only pre-releases like 2.0.13 exist, it throws an error.

To avoid confusion for others, I suggest adding a note in the README like:

If you want to install v2, just run:
composer require wire-elements/modal
Or mention the need to use @beta if someone wants to stick with version constraints:
composer require wire-elements/modal:"^2.0@beta"

Thanks again for your work! 馃檶

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions