Download the PHP package klongchu/laravel-docuware without Composer

On this page you can find all versions of the php package klongchu/laravel-docuware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-docuware

Latest Version on Packagist GitHub-Tests GitHub Code Style Total Downloads

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

> = v3.0

> = v2.0

> = v1.2

< v1.2

⚙️ Installation

You can install the package via composer:

Add the following environment variables to your .env file: The "DOCUWARE_COOKIES" variable is optional and only used if you want to set the request cookie manually.

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.

You can run php artisan docuware:list-auth-cookie command to get your auth session that you can use in your .env file DOCUWARE_COOKIES key.

But if you need further control you can use the following methods to login and logout with DocuWare:

Manual authentication

If you want to provide your own authentication cookie you can use the following connector to authenticate with the DocuWare REST API:

💥 Exceptions explained

This is thrown if you are not authorized to make the request.


This is thrown if you passed wrong attributes. For example a file cabinet ID which does not exist.


This exception can only be thrown during the login if the credentials did not match.


This exception can only be thrown during the login if there was no cookies in the response from the api.


This exception can only be thrown during the url making if the passphrase could not be found.


Something is wrong during the URL making.


No fields were supplied.


Something is wrong with the response from getting the document count.


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

🎭 License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-docuware with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^10.0
nesbot/carbon Version ^2.72
saloonphp/cache-plugin Version ^3.0
saloonphp/saloon Version ^3.4
saloonphp/laravel-plugin Version ^3.2
spatie/laravel-package-tools Version ^1.16
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package klongchu/laravel-docuware contains the following files

Loading the files please wait ....