Download the PHP package pirabyte/erecht24-laravel without Composer
On this page you can find all versions of the php package pirabyte/erecht24-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pirabyte/erecht24-laravel
More information about pirabyte/erecht24-laravel
Files in pirabyte/erecht24-laravel
Package erecht24-laravel
Short Description Laravel integration for the eRecht24 Rechtstexte SDK.
License MIT
Informations about the package erecht24-laravel
eRecht24 Laravel
Laravel integration for the erecht24/rechtstexte-sdk package.
This package is a thin service layer around the official SDK. It fetches supported legal texts and returns DTOs so your application can decide how to render, cache, store, or publish them.
Installation
Publish the configuration file:
Configuration
Set the required API key:
Optional configuration:
ERECHT24_PLUGIN_KEY may be left unset when you only have an API key. ERECHT24_CACHE_STORE and ERECHT24_CACHE_PREFIX are also available in the published config.
Usage
Use the service directly:
Or use the facade:
Available service methods:
Supported Documents
Only document types supported by erecht24/rechtstexte-sdk are exposed:
imprintprivacy_policyprivacy_policy_social_media
Terms of Service documents are not supported by this package because the SDK does not expose them.
Caching
Successful responses are cached when erecht24.cache.enabled is true. Cache keys use this format:
Use clearCache() to forget all supported document cache keys, or pass a LegalTextType to clear a single document type.
Disclaimer
Pirabyte is not affiliated with, endorsed by, or sponsored by eRecht24. eRecht24 is a trademark of its respective owner.
This package is technical integration software and is not legal advice. Users are responsible for validating their legal texts and their eRecht24 account/API setup.
License
This wrapper package is open-sourced software licensed under the MIT license.
It depends on erecht24/rechtstexte-sdk, which has its own license and terms.
All versions of erecht24-laravel with dependencies
erecht24/rechtstexte-sdk Version ^1.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0