Skip to content

Commit

Permalink
Release under new namespace, and update dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineOmega committed Sep 6, 2018
1 parent 922bd42 commit bfa9912
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor/
composer.lock
composer.lock
.idea
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# PHP Bucket Testing

[![Build Status](https://travis-ci.org/rapidwebltd/php-bucket-testing.svg?branch=master)](https://travis-ci.org/rapidwebltd/php-bucket-testing)
[![Coverage Status](https://coveralls.io/repos/github/rapidwebltd/php-bucket-testing/badge.svg?branch=master)](https://coveralls.io/github/rapidwebltd/php-bucket-testing?branch=master)
[![StyleCI](https://styleci.io/repos/85688416/shield?branch=master)](https://styleci.io/repos/85688416)
[![Build Status](https://travis-ci.org/divineomega/php-bucket-testing.svg?branch=master)](https://travis-ci.org/divineomega/php-bucket-testing)
[![Coverage Status](https://coveralls.io/repos/github/divineomega/php-bucket-testing/badge.svg?branch=master)](https://coveralls.io/github/divineomega/php-bucket-testing?branch=master)

This library enables developers to easily redirect users to different URLs, for the purpose
of bucket testing. Bucket testing is also known as A/B testing or split testing.
Expand All @@ -21,16 +20,16 @@ form of conversion.
## Installation
To install, just run the following composer command.

`composer require rapidwebltd/php-bucket-testing`
`composer require divineomega/php-bucket-testing`

Remember to include the `vendor/autoload.php` file if your framework does not already do so.

## Usage

```php

use \RapidWeb\BucketTesting\BucketManager;
use \RapidWeb\BucketTesting\Bucket;
use \DivineOmega\BucketTesting\BucketManager;
use \DivineOmega\BucketTesting\Bucket;

// Create a new bucket manager
$bucketManager = new BucketManager;
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "rapidwebltd/php-bucket-testing",
"name": "divineomega/php-bucket-testing",
"description": "This library enables developers to easily redirect users to different URLs, for the purpose of bucket testing. Bucket testing is also known as A/B testing or split testing. This type of testing is used to test two or more versions of a webpage to determine which one performs better based on specfied key metrics, such as clicks, downloads, purchases or any other form of conversion.",
"license": "LGPL-3.0-only",
"keywords": [
Expand All @@ -16,11 +16,11 @@
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"satooshi/php-coveralls": "^2.0"
"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
"psr-4": {
"RapidWeb\\BucketTesting\\": "./src/"
"DivineOmega\\BucketTesting\\": "./src/"
}
}
}
2 changes: 1 addition & 1 deletion src/Bucket.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RapidWeb\BucketTesting;
namespace DivineOmega\BucketTesting;

class Bucket
{
Expand Down
2 changes: 1 addition & 1 deletion src/BucketManager.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RapidWeb\BucketTesting;
namespace DivineOmega\BucketTesting;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/WeightedBucket.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RapidWeb\BucketTesting;
namespace DivineOmega\BucketTesting;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/WeightedBucketSelector.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RapidWeb\BucketTesting;
namespace DivineOmega\BucketTesting;

use Exception;

Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/WeightsTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use PHPUnit\Framework\TestCase;
use RapidWeb\BucketTesting\Bucket;
use RapidWeb\BucketTesting\BucketManager;
use DivineOmega\BucketTesting\Bucket;
use DivineOmega\BucketTesting\BucketManager;

final class WeightsTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/ExceptionsTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

use PHPUnit\Framework\TestCase;
use RapidWeb\BucketTesting\Bucket;
use RapidWeb\BucketTesting\BucketManager;
use RapidWeb\BucketTesting\WeightedBucket;
use DivineOmega\BucketTesting\Bucket;
use DivineOmega\BucketTesting\BucketManager;
use DivineOmega\BucketTesting\WeightedBucket;

final class ExceptionsTest extends TestCase
{
Expand Down

0 comments on commit bfa9912

Please sign in to comment.