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

Feature request: enable feature for subset of users #1

Open
jbardnz opened this issue Jun 8, 2016 · 4 comments
Open

Feature request: enable feature for subset of users #1

jbardnz opened this issue Jun 8, 2016 · 4 comments

Comments

@jbardnz
Copy link

jbardnz commented Jun 8, 2016

Hey,

Great library - I have been looking for a Laravel package that does this for some time. I have a feature request but not sure if it is in the scope of this package.

It would be great to be able to roll out a feature to a certain % of users. Say 1% of users initially and then scale that up to 100% as you become more confident you haven't introduced any bugs.

Thoughts?

@jonathan-bird
Copy link
Owner

Glad you like it :) it's been on my list for a long time and I got sick of the half-baked versions out there.
This is still beta obviously but seems to work well for our project at work. I'll keep improving it as I find things.

That's an interesting feature - I'm trying to think how you'd be able to get that to work from a technical perspective. Any suggestions? Google Analytics does this via A/B testing so you might have 2 versions of the same page.

@jbardnz
Copy link
Author

jbardnz commented Jun 8, 2016

Have a look at Launch Darkly for some feature ideas: https://launchdarkly.com

From a technical point of view it would need to be able to persist the users that had the feature enabled - it wouldn't be great if the user refreshed the page and the feature switched off.

Have a look at Rollout it is a Ruby library that achieves this. Their is a inactive PHP port here.

You could probably hook into the Laravel driver system and either have file/database/cache storage options.

@jonathan-bird
Copy link
Owner

Ah gotcha! Interesting, I'll keep that one in mind. It's a pretty big feature but I may be able to get some of that information from Laravel that I'm unsure about to get things like targeting for countries, IP address, new vs old users etc.

Feel free to create a pull request with the feature if you want ;-)

@kyranb
Copy link

kyranb commented Jun 8, 2016

A percentage based rollout and manually specifying a batch of user id's would cover most use cases.

Then it can be left to implement your own new vs old logic/location/type of user.

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

No branches or pull requests

3 participants