asadbekrahimov/eimzo-integration
最新稳定版本:v1.0.0
Composer 安装命令:
composer require asadbekrahimov/eimzo-integration
包简介
Laravel package for E-IMZO authentication, PKCS#7 signing, verification, timestamping and demo examples.
README 文档
README
Laravel package for Uzbekistan E-IMZO authentication, PKCS#7 document signing, CRM action signing, verification, timestamping, and demo/example pages.
The package contains:
- E-IMZO browser bridge assets.
- Laravel routes and demo pages.
- Backend services for E-IMZO-SERVER.
- Models and migrations for challenges, certificates, and signatures.
- Examples for login, document signing, and CRM action signing.
Requirements
- PHP
^7.4|^8.0 - Laravel
^8.0|^9.0|^10.0 - E-IMZO desktop client on the user's computer
- E-IMZO-SERVER Java service, either directly reachable or proxied through
/frontend
^8.0 includes PHP 8.1, 8.2, 8.3, and 8.4.
Installation
composer require asadbekrahimov/eimzo-integration
For local development before publishing to Packagist:
{
"repositories": [
{
"type": "path",
"url": "../asadbekrahimov-eimzo-integration"
}
],
"require": {
"asadbekrahimov/eimzo-integration": "*"
}
}
Publish config, migrations, views, and browser assets:
php artisan vendor:publish --tag=eimzo-config php artisan vendor:publish --tag=eimzo-migrations php artisan vendor:publish --tag=eimzo-assets php artisan migrate
Publishing views is optional:
php artisan vendor:publish --tag=eimzo-views
Environment
EIMZO_SERVER_URL=http://185.xxx.xxx.123:8080 EIMZO_FRONTEND_URL=/frontend EIMZO_SERVER_TIMEOUT=20 EIMZO_SERVER_CONNECT_TIMEOUT=3 EIMZO_REQUEST_HOST= EIMZO_API_KEYS=localhost,LOCALHOST_KEY,127.0.0.1,LOCAL_IP_KEY,eimzo.test,YOUR_DOMAIN_KEY EIMZO_CHALLENGE_TTL=120 EIMZO_USER_MODEL=App\Models\User EIMZO_USER_LOOKUP_COLUMN=tin EIMZO_AUTO_REGISTER=false EIMZO_AUTH_GUARD=web EIMZO_REDIRECT_AFTER_LOGIN=/ EIMZO_ATTACH_TIMESTAMP=true EIMZO_SIGN_MODE=attached EIMZO_STORAGE_DISK=local EIMZO_STORAGE_PATH=eimzo/signatures EIMZO_ROUTES_ENABLED=true EIMZO_ROUTE_PREFIX=eimzo EIMZO_API_PREFIX=api/eimzo EIMZO_ASSET_ROUTES_ENABLED=true EIMZO_ASSET_CACHE_SECONDS=3600 EIMZO_LOCAL_PARSE=true
If your nginx/OpenServer proxy exposes the Java service through /frontend, use:
EIMZO_SERVER_URL=http://185.xxx.xxx.123:8080 EIMZO_FRONTEND_URL=/frontend
Routes
Web routes:
GET /eimzoGET /eimzo/loginGET /eimzo/signGET /eimzo/verifyGET /eimzo/examplesGET /eimzo/auth/challengePOST /eimzo/auth/verifyPOST /eimzo/signPOST /eimzo/verify
API routes are mounted under /api/eimzo by default.
Browser assets are served through:
/vendor/eimzo/vendor/e-imzo.js/vendor/eimzo/vendor/e-imzo-client.js/vendor/eimzo/eimzo.js
For production-like local servers, publish assets so nginx/apache can serve them as static JavaScript.
Examples
Open:
/eimzo/examples
Included examples:
- Login by signed challenge.
- Document signing.
- CRM action signing with canonical JSON.
See EXAMPLES.md for database storage recommendations and flow details.
For a step-by-step CRM drop-in guide, read INTEGRATION.md.
For the full feature reference (desktop + mobile API), read USAGE.md.
CRM action signing
For CRM actions, the signed document should be canonical JSON generated by the backend, for example:
{
"action": "approve_invoice",
"amount": 1500000,
"currency": "UZS",
"entity_id": 1024,
"entity_type": "invoice",
"issued_at": "2026-05-03T19:20:00+05:00",
"nonce": "example-nonce-123"
}
Store your business meaning separately and link it to eimzo_signatures.id:
signed_actions
- user_id
- action
- entity_type
- entity_id
- payload_json
- payload_hash
- signature_id
- certificate_id
- signed_at
- ip
- user_agent
Testing
composer install
composer test
asadbekrahimov/eimzo-integration 适用场景与选型建议
asadbekrahimov/eimzo-integration 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「pkcs7」 「Uzbekistan」 「digital-signature」 「e-imzo」 「eimzo」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 asadbekrahimov/eimzo-integration 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 asadbekrahimov/eimzo-integration 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 asadbekrahimov/eimzo-integration 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Библиотека для работы с производственным календарем России, Белоруссии, Казахстана и Узбекистана. Production calendar library of Russia, Belarus, Kazakhstan and Uzbekistan.
A PHP Library that allows you to decode ASN.1 CMS using Basic Encoding Rules (BER).
A PHP Library that allows you to decode and manipulate CAdES or in other words CMS Advanced Electronic Signatures described in ETSI standart TS 101 733.
Official PHP SDK for the SignDocsBrasil API — digital document signing with ICP-Brasil support
Alfabank REST API integration
Little encrypt/decrypt tools in order to crypt, decrypt, sign or verify messages, tests or files using distincts formats with the same way
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 45
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-04