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

How can I use this with composer as substitute for Inacho ?? #20

Open
hayden-t opened this issue Jun 30, 2023 · 3 comments
Open

How can I use this with composer as substitute for Inacho ?? #20

hayden-t opened this issue Jun 30, 2023 · 3 comments

Comments

@hayden-t
Copy link

hayden-t commented Jun 30, 2023

Ive been trying how to use git repositories setting but its not working,
i add this

  "repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/freelancehunt/php-credit-card-validator.git"
        
    }
]

and i do see your package available to composer, but require inacho/php-credit-card-validator dev-3.0.0 or some other way to get it to load your lib instead doesnt work...

@hayden-t
Copy link
Author

I worked out the problem was you renaming your package name in composer.json so to composer im guessing it doesnt appear as a fork anymore, despite being so in github....
Maybe you could have a branch that maintains the original name, other wise i just used this https://github.com/jeebon/php-credit-card-validator

@TheMY3
Copy link
Member

TheMY3 commented Jul 1, 2023

@hayden-t I do not undersand your problem. We do not require original repo, only phpunit
https://packagist.org/packages/freelancehunt/php-credit-card-validator
image

@hayden-t
Copy link
Author

hayden-t commented Jul 1, 2023

Sorry, I wanted to use your fork instead of original inacho for another package that requires inacho

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

No branches or pull requests

2 participants