Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 13 additions & 55 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,74 +7,32 @@ env:
COMPOSER_ROOT_VERSION: "dev-master"

jobs:
provide_php_versions_json:
runs-on: ubuntu-latest

steps:
# git clone + use PHP + composer install
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2

- run: composer install --no-progress --ansi

-
# to see the output
run: vendor/bin/easy-ci php-versions-json

# here we create the json, we need the "id:" so we can use it in "outputs" bellow

-
id: output_data
run: echo "::set-output name=matrix::$(vendor/bin/easy-ci php-versions-json)"

# here, we save the result of this 1st phase to the "outputs"
outputs:
matrix: ${{ steps.output_data.outputs.matrix }}

unit_tests:
needs: provide_php_versions_json

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ${{ fromJson(needs.provide_php_versions_json.outputs.matrix) }}
php: [ '8.2', '8.3', '8.4' ]

name: PHP ${{ matrix.php }} tests

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
# required for "git tag" presence for changelog-linker git tags resolver; default is 1
# https://github.com/actions/checkout#fetch-all-tags
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl
ini-values: post_max_size=256M, max_execution_time=180
coverage: xdebug
tools: php-cs-fixer, phpunit, composer:v2

# composer install cache - https://github.com/ramsey/composer-install
-
if: "matrix.php == 7.3"
run: composer update --no-progress --ansi --prefer-lowest

-
if: "matrix.php == 7.4"
uses: "ramsey/composer-install@v2"

-
if: "matrix.php >= 8"
uses: "ramsey/composer-install@v2"
- uses: shivammathur/setup-php@v2
with:
composer-options: "--ignore-platform-req php"
php-version: ${{ matrix.php }}
extensions: mbstring, intl
ini-values: post_max_size=256M, max_execution_time=180
coverage: xdebug
tools: php-cs-fixer, phpunit, composer:v2

- name: Install dependencies
run: composer update --prefer-dist --no-interaction

-
run: vendor/bin/phpunit
- run: vendor/bin/phpunit
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<p align="center">
<p style="text-align:center;">
<a href="https://codedredd.github.io/laravel-soap/" target="_blank" rel="noopener noreferrer">
<img style="width: 100%; height: auto" width="100%" src="https://www.codedredd.de/images/laravel-soap/preview.png" alt="Laravel SOAP">
</a>
</p>

# Laravel SOAP Client

[![Software License](https://img.shields.io/github/license/codedredd/laravel-soap?style=flat-square)](LICENSE.md)
[![Software License](https://img.shields.io/github/license/codedredd/laravel-soap?style=flat-square)](LICENSE)
[![Total Downloads](https://img.shields.io/packagist/dt/codedredd/laravel-soap?style=flat-square)](https://packagist.org/packages/codedredd/laravel-soap)
[![test](https://img.shields.io/github/workflow/status/codedredd/laravel-soap/test?label=test&logo=github&style=flat-square)](https://github.com/CodeDredd/laravel-soap/actions?query=workflow%3Atest)
[![styleci](https://github.styleci.io/repos/7548986/shield)](https://github.styleci.io/repos/257192373)
[![version](https://img.shields.io/github/v/release/codedredd/laravel-soap?style=flat-square)](https://github.com/CodeDredd/laravel-soap/releases)
[![documentation](https://img.shields.io/github/workflow/status/codedredd/laravel-soap/documentation?label=docs&logo=read-the-docs&style=flat-square)](https://codedredd.github.io/laravel-soap/)

## Versions
| Laravel SOAP Version | Laravel Support | PHP Version |
|----------------------|-----------------|-------------|
| 1.x | 5.6, 6.x, 7.x | 7.3 - 8.0 |
| 2.x | 8.x | 7.3 - 8.0 |
| 3.x | 9.x | 8.0 - 8.1 |
| 4.x | 9.x, 10.x | 8.1 - 8.2 |
| Laravel SOAP Version | Laravel Support | PHP Version |
|----------------------|-----------------------|-------------|
| 1.x | 5.6, 6.x, 7.x | 7.3 - 8.0 |
| 2.x | 8.x | 7.3 - 8.0 |
| 3.x | 9.x | 8.0 - 8.1 |
| 4.x | 9.x, 10.x, 11.x, 12.x | 8.2 - 8.4 |

<a name="installation"></a>
## Installation
Expand All @@ -38,19 +38,19 @@ You can find here a detailed [documentation](https://codedredd.github.io/laravel

<!--sponsors start-->
<h3 align="center">Platinum Sponsors</h3>
<p align="center">
<p style="text-align:center;">
</p>

<h4 align="center">Gold Sponsors</h4>
<p align="center">
<p style="text-align:center;">
</p>

<h4 align="center">Silver Sponsors</h4>
<p align="center">
<p style="text-align:center;">
</p>

<h4 align="center">Bronze Sponsors</h4>
<p align="center">
<p style="text-align:center;">
</p>

<!--sponsors end-->
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "~8.1 || ~8.2 || ~8.3 || ~8.4",
"php": "~8.2 || ~8.3 || ~8.4",
"ext-soap": "*",
"ext-bcmath": "*",
"ext-intl": "*",
Expand All @@ -42,7 +42,6 @@
"orchestra/testbench": "^8.0 || ^9.0 || ^10.0",
"laminas/laminas-code": "^4.8.0",
"nunomaduro/collision": "^8.1",
"symplify/easy-ci": "^10.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is abandoned now

"spatie/laravel-ray": "^1.32",
"larastan/larastan": "^3.1"
},
Expand Down
Loading