Skip to content

Commit

Permalink
Merge pull request #10 from Ziptastic/ziptastic-move
Browse files Browse the repository at this point in the history
Ziptastic move
  • Loading branch information
austinkregel authored Feb 8, 2017
2 parents 9dfe3eb + 4de0f9c commit c839baa
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![Build Status](https://travis-ci.org/austinkregel/ziptastic-php-guzzle.svg?branch=master)](https://travis-ci.org/austinkregel/ziptastic-php-guzzle)

# Ziptastic PHP with Guzzle

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)
Expand All @@ -13,7 +11,7 @@ Using Ziptastic requires an API key, you can get one by signing up with Ziptasti
Ziptastic PHP can be installed via composer:

````
composer require kregel/ziptastic
composer require ziptastic/guzzle
````

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

include "vendor/autoload.php";

use Kregel\Ziptastic\Zipper;
use Ziptastic\Guzzle\Zipper;

$key = 'Your Api Key from ziptastic';

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

include "vendor/autoload.php";

use Kregel\Ziptastic\Ziptastic;
use Ziptastic\Guzzle\Ziptastic;

$key = 'Your Api Key from ziptastic';

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

include "vendor/autoload.php";

use Kregel\Ziptastic\Zipper;
use Ziptastic\Guzzle\Zipper;

$key = 'Your Api Key from ziptastic';

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "kregel/ziptastic",
"name": "ziptastic/guzzle",
"description": "Guzzle based PHP SDK for the Ziptastic Lookup API",
"require": {
"php": ">=5.4"
Expand All @@ -18,7 +18,7 @@
],
"autoload": {
"psr-4": {
"Kregel\\Ziptastic\\": "src/"
"Ziptastic\\Guzzle\\": "src/"
}
}
}
2 changes: 1 addition & 1 deletion src/Guzzle/ZiptasticRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kregel\Ziptastic\Guzzle;
namespace Ziptastic\Guzzle\Guzzle;

use ArrayAccess;
use Exception;
Expand Down
4 changes: 2 additions & 2 deletions src/Zipper.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Kregel\Ziptastic;
namespace Ziptastic\Guzzle;

use Exception;
use Kregel\Ziptastic\Guzzle\ZiptasticRequest;
use Ziptastic\Guzzle\Guzzle\ZiptasticRequest;

class Zipper extends ZiptasticRequest
{
Expand Down
4 changes: 2 additions & 2 deletions src/Ziptastic.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Kregel\Ziptastic;
namespace Ziptastic\Guzzle;

use Kregel\Ziptastic\Guzzle\ZiptasticRequest;
use Ziptastic\Guzzle\Guzzle\ZiptasticRequest;

class Ziptastic extends ZiptasticRequest
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ZipperTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Kregel\Ziptastic\Zipper;
use Ziptastic\Guzzle\Zipper;

class ZipperTest extends PHPUnit_Framework_TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ZiptasticTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Kregel\Ziptastic\Ziptastic;
use Ziptastic\Guzzle\Ziptastic;

class ZiptasticTest extends PHPUnit_Framework_TestCase
{
Expand Down

0 comments on commit c839baa

Please sign in to comment.