Skip to content

Commit 86a2066

Browse files
committed
patch!: rename vendor
1 parent da6001a commit 86a2066

File tree

10 files changed

+53
-53
lines changed

10 files changed

+53
-53
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributions are **welcome** and will be fully **credited**.
44

5-
We accept contributions via Pull Requests on [Github](https://github.com/shetabit/payment).
5+
We accept contributions via Pull Requests on [Github](https://github.com/panicdevs/payment).
66

77
## Pull Requests
88

README-FA.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Latest Version on Packagist][ico-version]][link-packagist]
1010
[![Total Downloads on Packagist][ico-download]][link-packagist]
1111
[![StyleCI](https://github.styleci.io/repos/169948762/shield?branch=master)](https://github.styleci.io/repos/169948762)
12-
[![Maintainability](https://api.codeclimate.com/v1/badges/e6a80b17298cb4fcb56d/maintainability)](https://codeclimate.com/github/shetabit/payment/maintainability)
12+
[![Maintainability](https://api.codeclimate.com/v1/badges/e6a80b17298cb4fcb56d/maintainability)](https://codeclimate.com/github/panicdevs/payment/maintainability)
1313
[![Quality Score][ico-code-quality]][link-code-quality]
1414

1515
این پکیج برای پرداخت آنلاین توسط درگاه‌های مختلف در لاراول ایجاد شده است.
@@ -101,7 +101,7 @@
101101
</div>
102102

103103
``` bash
104-
composer require shetabit/payment
104+
composer require panicdevs/payment
105105
```
106106

107107
<div dir="rtl">
@@ -118,13 +118,13 @@ composer require shetabit/payment
118118
// In your providers array.
119119
'providers' => [
120120
...
121-
Shetabit\Payment\Provider\PaymentServiceProvider::class,
121+
PanicDevs\Payment\Provider\PaymentServiceProvider::class,
122122
],
123123

124124
// In your aliases array.
125125
'aliases' => [
126126
...
127-
'Payment' => Shetabit\Payment\Facade\Payment::class,
127+
'Payment' => PanicDevs\Payment\Facade\Payment::class,
128128
],
129129
```
130130

@@ -539,15 +539,15 @@ class MyDriver extends Driver
539539

540540
</div>
541541

542-
[ico-version]: https://img.shields.io/packagist/v/shetabit/payment.svg?style=flat-square
543-
[ico-download]: https://img.shields.io/packagist/dt/shetabit/payment.svg?color=%23F18&style=flat-square
542+
[ico-version]: https://img.shields.io/packagist/v/panicdevs/payment.svg?style=flat-square
543+
[ico-download]: https://img.shields.io/packagist/dt/panicdevs/payment.svg?color=%23F18&style=flat-square
544544
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
545-
[ico-code-quality]: https://img.shields.io/scrutinizer/g/shetabit/payment.svg?label=Code%20Quality&style=flat-square
545+
[ico-code-quality]: https://img.shields.io/scrutinizer/g/panicdevs/payment.svg?label=Code%20Quality&style=flat-square
546546

547547
[link-fa]: README-FA.md
548548
[link-en]: README.md
549549
[link-zh]: README-ZH.md
550-
[link-packagist]: https://packagist.org/packages/shetabit/payment
551-
[link-code-quality]: https://scrutinizer-ci.com/g/shetabit/payment
550+
[link-packagist]: https://packagist.org/packages/panicdevs/payment
551+
[link-code-quality]: https://scrutinizer-ci.com/g/panicdevs/payment
552552
[link-author]: https://github.com/khanzadimahdi
553553
[link-contributors]: ../../contributors

README-ZH.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![Latest Version on Packagist][ico-version]][link-packagist]
1111
[![Total Downloads on Packagist][ico-download]][link-packagist]
1212
[![StyleCI](https://github.styleci.io/repos/169948762/shield?branch=master)](https://github.styleci.io/repos/169948762)
13-
[![Maintainability](https://api.codeclimate.com/v1/badges/e6a80b17298cb4fcb56d/maintainability)](https://codeclimate.com/github/shetabit/payment/maintainability)
13+
[![Maintainability](https://api.codeclimate.com/v1/badges/e6a80b17298cb4fcb56d/maintainability)](https://codeclimate.com/github/panicdevs/payment/maintainability)
1414
[![Quality Score][ico-code-quality]][link-code-quality]
1515

1616
这是一个用于整合支付网关的Laravel包。这个包依赖 `Laravel 5.8+`.
@@ -106,7 +106,7 @@ For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/
106106
通过 Composer
107107

108108
``` bash
109-
composer require shetabit/payment
109+
composer require panicdevs/payment
110110
```
111111

112112
## 配置
@@ -119,13 +119,13 @@ a. 在你的 `config/app.php` 文件中,添加如下两行
119119
// In your providers array.
120120
'providers' => [
121121
...
122-
Shetabit\Payment\Provider\PaymentServiceProvider::class,
122+
PanicDevs\Payment\Provider\PaymentServiceProvider::class,
123123
],
124124

125125
// In your aliases array.
126126
'aliases' => [
127127
...
128-
'Payment' => Shetabit\Payment\Facade\Payment::class,
128+
'Payment' => PanicDevs\Payment\Facade\Payment::class,
129129
],
130130
```
131131

@@ -511,15 +511,15 @@ class MyDriver extends Driver
511511

512512
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
513513

514-
[ico-version]: https://img.shields.io/packagist/v/shetabit/payment.svg?style=flat-square
515-
[ico-download]: https://img.shields.io/packagist/dt/shetabit/payment.svg?color=%23F18&style=flat-square
514+
[ico-version]: https://img.shields.io/packagist/v/panicdevs/payment.svg?style=flat-square
515+
[ico-download]: https://img.shields.io/packagist/dt/panicdevs/payment.svg?color=%23F18&style=flat-square
516516
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
517-
[ico-code-quality]: https://img.shields.io/scrutinizer/g/shetabit/payment.svg?label=Code%20Quality&style=flat-square
517+
[ico-code-quality]: https://img.shields.io/scrutinizer/g/panicdevs/payment.svg?label=Code%20Quality&style=flat-square
518518

519519
[link-fa]: README-FA.md
520520
[link-en]: README.md
521521
[link-zh]: README-ZH.md
522-
[link-packagist]: https://packagist.org/packages/shetabit/payment
523-
[link-code-quality]: https://scrutinizer-ci.com/g/shetabit/payment
522+
[link-packagist]: https://packagist.org/packages/panicdevs/payment
523+
[link-code-quality]: https://scrutinizer-ci.com/g/panicdevs/payment
524524
[link-author]: https://github.com/khanzadimahdi
525525
[link-contributors]: ../../contributors

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![Latest Version on Packagist][ico-version]][link-packagist]
1111
[![Total Downloads on Packagist][ico-download]][link-packagist]
1212
[![StyleCI](https://github.styleci.io/repos/169948762/shield?branch=master)](https://github.styleci.io/repos/169948762)
13-
[![Maintainability](https://api.codeclimate.com/v1/badges/e6a80b17298cb4fcb56d/maintainability)](https://codeclimate.com/github/shetabit/payment/maintainability)
13+
[![Maintainability](https://api.codeclimate.com/v1/badges/e6a80b17298cb4fcb56d/maintainability)](https://codeclimate.com/github/panicdevs/payment/maintainability)
1414
[![Quality Score][ico-code-quality]][link-code-quality]
1515

1616
This is a Laravel Package for Payment Gateway Integration. This package supports `Laravel 5.8+`.
@@ -103,7 +103,7 @@ For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/
103103
Via Composer
104104

105105
``` bash
106-
composer require shetabit/payment
106+
composer require panicdevs/payment
107107
```
108108

109109
## Publish Vendor Files
@@ -128,13 +128,13 @@ a. In your `config/app.php` file add these two lines.
128128
// In your providers array.
129129
'providers' => [
130130
...
131-
Shetabit\Payment\Provider\PaymentServiceProvider::class,
131+
PanicDevs\Payment\Provider\PaymentServiceProvider::class,
132132
],
133133

134134
// In your aliases array.
135135
'aliases' => [
136136
...
137-
'Payment' => Shetabit\Payment\Facade\Payment::class,
137+
'Payment' => PanicDevs\Payment\Facade\Payment::class,
138138
],
139139
```
140140

@@ -516,19 +516,19 @@ If you discover any security related issues, please email [email protected]
516516

517517
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
518518

519-
[ico-version]: https://img.shields.io/packagist/v/shetabit/payment.svg?style=flat-square
520-
[ico-download]: https://img.shields.io/packagist/dt/shetabit/payment.svg?color=%23F18&style=flat-square
519+
[ico-version]: https://img.shields.io/packagist/v/panicdevs/payment.svg?style=flat-square
520+
[ico-download]: https://img.shields.io/packagist/dt/panicdevs/payment.svg?color=%23F18&style=flat-square
521521
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
522-
[ico-code-quality]: https://img.shields.io/scrutinizer/g/shetabit/payment.svg?label=Code%20Quality&style=flat-square
522+
[ico-code-quality]: https://img.shields.io/scrutinizer/g/panicdevs/payment.svg?label=Code%20Quality&style=flat-square
523523

524524
[link-fa]: README-FA.md
525525
[link-en]: README.md
526526
[link-zh]: README-ZH.md
527-
[link-packagist]: https://packagist.org/packages/shetabit/payment
528-
[link-code-quality]: https://scrutinizer-ci.com/g/shetabit/payment
527+
[link-packagist]: https://packagist.org/packages/panicdevs/payment
528+
[link-code-quality]: https://scrutinizer-ci.com/g/panicdevs/payment
529529
[link-author]: https://github.com/khanzadimahdi
530530
[link-contributors]: ../../contributors
531531

532532
## Star History
533533

534-
[![Star History Chart](https://api.star-history.com/svg?repos=shetabit/payment&type=Date)](https://star-history.com/#shetabit/payment&Date)
534+
[![Star History Chart](https://api.star-history.com/svg?repos=panicdevs/payment&type=Date)](https://star-history.com/#panicdevs/payment&Date)

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "shetabit/payment",
2+
"name": "panicdevs/payment",
33
"type": "library",
44
"description": "Laravel Payment Gateway Integration Package",
55
"keywords": [
6-
"shetabit",
6+
"panicdevs",
77
"gateway",
88
"bank",
99
"payment",
@@ -73,13 +73,13 @@
7373
"laravel paypal",
7474
"paypal"
7575
],
76-
"homepage": "https://github.com/shetabit/payment",
76+
"homepage": "https://github.com/panicdevs/payment",
7777
"license": "MIT",
7878
"authors": [
7979
{
8080
"name": "Mahdi Khanzadi",
8181
"email": "[email protected]",
82-
"homepage": "https://github.com/shetabit",
82+
"homepage": "https://github.com/panicdevs",
8383
"role": "Developer"
8484
}
8585
],
@@ -99,12 +99,12 @@
9999
},
100100
"autoload": {
101101
"psr-4": {
102-
"Shetabit\\Payment\\": "src"
102+
"PanicDevs\\Payment\\": "src"
103103
}
104104
},
105105
"autoload-dev": {
106106
"psr-4": {
107-
"Shetabit\\Payment\\Tests\\": "tests"
107+
"PanicDevs\\Payment\\Tests\\": "tests"
108108
}
109109
},
110110
"scripts": {
@@ -115,10 +115,10 @@
115115
"extra": {
116116
"laravel": {
117117
"providers": [
118-
"Shetabit\\Payment\\Provider\\PaymentServiceProvider"
118+
"PanicDevs\\Payment\\Provider\\PaymentServiceProvider"
119119
],
120120
"aliases": {
121-
"Payment": "Shetabit\\Payment\\Facade\\Payment"
121+
"Payment": "PanicDevs\\Payment\\Facade\\Payment"
122122
}
123123
}
124124
},

src/Events/InvoicePurchasedEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Shetabit\Payment\Events;
3+
namespace PanicDevs\Payment\Events;
44

55
use Illuminate\Queue\SerializesModels;
66
use Illuminate\Foundation\Events\Dispatchable;

src/Events/InvoiceVerifiedEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Shetabit\Payment\Events;
3+
namespace PanicDevs\Payment\Events;
44

55
use Illuminate\Queue\SerializesModels;
66
use Illuminate\Foundation\Events\Dispatchable;

src/Facade/Payment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Shetabit\Payment\Facade;
3+
namespace PanicDevs\Payment\Facade;
44

55
use Illuminate\Support\Facades\Facade;
66
use Shetabit\Multipay\Invoice;
@@ -21,7 +21,7 @@
2121
* @method static mixed pay($initializeCallback = null)
2222
* @method static ReceiptInterface verify($finalizeCallback = null)
2323
*
24-
* @package Shetabit\Payment\Facade
24+
* @package PanicDevs\Payment\Facade
2525
* @see \Shetabit\Multipay\Payment
2626
*/
2727
class Payment extends Facade
@@ -33,6 +33,6 @@ class Payment extends Facade
3333
*/
3434
public static function getFacadeAccessor()
3535
{
36-
return 'shetabit-payment';
36+
return 'panicdevs-payment';
3737
}
3838
}

src/Provider/PaymentServiceProvider.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Shetabit\Payment\Provider;
3+
namespace PanicDevs\Payment\Provider;
44

55
use Illuminate\Contracts\Foundation\Application;
66
use Illuminate\Contracts\View\Factory;
@@ -9,8 +9,8 @@
99
use Illuminate\View\View;
1010
use Shetabit\Multipay\Payment;
1111
use Shetabit\Multipay\Request;
12-
use Shetabit\Payment\Events\InvoicePurchasedEvent;
13-
use Shetabit\Payment\Events\InvoiceVerifiedEvent;
12+
use PanicDevs\Payment\Events\InvoicePurchasedEvent;
13+
use PanicDevs\Payment\Events\InvoiceVerifiedEvent;
1414

1515
class PaymentServiceProvider extends ServiceProvider
1616
{
@@ -21,7 +21,7 @@ class PaymentServiceProvider extends ServiceProvider
2121
*/
2222
public function boot()
2323
{
24-
$this->loadViewsFrom(__DIR__ . '/../../resources/views', 'shetabitPayment');
24+
$this->loadViewsFrom(__DIR__ . '/../../resources/views', 'panicdevsPayment');
2525

2626
/**
2727
* Configurations that needs to be done by user.
@@ -38,7 +38,7 @@ public function boot()
3838
*/
3939
$this->publishes(
4040
[
41-
__DIR__ . '/../../resources/views' => resource_path('views/vendor/shetabitPayment'),
41+
__DIR__ . '/../../resources/views' => resource_path('views/vendor/panicdevsPayment'),
4242
],
4343
'payment-views'
4444
);
@@ -61,7 +61,7 @@ public function register()
6161
/**
6262
* Bind to service container.
6363
*/
64-
$this->app->bind('shetabit-payment', function () {
64+
$this->app->bind('panicdevs-payment', function () {
6565
$config = config('payment') ?? [];
6666

6767
return new Payment($config);
@@ -108,7 +108,7 @@ public function registerEvents()
108108
*/
109109
private function existCustomRedirectFormView()
110110
{
111-
return file_exists(resource_path('views/vendor/shetabitPayment') . '/redirectForm.blade.php');
111+
return file_exists(resource_path('views/vendor/panicdevsPayment') . '/redirectForm.blade.php');
112112
}
113113

114114
/**
@@ -119,7 +119,7 @@ private function existCustomRedirectFormView()
119119
*/
120120
private function loadNormalRedirectForm($action, $inputs, $method)
121121
{
122-
return view('shetabitPayment::redirectForm')->with(
122+
return view('panicdevsPayment::redirectForm')->with(
123123
[
124124
'action' => $action,
125125
'inputs' => $inputs,

tests/TestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Shetabit\Payment\Tests;
3+
namespace PanicDevs\Payment\Tests;
44

55
use Orchestra\Testbench\TestCase as BaseTestCase;
66
use Shetabit\Multipay\Tests\Drivers\BarDriver;
@@ -9,13 +9,13 @@ class TestCase extends BaseTestCase
99
{
1010
protected function getPackageProviders($app)
1111
{
12-
return ['Shetabit\Payment\Provider\PaymentServiceProvider'];
12+
return ['PanicDevs\Payment\Provider\PaymentServiceProvider'];
1313
}
1414

1515
protected function getPackageAliases($app)
1616
{
1717
return [
18-
'Payment' => 'Shetabit\Payment\Facade\Payment',
18+
'Payment' => 'PanicDevs\Payment\Facade\Payment',
1919
];
2020
}
2121

0 commit comments

Comments
 (0)