From c7eb7e069739c5f69416d5a7df221436f1247101 Mon Sep 17 00:00:00 2001 From: Levi Zoesch Date: Mon, 30 Oct 2023 00:51:37 -0700 Subject: [PATCH] update --- .github/workflows/laravel-7.yml | 68 --------------------------------- README.md | 12 ++++-- 2 files changed, 8 insertions(+), 72 deletions(-) delete mode 100644 .github/workflows/laravel-7.yml diff --git a/.github/workflows/laravel-7.yml b/.github/workflows/laravel-7.yml deleted file mode 100644 index 0d033bc..0000000 --- a/.github/workflows/laravel-7.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: laravel-7 - -on: [push] - -jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest] - php: [7.4] - laravel: [7] - stability: [prefer-dist] - - name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, pcntl, pdo, sqlite, pdo_sqlite, bcmath, intl, iconv, fileinfo - tools: phpunit:latest - ini-values: memory_limit=512M - coverage: pcov - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Setup problem matchers for PHP - run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" - - - name: Get composer cache directory - id: composer-cache - run: | - echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-PHP${{ matrix.php }}-Laravel${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-PHP${{ matrix.php }}-Laravel${{ matrix.laravel }}-composer- - - - name: Add token - run: | - composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} - - - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer require "laravel/framework:${{ matrix.laravel }}.*" --no-interaction --no-update - - - name: Update dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer update --${{ matrix.stability }} --no-interaction - - - name: Setup problem matchers for PHPUnit - run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - - - name: Publish Config - run: php vendor/bin/testbench vendor:publish --tag=teller-sdk-config - - - name: Run Unit Tests - run: php ./vendor/bin/phpunit -c phpunit.xml - env: - TELLER_TEST_TOKEN: ${{ secrets.TELLER_TEST_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index e37b98d..41752c8 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,13 @@ A simple open source SDK to interact with Teller.io for Laravel ^9.0 & 10 ### If you can help make this backward compatible for earlier versions of Laravel please submit a PR. Unit tests must pass to be accepted PR. This package should work for prior versions of Laravel, all the way back to laravel 5-6 era. The `run-tests-pcov-pull.yml` file will need to be updated accordingly. -| Laravel | TellerSDK | -|:--------|:----------| -| 10.x | 2.x | +| Laravel | TellerSDK | PHP Version | +|:--------|:----------|:------------| +| 10.x | 2.x | 8.1 | +| 9.x | 2.x | 8.0 - 8.1 | +| 8.x | 2.x | 7.3 - 8.1 | +| 7.x | Unknown | 7.2 - 8.0 | +| 6.x | Unknown | 7.2.5 - 8.0 | --- @@ -173,7 +177,7 @@ $teller = new TellerClient($accessToken); $allAccountTransactions = $teller->getTransactionDetails($actId, $trxId); ``` ### Identity -Identity provides you with all of the accounts the end-user granted your application access authorization along with beneficial owner identity information for each of them. Beneficial owner information is attached to each account as it's possible the end-user is not the beneficial owner, e.g. a corporate account, or there is more than one beneficial owner, e.g. a joint account the end-user shares with their partner. +Identity provides you with all the accounts the end-user granted your application access authorization along with beneficial owner identity information for each of them. Beneficial owner information is attached to each account as it's possible the end-user is not the beneficial owner, e.g. a corporate account, or there is more than one beneficial owner, e.g. a joint account the end-user shares with their partner. ```php $teller = new TellerClient($accessToken); $identity = $teller->listIdentity($actId);