Skip to content

Commit

Permalink
Merge pull request #18 from wearedevtical/develop
Browse files Browse the repository at this point in the history
Rebrand
  • Loading branch information
Kristories authored Jan 15, 2022
2 parents 62b4be9 + ad9f9a8 commit b87fc68
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A Laravel Nova tool to manage API Authentication (Passport).
You can install the Nova tool in to a [Laravel](http://laravel.com) app that uses [Nova](http://nova.laravel.com) via composer :

```cli
composer require kristories/novassport
composer require wearedevtical/novassport
```


Expand All @@ -32,7 +32,7 @@ Add `Novassport` to your `NovaServiceProvider.php`

```php

use Kristories\Novassport\Novassport;
use Devtical\Novassport\Novassport;

// ...

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
],
"autoload": {
"psr-4": {
"Kristories\\Novassport\\": "src/"
"Devtical\\Novassport\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"Kristories\\Novassport\\ToolServiceProvider"
"Devtical\\Novassport\\ToolServiceProvider"
]
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Middleware/Authorize.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Kristories\Novassport\Http\Middleware;
namespace Devtical\Novassport\Http\Middleware;

use Kristories\Novassport\Novassport;
use Devtical\Novassport\Novassport;

class Authorize
{
Expand Down
4 changes: 2 additions & 2 deletions src/Models/OauthClient.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Kristories\Novassport\Models;
namespace Devtical\Novassport\Models;

use Illuminate\Database\Eloquent\Model;
use Kristories\Novassport\Models\Scopes\MyAppsScope;
use Devtical\Novassport\Models\Scopes\MyAppsScope;

class OauthClient extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Scopes/MyAppsScope.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kristories\Novassport\Models\Scopes;
namespace Devtical\Novassport\Models\Scopes;

use Auth;
use Illuminate\Database\Eloquent\Builder;
Expand Down
4 changes: 2 additions & 2 deletions src/Novassport.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kristories\Novassport;
namespace Devtical\Novassport;

use Laravel\Nova\Nova;
use Laravel\Nova\Tool;
Expand All @@ -17,7 +17,7 @@ public function boot()
Nova::script('novassport', __DIR__.'/../dist/js/tool.js');

Nova::resources([
\Kristories\Novassport\Resources\OauthMyApps::class,
\Devtical\Novassport\Resources\OauthMyApps::class,
]);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Observers/OauthClientObserver.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php

namespace Kristories\Novassport\Observers;
namespace Devtical\Novassport\Observers;

use Auth;
use Kristories\Novassport\Models\OauthClient;
use Devtical\Novassport\Models\OauthClient;
use Str;

class OauthClientObserver
{
/**
* Handle the oauth client "creating" event.
*
* @param \App\Kristories\Novassport\Models\OauthClient $client
* @param \App\Devtical\Novassport\Models\OauthClient $client
* @return void
*/
public function creating(OauthClient $client)
Expand Down
2 changes: 1 addition & 1 deletion src/Policies/MyAppsPolicy.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kristories\Novassport\Policies;
namespace Devtical\Novassport\Policies;

use Illuminate\Auth\Access\HandlesAuthorization;

Expand Down
4 changes: 2 additions & 2 deletions src/Resources/OauthMyApps.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kristories\Novassport\Resources;
namespace Devtical\Novassport\Resources;

use Illuminate\Http\Request;
use Laravel\Nova\Fields\ID;
Expand All @@ -14,7 +14,7 @@ class OauthMyApps extends Resource
*
* @var string
*/
public static $model = 'Kristories\Novassport\Models\OauthClient';
public static $model = 'Devtical\Novassport\Models\OauthClient';

/**
* Indicates if the resource should be displayed in the sidebar.
Expand Down
10 changes: 5 additions & 5 deletions src/ToolServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace Kristories\Novassport;
namespace Devtical\Novassport;

use Gate;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Kristories\Novassport\Http\Middleware\Authorize;
use Kristories\Novassport\Models\OauthClient;
use Kristories\Novassport\Observers\OauthClientObserver;
use Kristories\Novassport\Policies\MyAppsPolicy;
use Devtical\Novassport\Http\Middleware\Authorize;
use Devtical\Novassport\Models\OauthClient;
use Devtical\Novassport\Observers\OauthClientObserver;
use Devtical\Novassport\Policies\MyAppsPolicy;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;

Expand Down

0 comments on commit b87fc68

Please sign in to comment.