Skip to content

Commit e01b4d0

Browse files
authored
Merge pull request #36 from Staffbase/NFS-3144_update_default_branch
2 parents a7333ed + 50cdfdc commit e01b4d0

22 files changed

Lines changed: 27 additions & 63 deletions

.github/workflows/php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: PHP Composer
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010
run:
1111
runs-on: ${{ matrix.operating-system }}
1212
strategy:
1313
matrix:
1414
operating-system: ['ubuntu-latest']
15-
php-versions: ['8.3']
15+
php-versions: ['8.3', '8.4']
1616
phpunit-versions: ['latest']
1717
steps:
1818
- name: Checkout

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ composer require staffbase/plugins-sdk-php
1717

1818
Dependencies are also managed by Composer. When using this repository keep the following dependencies in mind (cf. [composer.json](composer.json)):
1919

20-
* php: ^8.0
20+
* php: ^8.3
2121
* lcobucci/jwt: ^5.5
2222

2323
## API Reference
@@ -122,6 +122,6 @@ To run the tests a simple `# composer test` command in the root directory will s
122122

123123
## License
124124

125-
Copyright 2017-2022 Staffbase GmbH.
125+
Copyright 2017-2025 Staffbase GmbH.
126126

127127
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "staffbase/plugins-sdk-php",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"type": "library",
55
"description": "Staffbase PHP SDK library for plugins.",
66
"keywords": ["staffbase", "plugins", "library", "php", "sdk"],
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require": {
16-
"php": "~8.3.0",
16+
"php": "^8.3 || ^8.4",
1717
"lcobucci/jwt": "^5.5",
1818
"lcobucci/clock": "^3.3"
1919

src/Exceptions/SSOAuthenticationException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
* SSO Session implementation, based on this doc:
44
* https://developers.staffbase.com/api/plugin-sso/
55
*
6-
* PHP version 7.4
7-
*
86
* @category Authentication
9-
* @copyright 2017-2022 Staffbase, GmbH.
7+
* @copyright 2017-2025 Staffbase SE.
108
* @author Vitaliy Ivanov
119
* @license http://www.apache.org/licenses/LICENSE-2.0
1210
* @link https://github.com/staffbase/plugins-sdk-php

src/Exceptions/SSOException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
* SSO Session implementation, based on this doc:
44
* https://developers.staffbase.com/api/plugin-sso/
55
*
6-
* PHP version 7.4
7-
*
86
* @category Authentication
9-
* @copyright 2017-2022 Staffbase, GmbH.
7+
* @copyright 2017-2025 Staffbase SE.
108
* @author Vitaliy Ivanov
119
* @license http://www.apache.org/licenses/LICENSE-2.0
1210
* @link https://github.com/staffbase/plugins-sdk-php

src/PluginSession.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
* SSO Session implementation, based on this doc:
66
* https://developers.staffbase.com/api/plugin-sso/
77
*
8-
* PHP version 7.4
9-
*
108
* @category Authentication
11-
* @copyright 2017-2022 Staffbase, GmbH.
9+
* @copyright 2017-2025 Staffbase SE.
1210
* @author Vitaliy Ivanov
1311
* @license http://www.apache.org/licenses/LICENSE-2.0
1412
* @link https://github.com/staffbase/plugins-sdk-php

src/RemoteCall/AbstractRemoteCallHandler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
* Abstract remote handler implementation, based on this doc:
44
* https://developers.staffbase.com/api/plugin-sso/
55
*
6-
* PHP version 7.4
7-
*
86
* @category Authentication
9-
* @copyright 2017-2022 Staffbase, GmbH.
7+
* @copyright 2017-2025 Staffbase SE.
108
* @author Vitaliy Ivanov
119
* @license http://www.apache.org/licenses/LICENSE-2.0
1210
* @link https://github.com/staffbase/plugins-sdk-php

src/RemoteCall/DeleteInstanceCallHandlerInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
* Delete remote handler interface, based on this doc:
44
* https://developers.staffbase.com/api/plugin-sso/
55
*
6-
* PHP version 7.4
7-
*
86
* @category Authentication
9-
* @copyright 2017-2022 Staffbase, GmbH.
7+
* @copyright 2017-2025 Staffbase SE.
108
* @author Vitaliy Ivanov
119
* @license http://www.apache.org/licenses/LICENSE-2.0
1210
* @link https://github.com/staffbase/plugins-sdk-php

src/RemoteCall/RemoteCallInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
* Remote call interface, based on this doc:
44
* https://developers.staffbase.com/api/plugin-sso/
55
*
6-
* PHP version 7.4
7-
*
86
* @category Authentication
9-
* @copyright 2017-2022 Staffbase, GmbH.
7+
* @copyright 2017-2025 Staffbase SE.
108
* @author Vitaliy Ivanov
119
* @license http://www.apache.org/licenses/LICENSE-2.0
1210
* @link https://github.com/staffbase/plugins-sdk-php

src/SSOData/ClaimAccessTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
/**
55
* Trait to access the claims of a JWT token.
66
*
7-
* PHP version 7.4
8-
*
97
* @category Token
10-
* @copyright 2017-2022 Staffbase, GmbH.
8+
* @copyright 2017-2025 Staffbase SE.
119
* @author Daniel Grosse
1210
* @license http://www.apache.org/licenses/LICENSE-2.0
1311
* @link https://github.com/staffbase/plugins-sdk-php

0 commit comments

Comments
 (0)