oh86/sm-cryptor-other

v1.0.1 2025-09-23 01:24 UTC

This package is auto-updated.

Last update: 2025-09-23 01:25:41 UTC


README

1.配置 config/sm_cryptor.php

return [
    // local / telecom / unicom / other
    'driver' => env('SM_CRYPTOR_DRIVER', 'local'),

    // ...

    // 其他密码机
    'other' => [
        'host' => env('OTHER_CRYPTOR_HOST'),
    ],
];

2.配置 .env

SM_CRYPTOR_DRIVER=other
OTHER_CRYPTOR_HOST=http://127.0.0.1:8080