@@ -149,13 +149,12 @@ then optimize the processes that power the core of your business.
149149
150150| Version | PHP Version | Laravel Version | DocuWare Cloud Access |
151151| ---------------| -------------| -----------------| -----------------------|
152- | v12.0 | ^8.2 - ^8.4 | 12.* | ✅ |
153- | v11.0 (alpha) | ^8.2 | 11.* | ✅ |
154- | > v4.0 | ^8.2 | 11.* | ✅ |
155- | > v3.0 | ^8.2 | 10.* | ✅ |
156- | > v2.0 | ^8.1 | 9.* | ✅ |
157- | > v1.2 | ^8.1 | 9.* | ✅ |
158- | < v1.2 | ^8.0 | 8.* | ✅ |
152+ | v2.0+ | ^8.2 - ^8.4 | 12.* | ✅ |
153+ | v2.0+ | ^8.2 | 11.* | ✅ |
154+ | v2.0+ | ^8.2 | 10.* | ✅ |
155+ | v2.0+ | ^8.1 | 9.* | ✅ |
156+ | v1.2 - v1.3 | ^8.1 | 9.* | ✅ |
157+ | v1.0 - v1.1 | ^8.0 | 8.* | ✅ |
159158
160159</details >
161160
@@ -262,6 +261,11 @@ DOCUWARE_URL=https://domain.docuware.cloud
262261263262DOCUWARE_PASSWORD=password
264263DOCUWARE_PASSPHRASE=" passphrase"
264+ DOCUWARE_TIMEOUT=30
265+ DOCUWARE_CACHE_DRIVER=file
266+ DOCUWARE_CACHE_LIFETIME_IN_SECONDS=60
267+ DOCUWARE_CLIENT_ID=docuware.platform.net.client
268+ DOCUWARE_SCOPE=docuware.platform
265269```
266270
267271With the passphrase we are able to encrypt the URLs.
@@ -312,31 +316,7 @@ $connector = new DocuWareConnector(
312316
313317### Available Requests
314318
315- - [ General] ( docs/General )
316- - [ Organisation] ( docs/General/organization.md )
317- - [ User Management] ( docs/General/User%20Management )
318- - [ Get Users] ( docs/General/User%20Management/get_users.md )
319- - [ Create/Update Users] ( docs/General/User%20Management/create-update_users.md )
320- - [ Get/Modify Groups] ( docs/General/User%20Management/get-modify_groups.md )
321- - [ Get/Modify Roles] ( docs/General/User%20Management/get-modify_roles.md )
322- - [ File Cabinets] ( docs/File%20Cabinets )
323- - [ General] ( docs/File%20Cabinets/general.md )
324- - [ Dialogs] ( docs/File%20Cabinets/dialogs.md )
325- - [ Search] ( docs/File%20Cabinets/search.md )
326- - [ Check/In & Check/Out] ( docs/File%20Cabinets/check-in_check-out.md )
327- - [ Select Lists] ( docs/File%20Cabinets/select_lists.md )
328- - [ Upload] ( docs/File%20Cabinets/upload.md )
329- - [ Batch Index Fields Update] ( docs/File%20Cabinets/batch_index_fields_update.md )
330- - [ Documents] ( docs/Documents )
331- - [ Update Index Values] ( docs/Documents/update_index_values.md )
332- - [ Modify Documents] ( docs/Documents/modify_documents.md )
333- - [ Clip/Unclip & Staple/Unstaple] ( docs/Documents/clip-unclicp_and_staple-unstaple.md )
334- - [ Annotations & Stamps] ( docs/Documents/annotations-stamps.md )
335- - [ Documents Trash Bin] ( docs/Documents/documents-trash-bin.md )
336- - [ Application Properties] ( docs/Documents/application_properties.md )
337- - [ Sections] ( docs/Documents/sections.md )
338- - [ Download] ( docs/Documents/download.md )
339- - [ Workflow] ( docs/workflow.md )
319+ The following sections provide examples for each available request type. All functionality is documented inline below with code examples.
340320
341321#### Organization
342322
@@ -1699,6 +1679,7 @@ return [
16991679 | Cache driver
17001680 |--------------------------------------------------------------------------
17011681 | You may like to define a different cache driver than the default Laravel cache driver.
1682+ | In Laravel 12+, CACHE_STORE is used instead of CACHE_DRIVER.
17021683 |
17031684 */
17041685
@@ -1768,6 +1749,24 @@ return [
17681749 'driver' => env('DOCUWARE_CACHE_DRIVER', env('CACHE_STORE', env('CACHE_DRIVER', 'file'))),
17691750 'lifetime_in_seconds' => env('DOCUWARE_CACHE_LIFETIME_IN_SECONDS', 60),
17701751 ],
1752+ 'request' => [
1753+ 'timeout_in_seconds' => env('DOCUWARE_TIMEOUT', 60),
1754+ ],
1755+
1756+ 'client_id' => env('DOCUWARE_CLIENT_ID', 'docuware.platform.net.client'),
1757+ 'scope' => env('DOCUWARE_SCOPE', 'docuware.platform'),
1758+ ],
1759+
1760+ /*
1761+ |--------------------------------------------------------------------------
1762+ | Tests
1763+ |--------------------------------------------------------------------------
1764+ |
1765+ */
1766+ 'tests' => [
1767+ 'file_cabinet_id' => env('DOCUWARE_TESTS_FILE_CABINET_ID'),
1768+ 'dialog_id' => env('DOCUWARE_TESTS_DIALOG_ID'),
1769+ 'basket_id' => env('DOCUWARE_TESTS_BASKET_ID'),
17711770 ],
17721771];
17731772```
@@ -1783,18 +1782,19 @@ cp phpunit.xml.dist phpunit.xml
17831782Modify environment variables in the phpunit.xml-file:
17841783
17851784``` xml
1786- <env name =" DOCUWARE_TOKEN" value =" " />
17871785<env name =" DOCUWARE_URL" value =" https://domain.docuware.cloud" />
17881786<
env name =
" DOCUWARE_USERNAME" value =
" [email protected] " />
17891787<env name =" DOCUWARE_PASSWORD" value =" password" />
17901788<env name =" DOCUWARE_PASSPHRASE" value =" passphrase" />
17911789<env name =" DOCUWARE_TIMEOUT" value =" 30" />
1790+ <env name =" DOCUWARE_CACHE_DRIVER" value =" file" />
17921791<env name =" DOCUWARE_CACHE_LIFETIME_IN_SECONDS" value =" 0" />
1792+ <env name =" DOCUWARE_CLIENT_ID" value =" docuware.platform.net.client" />
1793+ <env name =" DOCUWARE_SCOPE" value =" docuware.platform" />
17931794
17941795<env name =" DOCUWARE_TESTS_FILE_CABINET_ID" value =" " />
17951796<env name =" DOCUWARE_TESTS_DIALOG_ID" value =" " />
17961797<env name =" DOCUWARE_TESTS_BASKET_ID" value =" " />
1797- <env name =" DOCUWARE_TESTS_ORGANIZATION_ID" value =" " />
17981798```
17991799
18001800Run the tests:
@@ -1817,8 +1817,7 @@ Please review [our security policy](.github/SECURITY.md) on how to report securi
18171817
18181818## 🙏 Credits
18191819
1820- - [ Sebastian Fix] ( https://github.com/StanBarrows )
1821- - [ Rhys Lees] ( https://github.com/RhysLees )
1820+ - [ Sebastian Bürgin-Fix] ( https://github.com/StanBarrows )
18221821- [ All Contributors] ( ../../contributors )
18231822- [ Skeleton Repository from Spatie] ( https://github.com/spatie/package-skeleton-laravel )
18241823- [ Laravel Package Training from Spatie] ( https://spatie.be/videos/laravel-package-training )
0 commit comments