Skip to content

Commit

Permalink
Change to AB Web so we can composer require it
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradie Tilley committed Jun 5, 2020
1 parent d9344e5 commit 7544411
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This was forked from https://github.com/anam-hossain/aba due to an issue with st
`Aba` is available via Composer

```bash
$ composer require joelwmale/aba-generator
$ composer require abwebdevelopers/aba-generator
```

## Integrations
Expand All @@ -30,21 +30,21 @@ After you have installed the `Aba`, open the `config/app.php` file which is incl
In the `$providers` array add the following service provider.

```php
Joelwmale\AbaGenerator\AbaServiceProvider::class
ABWebDevelopers\AbaGenerator\AbaServiceProvider::class
```

Add the facade of this package to the `$aliases` array.

```php
'Aba' => Joelwmale\AbaGenerator\Facades\Aba::class,
'Aba' => ABWebDevelopers\AbaGenerator\Facades\Aba::class,
```

You can now use this facade in place of instantiating the converter yourself in the following examples.

## Usage

```php
use Joelwmale\AbaGenerator\Aba;
use ABWebDevelopers\AbaGenerator\Aba;

$aba = new Aba();

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "joelwmale/aba-generator",
"name": "abwebdevelopers/aba-generator",
"description": "Provides a simple way to generate an ABA file which is used by banks to allow for batch transactions.",
"keywords": [
"ABA file",
Expand All @@ -9,7 +9,7 @@
"PHP",
"Laravel"
],
"homepage": "https://github.com/joelwmale/aba-generator",
"homepage": "https://github.com/abwebdevelopers/aba-generator",
"license": "MIT",
"authors": [
{
Expand All @@ -29,12 +29,12 @@
},
"autoload": {
"psr-4": {
"Joelwmale\\AbaGenerator\\" : "src/"
"ABWebDevelopers\\AbaGenerator\\" : "src/"
}
},
"autoload-dev": {
"psr-4": {
"Joelwmale\\AbaGenerator\\Test\\": "tests"
"ABWebDevelopers\\AbaGenerator\\Test\\": "tests"
}
}
}
4 changes: 2 additions & 2 deletions src/Aba.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Joelwmale\AbaGenerator;
namespace ABWebDevelopers\AbaGenerator;

use Joelwmale\AbaGenerator\Validation\Validator;
use ABWebDevelopers\AbaGenerator\Validation\Validator;

class Aba
{
Expand Down
2 changes: 1 addition & 1 deletion src/AbaServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Joelwmale\AbaGenerator;
namespace ABWebDevelopers\AbaGenerator;

use Illuminate\Support\ServiceProvider;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/Aba.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Joelwmale\AbaGenerator\Facades;
namespace ABWebDevelopers\AbaGenerator\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Validation/Validator.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Joelwmale\AbaGenerator\Validation;
namespace ABWebDevelopers\AbaGenerator\Validation;

use Exception;

Expand Down
4 changes: 2 additions & 2 deletions tests/AbaTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Joelwmale\AbaGenerator\Test;
namespace ABWebDevelopers\AbaGenerator\Test;

use Joelwmale\AbaGenerator\Aba;
use ABWebDevelopers\AbaGenerator\Aba;
use PHPUnit\Framework\TestCase;

class AbaTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/PrivateAndProtectedMethodsAccessibleTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Joelwmale\AbaGenerator\Test;
namespace ABWebDevelopers\AbaGenerator\Test;

trait PrivateAndProtectedMethodsAccessibleTrait
{
Expand Down
4 changes: 2 additions & 2 deletions tests/ValidatorTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Joelwmale\AbaGenerator\Test;
namespace ABWebDevelopers\AbaGenerator\Test;

use Exception;
use Joelwmale\AbaGenerator\Validation\Validator;
use ABWebDevelopers\AbaGenerator\Validation\Validator;
use PHPUnit\Framework\TestCase;

class ValidatorTest extends TestCase
Expand Down

0 comments on commit 7544411

Please sign in to comment.