Skip to content

Commit 180f77b

Browse files
committed
rename to continue project
1 parent 615e87b commit 180f77b

17 files changed

+43
-43
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# PayPal Webhooks Client for Laravel
22

3-
[![Packagist](https://badgen.net/packagist/v/ankurk91/laravel-paypal-webhooks)](https://packagist.org/packages/ankurk91/laravel-paypal-webhooks)
4-
[![GitHub-tag](https://badgen.net/github/tag/ankurk91/laravel-paypal-webhooks)](https://github.com/ankurk91/laravel-paypal-webhooks/tags)
5-
[![License](https://badgen.net/packagist/license/ankurk91/laravel-paypal-webhooks)](LICENSE.txt)
6-
[![Downloads](https://badgen.net/packagist/dt/ankurk91/laravel-paypal-webhooks)](https://packagist.org/packages/ankurk91/laravel-paypal-webhooks/stats)
7-
[![GH-Actions](https://github.com/ankurk91/laravel-paypal-webhooks/workflows/tests/badge.svg)](https://github.com/ankurk91/laravel-paypal-webhooks/actions)
8-
[![codecov](https://codecov.io/gh/ankurk91/laravel-paypal-webhooks/branch/main/graph/badge.svg)](https://codecov.io/gh/ankurk91/laravel-paypal-webhooks)
3+
[![Packagist](https://badgen.net/packagist/v/Tommmoe/laravel-paypal-webhooks)](https://packagist.org/packages/Tommmoe/laravel-paypal-webhooks)
4+
[![GitHub-tag](https://badgen.net/github/tag/Tommmoe/laravel-paypal-webhooks)](https://github.com/Tommmoe/laravel-paypal-webhooks/tags)
5+
[![License](https://badgen.net/packagist/license/Tommmoe/laravel-paypal-webhooks)](LICENSE.txt)
6+
[![Downloads](https://badgen.net/packagist/dt/Tommmoe/laravel-paypal-webhooks)](https://packagist.org/packages/Tommmoe/laravel-paypal-webhooks/stats)
7+
[![GH-Actions](https://github.com/Tommmoe/laravel-paypal-webhooks/workflows/tests/badge.svg)](https://github.com/Tommmoe/laravel-paypal-webhooks/actions)
8+
[![codecov](https://codecov.io/gh/Tommmoe/laravel-paypal-webhooks/branch/main/graph/badge.svg)](https://codecov.io/gh/Tommmoe/laravel-paypal-webhooks)
99

1010
Handle [PayPal](https://developer.paypal.com/api/rest/webhooks/) webhooks in Laravel php framework.
1111

@@ -14,15 +14,15 @@ Handle [PayPal](https://developer.paypal.com/api/rest/webhooks/) webhooks in Lar
1414
You can install the package via composer:
1515

1616
```bash
17-
composer require "ankurk91/laravel-paypal-webhooks"
17+
composer require "Tommmoe/laravel-paypal-webhooks"
1818
```
1919

2020
The service provider will automatically register itself.
2121

2222
You must publish the config file with:
2323

2424
```bash
25-
php artisan vendor:publish --provider="Ankurk91\PayPalWebhooks\PayPalWebhooksServiceProvider"
25+
php artisan vendor:publish --provider="Tommmoe\PayPalWebhooks\PayPalWebhooksServiceProvider"
2626
```
2727

2828
Next, you must publish the migration with:

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ankurk91/laravel-paypal-webhooks",
2+
"name": "tommmoe/laravel-paypal-webhooks",
33
"description": "Handle PayPal webhooks in Laravel php framework",
44
"keywords": [
55
"laravel",
@@ -30,12 +30,12 @@
3030
},
3131
"autoload": {
3232
"psr-4": {
33-
"Ankurk91\\PayPalWebhooks\\": "src"
33+
"Tommmoe\\PayPalWebhooks\\": "src"
3434
}
3535
},
3636
"autoload-dev": {
3737
"psr-4": {
38-
"Ankurk91\\PayPalWebhooks\\Tests\\": "tests/"
38+
"Tommmoe\\PayPalWebhooks\\Tests\\": "tests/"
3939
}
4040
},
4141
"config": {
@@ -49,7 +49,7 @@
4949
"extra": {
5050
"laravel": {
5151
"providers": [
52-
"Ankurk91\\PayPalWebhooks\\PayPalWebhooksServiceProvider"
52+
"Tommmoe\\PayPalWebhooks\\PayPalWebhooksServiceProvider"
5353
]
5454
}
5555
},

config/paypal-webhooks.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
/*
1818
* The classname of the model to be used. The class should equal or extend
19-
* \Ankurk91\PayPalWebhooks\Model\PayPalWebhookCall.
19+
* \Tommmoe\PayPalWebhooks\Model\PayPalWebhookCall.
2020
*/
21-
'model' => \Ankurk91\PayPalWebhooks\Model\PayPalWebhookCall::class,
21+
'model' => \Tommmoe\PayPalWebhooks\Model\PayPalWebhookCall::class,
2222

2323
/**
2424
* This class determines if the incoming webhook call should be stored and processed.
2525
*/
26-
'profile' => \Ankurk91\PayPalWebhooks\PayPalWebhookProfile::class,
26+
'profile' => \Tommmoe\PayPalWebhooks\PayPalWebhookProfile::class,
2727

2828
/*
2929
* When disabled, the package will not verify if the signature is valid.

src/Exception/WebhookFailed.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Exception;
4+
namespace Tommmoe\PayPalWebhooks\Exception;
55

66
use Exception;
77
use JsonException;

src/Http/Controllers/PayPalWebhooksController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Http\Controllers;
4+
namespace Tommmoe\PayPalWebhooks\Http\Controllers;
55

6-
use Ankurk91\PayPalWebhooks\PayPalWebhookConfig;
6+
use Tommmoe\PayPalWebhooks\PayPalWebhookConfig;
77
use Illuminate\Http\Request;
88
use Spatie\WebhookClient\WebhookProcessor;
99

src/Jobs/ProcessPayPalWebhookJob.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Jobs;
4+
namespace Tommmoe\PayPalWebhooks\Jobs;
55

6-
use Ankurk91\PayPalWebhooks\Exception\WebhookFailed;
6+
use Tommmoe\PayPalWebhooks\Exception\WebhookFailed;
77
use Illuminate\Support\Str;
88
use Spatie\WebhookClient\Jobs\ProcessWebhookJob;
99

src/Model/PayPalWebhookCall.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Model;
4+
namespace Tommmoe\PayPalWebhooks\Model;
55

6-
use Ankurk91\PayPalWebhooks\Exception\WebhookFailed;
6+
use Tommmoe\PayPalWebhooks\Exception\WebhookFailed;
77
use Illuminate\Http\Request;
88
use JsonException;
99
use Spatie\WebhookClient\Models\WebhookCall;

src/PayPalSignatureValidator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks;
4+
namespace Tommmoe\PayPalWebhooks;
55

6-
use Ankurk91\PayPalWebhooks\Exception\WebhookFailed;
6+
use Tommmoe\PayPalWebhooks\Exception\WebhookFailed;
77
use Illuminate\Http\Client\RequestException;
88
use Illuminate\Http\Request;
99
use Illuminate\Support\Facades\Http;

src/PayPalWebhookConfig.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks;
4+
namespace Tommmoe\PayPalWebhooks;
55

6-
use Ankurk91\PayPalWebhooks\Jobs\ProcessPayPalWebhookJob;
6+
use Tommmoe\PayPalWebhooks\Jobs\ProcessPayPalWebhookJob;
77
use Spatie\WebhookClient\WebhookConfig;
88

99
class PayPalWebhookConfig

src/PayPalWebhookProfile.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks;
4+
namespace Tommmoe\PayPalWebhooks;
55

6-
use Ankurk91\PayPalWebhooks\Model\PayPalWebhookCall;
6+
use Tommmoe\PayPalWebhooks\Model\PayPalWebhookCall;
77
use Illuminate\Http\Request;
88
use Spatie\WebhookClient\WebhookProfile\WebhookProfile;
99

src/PayPalWebhooksServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks;
4+
namespace Tommmoe\PayPalWebhooks;
55

66
use Illuminate\Support\Facades\Route;
77
use Illuminate\Support\ServiceProvider;
@@ -22,7 +22,7 @@ public function register(): void
2222
$this->mergeConfigFrom($this->getConfigPath(), 'paypal-webhooks');
2323

2424
Route::macro('paypalWebhooks', function (string $url) {
25-
return Route::post($url, '\Ankurk91\PayPalWebhooks\Http\Controllers\PayPalWebhooksController')
25+
return Route::post($url, '\Tommmoe\PayPalWebhooks\Http\Controllers\PayPalWebhooksController')
2626
->name('paypalWebhooks');
2727
});
2828
}

tests/Factory/PayPalWebhookFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Tests\Factory;
4+
namespace Tommmoe\PayPalWebhooks\Tests\Factory;
55

66
class PayPalWebhookFactory
77
{

tests/Factory/PaypalRequestFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Tests\Factory;
4+
namespace Tommmoe\PayPalWebhooks\Tests\Factory;
55

66
use Illuminate\Http\Request;
77
use Illuminate\Support\Str;

tests/Fixtures/TestHandlerJob.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Tests\Fixtures;
4+
namespace Tommmoe\PayPalWebhooks\Tests\Fixtures;
55

66
use Spatie\WebhookClient\Models\WebhookCall;
77

tests/PayPalSignatureValidatorTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Tests;
4+
namespace Tommmoe\PayPalWebhooks\Tests;
55

6-
use Ankurk91\PayPalWebhooks\PayPalSignatureValidator;
7-
use Ankurk91\PayPalWebhooks\PayPalWebhookConfig;
8-
use Ankurk91\PayPalWebhooks\Tests\Factory\PaypalRequestFactory;
6+
use Tommmoe\PayPalWebhooks\PayPalSignatureValidator;
7+
use Tommmoe\PayPalWebhooks\PayPalWebhookConfig;
8+
use Tommmoe\PayPalWebhooks\Tests\Factory\PaypalRequestFactory;
99
use Illuminate\Support\Facades\Http;
1010
use Spatie\WebhookClient\WebhookConfig;
1111

tests/PayPalWebhookIntegrationTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Tests;
4+
namespace Tommmoe\PayPalWebhooks\Tests;
55

6-
use Ankurk91\PayPalWebhooks\Exception\WebhookFailed;
7-
use Ankurk91\PayPalWebhooks\Tests\Factory\PayPalWebhookFactory;
8-
use Ankurk91\PayPalWebhooks\Tests\Fixtures\TestHandlerJob;
6+
use Tommmoe\PayPalWebhooks\Exception\WebhookFailed;
7+
use Tommmoe\PayPalWebhooks\Tests\Factory\PayPalWebhookFactory;
8+
use Tommmoe\PayPalWebhooks\Tests\Fixtures\TestHandlerJob;
99
use Illuminate\Foundation\Testing\RefreshDatabase;
1010
use Illuminate\Queue\Events\JobFailed;
1111
use Illuminate\Support\Facades\Bus;

tests/TestCase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Ankurk91\PayPalWebhooks\Tests;
4+
namespace Tommmoe\PayPalWebhooks\Tests;
55

6-
use Ankurk91\PayPalWebhooks\PayPalWebhooksServiceProvider;
6+
use Tommmoe\PayPalWebhooks\PayPalWebhooksServiceProvider;
77
use Illuminate\Support\Facades\Route;
88
use Orchestra\Testbench\TestCase as OrchestraTestCase;
99

0 commit comments

Comments
 (0)