Skip to content

Commit

Permalink
Rename package and update namespaces to reflect new project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnylink committed Dec 9, 2024
1 parent da05a2f commit 4513a96
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jonny-link/service-library",
"description": "Laravel specific library for jonny-link microservices",
"name": "jonlink/laravel-aws-secrets",
"description": "Laravel specific library for jonlink microservices",
"type": "library",
"require": {
"php": "^8.1",
Expand All @@ -19,10 +19,10 @@
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {"jonny-link\\ServiceLibrary\\": "src/"}
"psr-4": {"jonlink\\LaravelAwsSecrets\\": "src/"}
},
"autoload-dev": {
"psr-4": {"jonny-link\\ServiceLibrary\\Tests\\": "tests"}
"psr-4": {"jonlink\\LaravelAwsSecrets\\Tests\\": "tests"}
},
"scripts": {
"lint": "./vendor/bin/phpcs -n --colors --standard=./phpcs.xml src/ tests/",
Expand All @@ -40,7 +40,7 @@
"extra": {
"laravel": {
"providers": [
"jonny-link\\ServiceLibrary\\Providers\\AwsSecretsServiceProvider"
"jonlink\\LaravelAwsSecrets\\Providers\\AwsSecretsServiceProvider"
]
}
}
Expand Down
26 changes: 13 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Console/Commands/CreateAwsSecret.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
namespace jonnylink\AwsLaravelSecrets\Console\Commands;
namespace jonlink\LaravelAwsSecrets\Console\Commands;

use Exception;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Log;
use jonnylink\AwsLaravelSecrets\Support\AwsSecrets;
use jonlink\LaravelAwsSecrets\Support\AwsSecrets;

class RotateAwsSecret extends Command {
protected $description = 'Sync account roles.';
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/GetAwsSecret.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
namespace jonnylink\AwsLaravelSecrets\Console\Commands;
namespace jonlink\LaravelAwsSecrets\Console\Commands;

use Exception;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Log;
use jonnylink\AwsLaravelSecrets\Support\AwsSecrets;
use jonlink\LaravelAwsSecrets\Support\AwsSecrets;

class RotateAwsSecret extends Command {
protected $description = 'Sync account roles.';
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/RotateAwsSecret.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
namespace jonnylink\AwsLaravelSecrets\Console\Commands;
namespace jonlink\LaravelAwsSecrets\Console\Commands;

use Exception;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Log;
use jonnylink\AwsLaravelSecrets\Support\AwsSecrets;
use jonlink\LaravelAwsSecrets\Support\AwsSecrets;

class RotateAwsSecret extends Command {
protected $description = 'Sync account roles.';
Expand Down
4 changes: 2 additions & 2 deletions src/Providers/AwsSecretsServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
namespace jonnylink\AwsLaravelSecrets\Providers;
namespace jonlink\LaravelAwsSecrets\Providers;

use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
use jonnylink\AwsLaravelSecrets\Support\AwsSecrets;
use jonlink\LaravelAwsSecrets\Support\AwsSecrets;

class AwsSecretsServiceProvider extends ServiceProvider implements DeferrableProvider {
public function register(): void {
Expand Down
2 changes: 1 addition & 1 deletion src/Support/AwsSecrets.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace jonnylink\AwsLaravelSecrets\Support;
namespace jonlink\LaravelAwsSecrets\Support;

use Aws\SecretsManager\SecretsManagerClient;
use stdClass;
Expand Down

0 comments on commit 4513a96

Please sign in to comment.