This guide covers installing mini-eric components for different use cases.
System Requirements
ceric/cotto Binary Requirements
Operating System : Linux, macOS, or Windows
Linux: glibc 2.17+ and libgcc_s 4.2+
Certificate : Valid ELSTER certificate for send/transmit operations
PHP SDK Requirements
PHP Extensions : dom, libxml, mbstring, simplexml
ERiC Binary : The ceric binary (included in the parent repository)
Installation Methods
Method 1: PHP SDK (Recommended)
The PHP SDK is the easiest way to get started as it includes the ceric binary and provides a clean object-oriented interface.
Install via Composer
Verify Installation
Method 2: ceric Binary Only
If you prefer to use the command-line tool directly or integrate it into non-PHP applications:
Download Binary
Binares are shared online from a secured server which required authentification.
circle-check
Link with credentials is provided individually to each customer.
ERiC Libraries Setup
The ceric binary requires ERiC libraries to function. These must be placed in the correct directory structure:
PHP SDK : vendor/bin/eric-plugins/
Standalone ceric : bin/eric/plugins/
You can specify a custom ERiC plugins path:
Certificate Setup
For send and transmit operations, you need a valid ELSTER certificate:
Environment Variables
Set these environment variables:
Note: For complete environment variable configuration including all available variables, see Environment Variables .
If not set, ceric will use these defaults:
Certificate : bin/eric/test-softorg-pse.pfx
circle-exclamation
The default certificate is for testing only. Use a valid ELSTER certificate for production operations.
Test your installation:
Troubleshooting
Binary Not Found
Solution : Ensure the ceric binary exists and is executable. Check the path in your PHP SDK or specify the correct path.
ERiC Libraries Missing
Solution : Verify ERiC libraries are in the correct directory structure.
Certificate Issues
Solution : Check that your certificate file exists and the PIN is correct. Verify environment variables are set properly.