repman-io / repman

Repman - PHP Repository Manager: packagist proxy and host for private packages
https://repman.io
MIT License
517 stars 106 forks source link

How to restict package by customer? #633

Open sunilit42 opened 1 year ago

sunilit42 commented 1 year ago

Hello,

we are selling modules from our website

now we are trying to support the install module using the composer

I have a question about that : customer x buy package y, so i want to give access only y package for customer X

i don't want to give another package access

I checked your api document but i did not find any API for same, can you please help us on that?

sunilit42 commented 1 year ago

Any idea on that @akondas

hugodeaguiar commented 1 year ago

Hello @sunilit42! Did you found any alternative? I have the same necessity.

sunilit42 commented 1 year ago

we have three solution @hugodeaguiar

1) https://github.com/vtsykun/packeton 2) https://anystack.sh/ (paid one) 3) https://packagist.com/

Bashev commented 1 year ago

I'm using packeton from years, but i'm nicely suprised from @repman. If you are start support restrictions by version and package will be very useful feature.

xvilo commented 1 year ago

@Bashev how would you see this functionality working?

Bashev commented 1 year ago

Something like that

For every user describing which package can be accessed by user (token), also which version

image

vikee-R commented 5 months ago

Something like that

For every user describing which package can be accessed by user (token), also which version

image

We also check with the repman.io. It is excellent but still missing the feature that restricts the package downloads by the customer tokens. It would be constructive if you plan to integrate this feature in future updates. I would be glad to hear from you @xvilo

hugodeaguiar commented 5 months ago

I was forced to migrate to Packeton. There are more advanced features working.