daniel-jorg-schuppelius / datev-filedispatcher
Project description.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:app
Requires
- php: ^7.4 || ^8.0
- daniel-jorg-schuppelius/datev-php-sdk: dev-main
- dschuppelius/php-common-toolkit: ^0.2.2
- guzzlehttp/guzzle: ^7.9
- psr/log: ^3.0@dev
Requires (Dev)
- phpunit/phpunit: ^11.3@dev
README
A tool for automatically organizing and sorting client files that are pulled from the DATEV Document Management System (DMS) into a directory. The files are moved into the corresponding client directories based on their assignment.
Functionality
The tool uses the DATEV API to automatically sort documents into the appropriate client folders. This creates a file structure that enables quick retrieval and structured storage. Various file and image formats are supported.
Note on Using with Nextcloud
datev-filedispatcher
can be used in conjunction with Nextcloud to share client files easily and securely. Since many law firms or companies still rely on email for client communication, using this tool in combination with Nextcloud provides a structured and modern alternative for document distribution. Clients have direct access to their relevant files and can stay up to date without relying on email communication. The files are directly sorted into the Nextcloud directory.
Requirements
The following tools are required to successfully run datev-filedispatcher
:
1. TIFF Tools
Required for processing and handling TIFF files.
- Windows: GnuWin32 TIFF Tools
- Debian/Ubuntu:
apt install libtiff-tools
2. Xpdf
Required for handling PDF files.
- Windows: Xpdf Download
- Debian/Ubuntu:
apt install xpdf
3. ImageMagick
For converting and processing image files.
- Windows: ImageMagick Installer
- Debian/Ubuntu:
apt install imagemagick-6.q16hdri
4. muPDF Tools
For processing PDF and XPS documents.
- Debian/Ubuntu:
apt install mupdf-tools
Installation and Usage
- Install the requirements (see above).
- Download and configure
datev-filedispatcher
. - Execution: Once files are placed in the monitored directory, the automatic sorting into the corresponding client folders begins.
Bash Script for Monitoring the Corresponding Directory
To activate the Bash script as a service on Linux, run the following commands:
sudo ln -s /path/to/your/project/config/init.d/filedispatcher /etc/init.d/filedispatcher sudo update-rc.d filedispatcher defaults
License
This project is licensed under the MIT License. For more information, see the LICENSE file. It would be nice if you consider supporting me for any commercial use.