xitara/wn-erecht24-plugin
Composer 安装命令:
composer require xitara/wn-erecht24-plugin
包简介
eRecht-24 Plugin for Winter CMS
README 文档
README
English version below
Winter CMS Plugin für e-recht24
Mit diesem Plugin kannst du Rechtstexte von e-recht24 über die API abrufen. Du kannst die Texte dann auf deiner Website verwenden.
Installation
Per Download
Lade das Plugin herunter und entpacke es in dein Winter CMS Plugin-Verzeichnis: plugins/xitara/erecht24
Mit Git
Im Hauptverzeichnis deiner Winter CMS Installation führe folgenden Befehl aus:
git clone https://github.com/xitara/wn-erecht24-plugin.git plugins/xitara/erecht24
Migration starten mit
php artisan winter:up
Per Composer
Im Hauptverzeichnis deiner Winter CMS Installation führe folgenden Befehl aus:
composer require xitara/wn-erecht24-plugin
php artisan winter:up
Konfiguration
Rufe die Einstellungen unter Einstellungen -> E-Recht24 -> E-Recht24 Rechtstexte auf.
Gib im geöffneten Installationsdialog deinen eRecht24 API-Schlüssel ein. Du findest diesen wie folgt:
- Rufe den eRecht24 Premium Projekt Manager auf.
- Klicke beim entsprechenden Projekt auf das Zahnrad-Symbol "Synchronisation". Nun kannst du entweder einen neuen API-Schlüssel generieren oder den vorhandenen API-Schlüssel kopieren.
Mit dem Button "Test starten" kannst du den API-Schlüssel auf Funktionalität testen.
WICHTIG: Aktuell wird für den Test das deutsche Impressum abgerufen. Damit der Test nicht fehlschlägt, muss dieses zwingend eingerichtet sein.
Bei den Dokumenten und Sprachen muss mindestens jeweils ein Punkt ausgewählt sein.
Im Tab "Polling" kann dann der eigentliche Import der ausgewählten Dokumente in die Datenbank erfolgen. Der automatische Abruf per Intervall ist aktuell noch nicht funktionsfähig. Ebenso hat die Einstellung im Tab "Push-Service" noch keine Funktionalität.
Einbinden in eine Seite
Es stehen zwei Möglichkeiten zur Verfügung, um die Rechtstexte in die Seite einzubinden.
-
Per Komponente in eine CMS-Seite: Ziehe einfach die Komponente
ERECHT24 RECHTSTEXTE -> eRecht 24 Ausgabein den Editor an die gewünschte Stelle und wähle in den Einstellungen Sprache und Art des Dokuments aus. -
Per Snippet in eine statische Seite: Öffne die Seite, klicke mit der Maus an die Position, an der das Snippet eingefügt werden soll, und klicke dann auf
Snippets -> eRecht 25 Ausgabe. Anschließend kannst du in den Einstellungen Sprache und Art des Dokuments auswählen.
Winter CMS Plugin for e-recht24
This plugin allows you to retrieve legal texts from e-recht24 via the API. You can then use these texts on your website.
Installation
Download
Download the plugin and unzip it into your Winter CMS plugin directory: plugins/xitara/erecht24
Using Git
In the main directory of your Winter CMS installation, execute the following command:
git clone https://github.com/xitara/wn-erecht24-plugin.git plugins/xitara/erecht24
Start migration with
php artisan winter:up
Using composer
In the main directory of your Winter CMS installation, execute the following command:
composer require xitara/wn-erecht24-plugin
php artisan winter:up
Configuration
Go to the settings under Settings -> E-Recht24 -> E-Recht24 Legal Texts.
In the opened installation dialog, enter your eRecht24 API key. You can find it as follows:
- Visit the eRecht24 Premium Project Manager.
- Click the gear icon "Synchronization" for the corresponding project. You can then either generate a new API key or copy the existing API key.
Use the "Start Test" button to test the API key's functionality.
IMPORTANT: Currently, the German imprint is fetched for the test. To ensure the test does not fail, it must be set up accordingly.
For the documents and languages, at least one point must be selected.
In the "Polling" tab, the actual import of the selected documents into the database can be done. The automatic retrieval per interval is currently not functional. Similarly, settings in the "Push-Service" tab do not have any functionality yet.
Integrating into a Page
Two methods are available to integrate the legal texts into a page.
-
Using a component in a CMS page: Simply drag the
ERECHT24 LEGAL TEXTS -> eRecht 24 Outputcomponent into the editor at the desired location and choose the language and type of document in the settings. -
Using a snippet in a static page: Open the page, click with the mouse at the position where the snippet should be inserted, and then click on
Snippets -> eRecht 25 Output. You can then select the language and type of document in the settings.
xitara/wn-erecht24-plugin 适用场景与选型建议
xitara/wn-erecht24-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 07 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「cms」 「winter」 「eRecht24」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 xitara/wn-erecht24-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 xitara/wn-erecht24-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 xitara/wn-erecht24-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Integrate with Snipcart.
Frontend User's permissions plugin for WinterCMS
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-24