Skip to content

Suggest Adding Installation Note for v2 in README #510

@EhsanGhafoori

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! 🙌

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