盒子
盒子
文章目录
  1. funcipher
  2. Install
  3. Usage
    1. create()
    2. ignore()
    3. Customize code
  • License
  • 【funcipher】PHP密文定制工具

    funcipher

    Custom random ciphertext

    Install

    1
    composer require "funsoul/funcipher: 2.0"

    Usage

    Global Variable

    1
    2
    3
    4
    CIPHER_USE_LOWER
    CIPHER_USE_CAPITAL
    CIPHER_USE_NUMBER
    CIPHER_USE_SPECIAL

    create()

    1
    2
    3
    4
    5
    use Funsoul\Funcipher\Funcipher;

    $cipher = new Funcipher();
    echo $cipher->create(10);
    // ,+T=!V67|E

    ignore()

    1
    2
    3
    4
    5
    use Funsoul\Funcipher\Funcipher;

    $cipher = new Funcipher();
    echo $cipher->ignore(['a',1,3,5,7])->create(10);
    // w0/22S0i2~

    Customize code

    1
    2
    3
    4
    5
    use Funsoul\Funcipher\Funcipher;

    $cipher = new Funcipher();
    echo $cipher->ignore([1,3,5,7])->create(10,[CIPHER_USE_NUMBER]);
    // 4288062890

    License

    MIT

    请我喝一杯咖啡
    扫一扫,支持funsoul
    • 微信扫一扫