Skip to content

Commit 4a57b07

Browse files
author
Steve Porter
committed
chore: transfer ownership to designmynight
1 parent e714ffb commit 4a57b07

9 files changed

+23
-23
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Steve Porter
3+
Copyright (c) 2018 DesignMyNight
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

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Laravel MongoDB Passport
22
===============
33

4-
[![Latest Stable Version](http://img.shields.io/github/release/steveporter92/laravel-mongodb-passport.svg)](https://packagist.org/packages/steveporter92/laravel-mongodb-passport) [![Total Downloads](http://img.shields.io/packagist/dm/steveporter92/laravel-mongodb-passport.svg)](https://packagist.org/packages/steveporter92/laravel-mongodb-passport)
4+
[![Latest Stable Version](http://img.shields.io/github/release/designmynight/laravel-mongodb-passport.svg)](https://packagist.org/packages/designmynight/laravel-mongodb-passport) [![Total Downloads](http://img.shields.io/packagist/dm/designmynight/laravel-mongodb-passport.svg)](https://packagist.org/packages/designmynight/laravel-mongodb-passport)
55

66
A service provider to add support for [Laravel Passport](https://github.com/laravel/passport) and [MongoDB](https://github.com/jenssegers/laravel-mongodb).
77

@@ -15,18 +15,18 @@ Installation
1515
Installation using composer:
1616

1717
```
18-
composer require steveporter92/laravel-mongodb-passport
18+
composer require designmynight/laravel-mongodb-passport
1919
```
2020

21-
You need to have your `App\User` class extend `StevePorter92\Mongodb\Auth\User.php` instead of the default `Illuminate\Foundation\Auth\User`. This user class extends larvel-mongodb eloquent user as well as adding all the standard and required authentication and laravel passport traits.
21+
You need to have your `App\User` class extend `DesignMyNight\Mongodb\Auth\User.php` instead of the default `Illuminate\Foundation\Auth\User`. This user class extends larvel-mongodb eloquent user as well as adding all the standard and required authentication and laravel passport traits.
2222

2323
```
2424
<?php
2525
2626
namespace App;
2727
2828
use Illuminate\Notifications\Notifiable;
29-
use StevePorter92\Mongodb\Auth\User as Authenticatable;
29+
use DesignMyNight\Mongodb\Auth\User as Authenticatable;
3030
3131
class User extends Authenticatable
3232
{
@@ -43,13 +43,13 @@ class User extends Authenticatable
4343
And add the service provider in `config/app.php`:
4444

4545
```php
46-
StevePorter92\Mongodb\MongodbPassportServiceProvider::class,
46+
DesignMyNight\Mongodb\MongodbPassportServiceProvider::class,
4747
```
4848

4949
For usage with [Lumen](http://lumen.laravel.com), add the service provider in `bootstrap/app.php`.
5050

5151
```php
52-
$app->register(StevePorter92\Mongodb\MongodbPassportServiceProvider::class);
52+
$app->register(DesignMyNight\Mongodb\MongodbPassportServiceProvider::class);
5353
```
5454

5555
The service provider will overide the default laravel passport models in order to use mongodb's implementation of eloquent. There is no need to register any additional classes or add any additional configuration other than those outlined in [Laravel Passport](https://github.com/laravel/passport) and [MongoDB](https://github.com/jenssegers/laravel-mongodb).

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "steveporter92/laravel-mongodb-passport",
2+
"name": "designmynight/laravel-mongodb-passport",
33
"description": "A package to allow laravel/passport use with jenssegers/laravel-mongodb",
4-
"homepage": "https://github.com/steveporter92/laravel-mongodb-passport",
4+
"homepage": "https://github.com/designmynight/laravel-mongodb-passport",
55
"license": "MIT",
66
"keywords": [
77
"laravel",
@@ -10,7 +10,7 @@
1010
"laravel-passport",
1111
"mongodb",
1212
"passport",
13-
"steveporter92"
13+
"designmynight"
1414
],
1515
"require": {
1616
"illuminate/support": "^5.5",
@@ -19,20 +19,20 @@
1919
},
2020
"autoload": {
2121
"psr-4": {
22-
"StevePorter92\\Mongodb\\": "src"
22+
"DesignMyNight\\Mongodb\\": "src"
2323
}
2424
},
2525
"authors": [
2626
{
2727
"name": "Steve Porter",
28-
"email": "steve@the-porters.co.uk",
28+
"email": "steve@designmynight.com",
2929
"role": "Developer"
3030
}
3131
],
3232
"extra": {
3333
"laravel": {
3434
"providers": [
35-
"StevePorter92\\Mongodb\\MongodbPassportServiceProvider"
35+
"DesignMyNight\\Mongodb\\MongodbPassportServiceProvider"
3636
]
3737
}
3838
}

src/Auth/User.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace StevePorter92\Mongodb\Auth;
3+
namespace DesignMyNight\Mongodb\Auth;
44

55
use Illuminate\Auth\Authenticatable;
66
use Illuminate\Auth\Passwords\CanResetPassword;

src/MongodbPassportServiceProvider.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace StevePorter92\Mongodb;
3+
namespace DesignMyNight\Mongodb;
44

55
use Illuminate\Support\ServiceProvider;
6-
use StevePorter92\Mongodb\Passport\AuthCode;
7-
use StevePorter92\Mongodb\Passport\Client;
8-
use StevePorter92\Mongodb\Passport\PersonalAccessClient;
9-
use StevePorter92\Mongodb\Passport\Token;
6+
use DesignMyNight\Mongodb\Passport\AuthCode;
7+
use DesignMyNight\Mongodb\Passport\Client;
8+
use DesignMyNight\Mongodb\Passport\PersonalAccessClient;
9+
use DesignMyNight\Mongodb\Passport\Token;
1010

1111
class MongodbPassportServiceProvider extends ServiceProvider
1212
{

src/Passport/AuthCode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace StevePorter92\Mongodb\Passport;
3+
namespace DesignMyNight\Mongodb\Passport;
44

55
use Jenssegers\Mongodb\Eloquent\Model;
66

src/Passport/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace StevePorter92\Mongodb\Passport;
3+
namespace DesignMyNight\Mongodb\Passport;
44

55
use Jenssegers\Mongodb\Eloquent\Model;
66

src/Passport/PersonalAccessClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace StevePorter92\Mongodb\Passport;
3+
namespace DesignMyNight\Mongodb\Passport;
44

55
use Jenssegers\Mongodb\Eloquent\Model;
66

src/Passport/Token.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace StevePorter92\Mongodb\Passport;
3+
namespace DesignMyNight\Mongodb\Passport;
44

55
use Jenssegers\Mongodb\Eloquent\Model;
66

0 commit comments

Comments
 (0)