定制 xitara/wn-erecht24-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Rufe den eRecht24 Premium Projekt Manager auf.
  2. 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.

  1. Per Komponente in eine CMS-Seite: Ziehe einfach die Komponente ERECHT24 RECHTSTEXTE -> eRecht 24 Ausgabe in den Editor an die gewünschte Stelle und wähle in den Einstellungen Sprache und Art des Dokuments aus.

  2. 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:

  1. Visit the eRecht24 Premium Project Manager.
  2. 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.

  1. Using a component in a CMS page: Simply drag the ERECHT24 LEGAL TEXTS -> eRecht 24 Output component into the editor at the desired location and choose the language and type of document in the settings.

  2. 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 我们能提供哪些服务?
定制开发 / 二次开发

基于 xitara/wn-erecht24-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 16
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-24