Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3d34db3
Fixed #197
Oct 17, 2025
6087c04
Resolved #189, updated Docs and Tests for Enums
Oct 17, 2025
b96f386
Removed phpunit cache
Oct 17, 2025
30b8d82
Resolved #188
Oct 17, 2025
fd4e1cf
wip
Oct 17, 2025
ee22c40
Merge branch 'main' into feature-a-few-fixes
Oct 17, 2025
d8c2a1a
Minor code improvements
Oct 17, 2025
56b872e
Improved TransferDocument Request
Oct 17, 2025
083a264
Merge branch 'main' of github.com:codebar-ag/laravel-docuware into fe…
Nov 14, 2025
9de480b
Security updates
Mar 20, 2026
ddae347
Optimized Repository Skeleton
Mar 20, 2026
72a9de0
chore: sync Laravel Pint workflow from template
Mar 20, 2026
81ff180
chore: sync CONTRIBUTING.md from template
Mar 20, 2026
928c56c
chore: sync security policy from template
Mar 20, 2026
61ccea0
chore: sync PHPStan workflow from template
Mar 21, 2026
6661fd2
chore: sync Laravel Pint workflow from template
Mar 21, 2026
8720eaf
chore: sync Dependabot config and workflows from template
Mar 21, 2026
6ca012b
chore: sync Laravel Pint workflow from template
Mar 21, 2026
8a79d8b
chore: sync PHPStan workflow from template
Mar 21, 2026
b527192
chore: sync release workflow from template
Mar 21, 2026
da18fe8
Optimized Repository Skeleton
Mar 21, 2026
aff5617
chore: sync CONTRIBUTING.md from template
Mar 21, 2026
4fe6613
chore: sync security policy from template
Mar 21, 2026
43984b5
Optimized Repository Skeleton
Mar 26, 2026
abd68bc
Merge remote-tracking branch 'origin/main'
Mar 26, 2026
a9fbe31
Optimized Repository Skeleton
Mar 26, 2026
74c8e09
chore: sync dependency audit workflows from template
Mar 26, 2026
1ab8848
Merge remote-tracking branch 'origin/main'
Mar 26, 2026
62b59c3
chore: sync GitHub issue templates
Apr 3, 2026
7209cf8
chore: sync Laravel Pint workflow from template
Apr 3, 2026
e7a27df
chore: sync PHPStan workflow from template
Apr 3, 2026
9a02f11
chore: sync dependency audit workflows from template
Apr 3, 2026
d843cfc
chore: sync Dependabot config and workflows from template
Apr 3, 2026
fec181b
Laravel 13
Apr 7, 2026
ae62136
#major updated to laravel 13
Apr 7, 2026
0dcae9f
Merge branch 'main' into feature-laravel13
Apr 7, 2026
e599a43
wip
Apr 7, 2026
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
37 changes: 37 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# DocuWare REST API (maps to Postman environment "DocuWare")
#
# Postman Laravel / config
# ---------------- --------------------------------------------
# ServerUrl DOCUWARE_URL (scheme + host, no trailing path)
# Platform DOCUWARE_PLATFORM_PATH (default: DocuWare/Platform)
# Username DOCUWARE_USERNAME
# Password DOCUWARE_PASSWORD
# OrgId DOCUWARE_TESTS_ORG_ID (optional; or DOCUWARE_TESTS_ORGANIZATION_ID)
# FileCabinetId DOCUWARE_TESTS_FILE_CABINET_ID
# SearchDialogId DOCUWARE_TESTS_SEARCH_DIALOG_ID (optional; falls back to DOCUWARE_TESTS_DIALOG_ID in your app)
# StoreDialogId DOCUWARE_TESTS_STORE_DIALOG_ID
# DocumentId DOCUWARE_TESTS_DOCUMENT_ID
# ClientID / ClientSecret — OAuth client; package uses DOCUWARE_CLIENT_ID + password grant by default

DOCUWARE_URL=
DOCUWARE_PLATFORM_PATH=DocuWare/Platform
DOCUWARE_USERNAME=
DOCUWARE_PASSWORD=
DOCUWARE_PASSPHRASE=
DOCUWARE_CLIENT_ID=docuware.platform.net.client
DOCUWARE_SCOPE=docuware.platform
DOCUWARE_TIMEOUT=60
DOCUWARE_CACHE_DRIVER=file
DOCUWARE_CACHE_LIFETIME_IN_SECONDS=60

# PHPUnit / local live tests (see docs/postman-parity.md)
DOCUWARE_TESTS_FILE_CABINET_ID=
DOCUWARE_TESTS_DIALOG_ID=
DOCUWARE_TESTS_BASKET_ID=
DOCUWARE_TESTS_ORG_ID=
DOCUWARE_TESTS_SEARCH_DIALOG_ID=
DOCUWARE_TESTS_STORE_DIALOG_ID=
DOCUWARE_TESTS_DOCUMENT_ID=
DOCUWARE_TESTS_ORGANIZATION_ID=
DOCUWARE_TESTS_GROUP_ID=
DOCUWARE_TESTS_ROLE_ID=
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ We're sorry to hear you have a problem. Can you help us solve it by providing th
attributes:
label: PHP Version
description: What version of PHP are you running? Please be as specific as possible
placeholder: "8.4.0"
value: "8.4.0"
placeholder: "8.5.0"
value: "8.5.0"
validations:
required: true
- type: input
id: laravel-version
attributes:
label: Laravel Version
description: What version of Laravel are you running? Please be as specific as possible
placeholder: "12.0.0"
value: "12.0.0"
placeholder: "13.0.0"
value: "13.0.0"
validations:
required: true
- type: dropdown
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/composer-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@2.37.0
with:
php-version: '8.4'
php-version: '8.5'
coverage: none

- name: Resolve dependencies and audit
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:

- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.5.0
uses: dependabot/fetch-metadata@v3.0.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v6.0.2

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@2.6
- name: Setup PHP
uses: shivammathur/setup-php@2.37.0
with:
php-version: '8.5'
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@4.0.0

- name: Run Laravel Pint
run: vendor/bin/pint

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7.1.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@2.37.0
with:
php-version: '8.4'
php-version: '8.5'
coverage: none

- name: Install composer dependencies
Expand Down
37 changes: 29 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
max-parallel: 1
matrix:
os: [ ubuntu-latest ]
php: [ 8.2, 8.3, 8.4 ]
laravel: [ 12.* ]
php: [ 8.3, 8.4, 8.5 ]
laravel: [ 13.* ]
stability: [ prefer-lowest, prefer-stable ]

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
coverage: pcov

- name: Setup problem matchers
run: |
Expand All @@ -41,20 +41,41 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: Execute tests
- name: Copy PHPUnit configuration
run: cp phpunit.xml.dist phpunit.xml

- name: Execute tests
run: vendor/bin/pest
- name: Verify Postman parity matrix
run: composer postman:parity

# Default suite only (unit, feature, manual skips) — no live DocuWare required.
- name: Run Pest tests (default suite)
run: composer test

# One matrix cell hits the live API to limit tenant traffic and rate limits (sequential tests in-process).
- name: Run DocuWare integration tests
if: matrix.php == '8.3' && matrix.stability == 'prefer-stable'
env:
DOCUWARE_URL: ${{ secrets.DOCUWARE_URL }}
DOCUWARE_USERNAME: ${{ secrets.DOCUWARE_USERNAME }}
DOCUWARE_PASSWORD: ${{ secrets.DOCUWARE_PASSWORD }}
DOCUWARE_PASSPHRASE: ${{ secrets.DOCUWARE_PASSPHRASE }}
DOCUWARE_COOKIES: ${{ secrets.DOCUWARE_COOKIES }}
DOCUWARE_TESTS_FILE_CABINET_ID: ${{ secrets.DOCUWARE_TESTS_FILE_CABINET_ID }}
DOCUWARE_TESTS_DIALOG_ID: ${{ secrets.DOCUWARE_TESTS_DIALOG_ID }}
DOCUWARE_TESTS_BASKET_ID: ${{ secrets.DOCUWARE_TESTS_BASKET_ID }}
DOCUWARE_TESTS_ORGANIZATION_ID: ${{ secrets.DOCUWARE_TESTS_ORGANIZATION_ID }}
DOCUWARE_TESTS_GROUP_ID: ${{ secrets.DOCUWARE_TESTS_GROUP_ID }}
DOCUWARE_TESTS_ROLE_ID: ${{ secrets.DOCUWARE_TESTS_ROLE_ID }}
run: |
if [ -z "$DOCUWARE_URL" ] || [ -z "$DOCUWARE_USERNAME" ] || [ -z "$DOCUWARE_PASSWORD" ]; then
echo "Skipping DocuWare integration (DOCUWARE_* secrets not configured)."
exit 0
fi
composer test:live

- name: Store Log Artifacts
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Store report artifacts
path: ./vendor/orchestra/testbench-core/laravel/storage/logs
Loading
Loading