Download the PHP package alexgithubp/laravel-docuware-kubernetes without Composer
On this page you can find all versions of the php package alexgithubp/laravel-docuware-kubernetes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexgithubp/laravel-docuware-kubernetes
More information about alexgithubp/laravel-docuware-kubernetes
Files in alexgithubp/laravel-docuware-kubernetes
Package laravel-docuware-kubernetes
Short Description DocuWare integration with Laravel, with support for kubernetes pods.
License MIT
Homepage https://github.com/AlexGitHubP/laravel-docuware-kubernetes
Informations about the package laravel-docuware-kubernetes
This package was developed to give you a quick start to communicate with the DocuWare REST API. It is used to query the most common endpoints.
⚠️ This package is not designed as a replacement of the official DocuWare REST API. See the documentation if you need further functionality. ⚠️
💡 What is DocuWare?
DocuWare provides cloud document management and workflow automation software that enables you to digitize, secure and work with business documents, then optimize the processes that power the core of your business.
🛠 Requirements
- PHP:
^8.0
- Laravel:
^8.12
- DocuWare Cloud Access
⚙️ Installation
You can install the package via composer:
Add the following environment variables to your .env
file:
With the passphrase we are able to encrypt the URLs.
⚠️ You need to escape backslashes in your passphrase with another backslash:
🏗 Usage
🔍 Search usage
🖼 Make encrypted URL
Please see Tests for more details.
🏋️ DTO showcase
🔐 Authentication
You only need to provide correct credentials. Everything else is automatically handled from the package. Under the hood we are storing the authentication cookie in the cache named docuware.cookies.
But if you need further control you can use the following methods to login and logout with DocuWare:
💥 Exceptions explained
CodebarAg\DocuWare\Exceptions\UnableToMakeRequest
This is thrown if you are not authorized to make the request.
CodebarAg\DocuWare\Exceptions\UnableToProcessRequest
This is thrown if you passed wrong attributes. For example a file cabinet ID which does not exist.
CodebarAg\DocuWare\Exceptions\UnableToLogin
This exception can only be thrown during the login if the credentials did not match.
CodebarAg\DocuWare\Exceptions\UnableToFindPassphrase
This exception can only be thrown during the url making if the passphrase could not be found.
CodebarAg\DocuWare\Exceptions\UnableToMakeUrl
Something is wrong during the URL making.
Illuminate\Http\Client\RequestException
All other cases if the response is not successfully.
✨ Events
Following events will be fired:
🔧 Configuration file
You can publish the config file with:
This is the contents of the published config file:
🚧 Testing
Copy your own phpunit.xml-file.
Modify environment variables in the phpunit.xml-file:
Run the tests:
📝 Changelog
Please see CHANGELOG for more information on what has changed recently.
✏️ Contributing
Please see CONTRIBUTING for details.
🧑💻 Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
🙏 Credits
- Ruslan Steiger
- All Contributors
- Skeleton Repository from Spatie
- Laravel Package Training from Spatie
🎭 License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-docuware-kubernetes with dependencies
guzzlehttp/guzzle Version ^7.0.1
spatie/laravel-package-tools Version ^1.6