Skip to content

Commit 31c469c

Browse files
committed
-Updated namespace
1 parent 831b559 commit 31c469c

11 files changed

+31
-38
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014 Phirational s.r.o.
3+
Copyright (c) 2016 SquidOi LLC
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,25 @@
11
# GeoIP2 for Laravel
22

3-
[![Latest Version](https://img.shields.io/github/release/Phirational/laravel-geoip2.svg?style=flat-square)](https://github.com/Phirational/laravel-geoip2/releases)
4-
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
5-
[![Build Status](https://img.shields.io/travis/Phirational/laravel-geoip2/master.svg?style=flat-square)](https://travis-ci.org/Phirational/laravel-geoip2)
6-
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/Phirational/laravel-geoip2.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phirational/laravel-geoip2/code-structure)
7-
[![Quality Score](https://img.shields.io/scrutinizer/g/Phirational/laravel-geoip2.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phirational/laravel-geoip2)
8-
[![Code Climate](http://img.shields.io/codeclimate/github/Phirational/laravel-geoip2.svg?style=flat-square)](https://codeclimate.com/github/Phirational/laravel-geoip2)
9-
[![Total Downloads](https://img.shields.io/packagist/dt/phirational/laravel-geoip2.svg?style=flat-square)](https://packagist.org/packages/phirational/laravel-geoip2)
10-
11-
123
## Install
134

145
Via Composer
156

167
``` bash
17-
$ composer require phirational/laravel-geoip2
8+
$ composer require acidreign/laravel-geoip2
189
```
1910

2011
``` php
2112
'providers' => array(
22-
'Phirational\LaravelGeoIP2\GeoIP2ServiceProvider',
13+
'Acidreign\LaravelGeoIP2\GeoIP2ServiceProvider',
2314
)
2415
```
2516

2617
``` php
2718
'aliases' => array(
28-
'GeoIP2' => 'Phirational\LaravelGeoIP2\GeoIP2Facade',
19+
'GeoIP2' => 'Acidreign\LaravelGeoIP2\GeoIP2Facade',
2920
)
3021
```
3122

3223
``` php
33-
$ php artisan config:publish phirational/laravel-geoip2
24+
$ php artisan config:publish acidreign/laravel-geoip2
3425
```

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "phirational/laravel-geoip2",
2+
"name": "acidreign/laravel-geoip2",
33
"description": "Laravel wrapper for MaxMind GeoIP2",
44
"keywords": [
55
"laravel",
@@ -10,13 +10,13 @@
1010
"license": "MIT",
1111
"authors": [
1212
{
13-
"name": "Marek Viger",
14-
"email": "viger@phirational.com"
13+
"name": "Dave Hennigar",
14+
"email": "dave.hennigar@gmail.com"
1515
}
1616
],
1717
"support": {
18-
"source": "https://github.com/Phirational/laravel-geoip2",
19-
"issues": "https://github.com/Phirational/laravel-geoip2/issues"
18+
"source": "https://github.com/Acidreign/laravel-geoip2",
19+
"issues": "https://github.com/Acidreign/laravel-geoip2/issues"
2020
},
2121
"require": {
2222
"php": ">=5.4.0",
@@ -32,12 +32,12 @@
3232
},
3333
"autoload": {
3434
"psr-4": {
35-
"Phirational\\LaravelGeoIP2\\": "src/"
35+
"Acidreign\\LaravelGeoIP2\\": "src/"
3636
}
3737
},
3838
"autoload-dev": {
3939
"psr-4": {
40-
"Phirational\\LaravelGeoIP2\\Test\\": "tests/"
40+
"Acidreign\\LaravelGeoIP2\\Test\\": "tests/"
4141
}
4242
},
4343
"extra": {

src/Console/UpdateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2\Console;
2+
namespace Acidreign\LaravelGeoIP2\Console;
33

44
use Illuminate\Config\Repository as Config;
55
use Illuminate\Console\Command;
6-
use Phirational\LaravelGeoIP2\GeoIP2Update;
6+
use Acidreign\LaravelGeoIP2\GeoIP2Update;
77

88
class UpdateCommand extends Command
99
{

src/GeoIP2.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2;
2+
namespace Acidreign\LaravelGeoIP2;
33

44
use GeoIp2\WebService\Client;
55
use Illuminate\Config\Repository as Config;
66
use Illuminate\Http\Request;
7-
use Phirational\LaravelGeoIP2\Provider\DatabaseProvider;
8-
use Phirational\LaravelGeoIP2\Provider\LocalhostProvider;
7+
use Acidreign\LaravelGeoIP2\Provider\DatabaseProvider;
8+
use Acidreign\LaravelGeoIP2\Provider\LocalhostProvider;
99

1010
/**
1111
* Class GeoIP2
1212
*
13-
* @package Phirational\LaravelGeoIP2
13+
* @package Acidreign\LaravelGeoIP2
1414
*
1515
* @method \GeoIp2\Model\AnonymousIp anonymousIp(string $ipAddress = null)
1616
* @method \GeoIp2\Model\City city(string $ipAddress = null)
@@ -31,7 +31,7 @@ class GeoIP2
3131
/** @var \GeoIp2\ProviderInterface */
3232
private $provider;
3333

34-
/** @var \Phirational\LaravelGeoIP2\Provider\LocalhostProvider */
34+
/** @var \Acidreign\LaravelGeoIP2\Provider\LocalhostProvider */
3535
private $localhostProvider;
3636

3737
protected $storagePath;

src/GeoIP2Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2;
2+
namespace Acidreign\LaravelGeoIP2;
33

44
class GeoIP2Exception extends \Exception
55
{

src/GeoIP2Facade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2;
2+
namespace Acidreign\LaravelGeoIP2;
33

44
use Illuminate\Support\Facades\Facade;
55

66
/**
77
* Class GeoIP2Facade
88
*
9-
* @package Phirational\LaravelGeoIP2
9+
* @package Acidreign\LaravelGeoIP2
1010
*
1111
* @method static \GeoIp2\Model\AnonymousIp anonymousIp(string $ipAddress = null)
1212
* @method static \GeoIp2\Model\City city(string $ipAddress = null)

src/GeoIP2ServiceProvider.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<?php namespace Phirational\LaravelGeoIP2;
1+
<?php
2+
3+
namespace Acidreign\LaravelGeoIP2;
24

35
use Illuminate\Support\ServiceProvider;
4-
use Phirational\LaravelGeoIP2\Console\UpdateCommand;
6+
use Acidreign\LaravelGeoIP2\Console\UpdateCommand;
57

68
class GeoIP2ServiceProvider extends ServiceProvider
79
{
@@ -19,7 +21,7 @@ class GeoIP2ServiceProvider extends ServiceProvider
1921
*/
2022
public function boot()
2123
{
22-
$this->package('phirational/laravel-geoip2', null, __DIR__);
24+
$this->package('acidreign/laravel-geoip2', null, __DIR__);
2325
}
2426

2527
/**

src/GeoIP2Update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2;
2+
namespace Acidreign\LaravelGeoIP2;
33

44
use GuzzleHttp\Client;
55
use GuzzleHttp\Exception\ClientException;

src/Provider/DatabaseProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2\Provider;
2+
namespace Acidreign\LaravelGeoIP2\Provider;
33

44
use GeoIp2\Database\Reader;
55
use GeoIp2\ProviderInterface;
6-
use Phirational\LaravelGeoIP2\GeoIP2Exception;
6+
use Acidreign\LaravelGeoIP2\GeoIP2Exception;
77

88
class DatabaseProvider implements ProviderInterface
99
{

src/Provider/LocalhostProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Phirational\LaravelGeoIP2\Provider;
2+
namespace Acidreign\LaravelGeoIP2\Provider;
33

44
use GeoIp2\Model\City;
55
use GeoIp2\Model\Country;

0 commit comments

Comments
 (0)