New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

limingxinleo/i-encryption

Illuminate Encryption for Hyperf
650 6

Larablocks Analysis

limingxinleo/i-encryption works with any PHP project: the latest release (v1.1.0, Apr 1, 2022) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Apr 1, 2022)
  • 8 downloads a month (needs 10,000)
  • 6 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 1, 2022.
  • No releases in the last 12 months.
  • First released: Feb 5, 2021.
  • Monthly downloads: 8, down 62% from six months ago.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require limingxinleo/i-encryption
Latest Version:v1.1.0
PHP:>=7.2
License:MIT
Last Updated:Apr 1, 2022
Links: GitHub  ·  Packagist
Maintainer: limingxinleo

Laravel 加密解密

illuminate/encryption

安装

composer require limingxinleo/i-encryption

配置

<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
return [
    'default' => [
        'key' => '',
        'cipher' => '',
    ],
];

使用

use Hyperf\Utils\ApplicationContext;
use Illuminate\Encryption\Contracts\Encrypter;

$encrypter = ApplicationContext::getContainer()->get(Encrypter::class);

$encrypted = $encrypter->encrypt('foo');
$decrypted = $encrypter->decrypt($encrypted);

Related Packages

hyperf/scout

Hyperf Scout provides a driver based solution to searching your Eloquent models....

196,732 6
jmiy/hyperf-i-cache-3-2

Illuminate Cache for Hyperf

47 0
hyperf/macroable

Hyperf Macroable package which come from illuminate/macroable

2,819,277 2
hyperf/collection

Hyperf Collection package which come from illuminate/collections

1,710,098 0
hyperf/stringable

Hyperf Stringable package which come from illuminate/support

1,699,542 0

Version History

Version Released PHP License
v1.1.0 >=7.2 MIT
v1.0.0 >=7.2 MIT