15

What are the good A/B Testing frameworks for PHP, and why?

NOTE: I do NOT want a huge/generic framework that also has a/b testing support - I want a small framework specific to AB testing. Hence, not a duplicate question.

philfreo
  • 41,941
  • 26
  • 128
  • 141
  • refer to this already answered question http://stackoverflow.com/questions/3445167/any-php-framework-with-builtin-a-b-testing-support – Lawrence Cherone Mar 18 '11 at 01:27
  • this is a different question. it's asking about general/large PHP Frameworks with a/b testing support -- I'm asking about a small framework specific-to a/b tests – philfreo Mar 18 '11 at 01:48

2 Answers2

3

I would try the phpabtest framework. It's small, compact, easy to use.

RDL
  • 7,865
  • 3
  • 29
  • 32
  • Looks nice, but I don't like how it relies on output buffering to parse it's special template tags. Seems like if you rely on output buffering for other stuff it might interfere. Also it seems like it only lets you track results via Google Analytics rather than a database? – philfreo Mar 18 '11 at 17:57
  • @philfreo, are you looking to test entirely different pages/views? Another option is to use something like codeigniter as a frame work and add some basic logic to alternate views and track conversions through it. It might be a little heavier than your looking for though. – RDL Mar 18 '11 at 18:06
  • Nope -- just parts within a page. But actually I see that there's an alternative way to use this framework without the `{phpab}` template tags: http://phpabtest.com/documentation#php-variations – philfreo Mar 18 '11 at 18:08
  • @philfreo, that is actually where I was going to point you next depending on your response to my last comment ;) Good luck! – RDL Mar 18 '11 at 18:11
  • Another problem is the license: `phpA/B requires paid license fee for commercial use. Contact bcrayzie@gmail.com for commercial license requests`. Looks like I may be writing my own :) – philfreo Mar 18 '11 at 20:40
  • 2
    @philfreo - looks like the license has changed: `phpA/B is licensed under a GNU General Public License, version 2` – timborden Jun 21 '12 at 21:35
2

You should check out PHP-redis-A-B-Testing , which uses Redis for great performance and doesn't have the commercial license limitations of phpabtest or the limits caused by its tie-ins to google analytics.

Adrian Scott
  • 129
  • 6