Skip to content

Commit c839baa

Browse files
authored
Merge pull request #10 from Ziptastic/ziptastic-move
Ziptastic move
2 parents 9dfe3eb + 4de0f9c commit c839baa

File tree

7 files changed

+13
-15
lines changed

7 files changed

+13
-15
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![Build Status](https://travis-ci.org/austinkregel/ziptastic-php-guzzle.svg?branch=master)](https://travis-ci.org/austinkregel/ziptastic-php-guzzle)
2-
31
# Ziptastic PHP with Guzzle
42

53
This package was brought into existence because of [this package](https://github.com/Ziptastic/ziptastic-php), specifically because of the [first enhancement](https://github.com/Ziptastic/ziptastic-php/issues/1)
@@ -13,7 +11,7 @@ Using Ziptastic requires an API key, you can get one by signing up with Ziptasti
1311
Ziptastic PHP can be installed via composer:
1412

1513
````
16-
composer require kregel/ziptastic
14+
composer require ziptastic/guzzle
1715
````
1816

1917
## Usage
@@ -26,7 +24,7 @@ The first way to use this is by using `Zipper` which will be using a more "plain
2624

2725
include "vendor/autoload.php";
2826

29-
use Kregel\Ziptastic\Zipper;
27+
use Ziptastic\Guzzle\Zipper;
3028

3129
$key = 'Your Api Key from ziptastic';
3230

@@ -42,7 +40,7 @@ If that isn't your cup of tea or you just want to get things done, you can use `
4240

4341
include "vendor/autoload.php";
4442

45-
use Kregel\Ziptastic\Ziptastic;
43+
use Ziptastic\Guzzle\Ziptastic;
4644

4745
$key = 'Your Api Key from ziptastic';
4846

@@ -60,7 +58,7 @@ The first way to use this is by using `Zipper` which will be using a more "plain
6058

6159
include "vendor/autoload.php";
6260

63-
use Kregel\Ziptastic\Zipper;
61+
use Ziptastic\Guzzle\Zipper;
6462

6563
$key = 'Your Api Key from ziptastic';
6664

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "kregel/ziptastic",
2+
"name": "ziptastic/guzzle",
33
"description": "Guzzle based PHP SDK for the Ziptastic Lookup API",
44
"require": {
55
"php": ">=5.4"
@@ -18,7 +18,7 @@
1818
],
1919
"autoload": {
2020
"psr-4": {
21-
"Kregel\\Ziptastic\\": "src/"
21+
"Ziptastic\\Guzzle\\": "src/"
2222
}
2323
}
2424
}

src/Guzzle/ZiptasticRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Kregel\Ziptastic\Guzzle;
3+
namespace Ziptastic\Guzzle\Guzzle;
44

55
use ArrayAccess;
66
use Exception;

src/Zipper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace Kregel\Ziptastic;
3+
namespace Ziptastic\Guzzle;
44

55
use Exception;
6-
use Kregel\Ziptastic\Guzzle\ZiptasticRequest;
6+
use Ziptastic\Guzzle\Guzzle\ZiptasticRequest;
77

88
class Zipper extends ZiptasticRequest
99
{

src/Ziptastic.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Kregel\Ziptastic;
3+
namespace Ziptastic\Guzzle;
44

5-
use Kregel\Ziptastic\Guzzle\ZiptasticRequest;
5+
use Ziptastic\Guzzle\Guzzle\ZiptasticRequest;
66

77
class Ziptastic extends ZiptasticRequest
88
{

tests/ZipperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Kregel\Ziptastic\Zipper;
3+
use Ziptastic\Guzzle\Zipper;
44

55
class ZipperTest extends PHPUnit_Framework_TestCase
66
{

tests/ZiptasticTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Kregel\Ziptastic\Ziptastic;
3+
use Ziptastic\Guzzle\Ziptastic;
44

55
class ZiptasticTest extends PHPUnit_Framework_TestCase
66
{

0 commit comments

Comments
 (0)