Skip to content
53 changes: 53 additions & 0 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: PHP Composer

on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]

permissions:
contents: read

jobs:

phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs
- name: Running Phpstan
run: composer run-script analyze

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4', '8.5']
steps:
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: composer run-script test
continue-on-error: true
- name: Test Report
uses: dorny/test-reporter@ff2d13cc3645b6e6978bb229ca7a2a5ea91208c1
if: ${{ !cancelled() }}
with:
name: PHPUnit tests
path: reports/junit.xml
reporter: phpunit-junit
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# OTP Simplepay SDK
# OTP SimplePay SDK

![](https://simplepay.hu/wp-content/uploads/2019/09/simpleLogo-e1569844953356.png)

Version: 2.1.0
Version: 2.5.0
Support V1 & V2 API versions

You can find more info: https://www.simplepay.hu/fejlesztoknek


19 changes: 10 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
{
"name": "iconocoders/otp-simple-sdk",
"name": "ttimot24/otp-simple-sdk",
"description": "OTP Simple Payment SDK",
"keywords": [
"otp simple",
"iconocoders",
"online payment",
"payment"
],
"authors": [
{
"name": "Iconocoders",
"email": "[email protected]"
"name": "Timot Tarjani",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"require": {
"php": "~7.2.0|~7.3.0|~7.4.0"
"require": {
"php": "~8.1.0|~8.2.0|~8.3.0|~8.4.0||~8.5.0"
},
"type": "library",
"version": "2.1.0",
"license": [
"Apache-2.0"
"Apache-2.0"
],
"autoload": {
"classmap": [
"src/"
],
"psr-4": {
"Source\\": "Source/"
"SimplePay\\": "src/"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading