Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer require via packagist works wrong #271

Open
abolabo opened this issue Dec 3, 2023 · 2 comments
Open

composer require via packagist works wrong #271

abolabo opened this issue Dec 3, 2023 · 2 comments

Comments

@abolabo
Copy link

abolabo commented Dec 3, 2023

Hi.
Cannot to resolve issue a long time with our composer.json.

When i run composer install inside cloned code directory it builds vendor folder with installed classes from every directory as we expected. all fine.
If we try to install via composer require abantecart/ups-php classes from directories does not installed.
Can you suggest what is difference of this two installs?

Thank you

@abolabo
Copy link
Author

abolabo commented Jan 24, 2024

hey, anybody?

@evs-xsarus
Copy link

I would create a repository for each subfolder and require those in your main package.

NB I can install a subfolder correctly when putting it as a local_repo:

    "repositories": {
        "abantecart_ups-locator": {
            "type": "path",
            "url": "local_repos/abantecart/ups-locator",
            "options": {
                "symlink": false
            }
        }
    }
    "require": {
        "abantecart/ups-locator": "*@dev"
    },

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

No branches or pull requests

2 participants