用于替换Laravel哈希和加密机制的直接替代品。

0.1.0 2016-03-06 00:23 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:31:02 UTC


README

Build Status Total Downloads Latest Stable Version Latest Unstable Version License Gitter

这个库旨在成为一个相当广泛的加密替代方案,用于Laravel的内置方法。目标是默认情况下,它将用Simple API Security提供的兼容方法替换Laravel的加密和哈希机制。

安装方法

首先,您需要在配置目录中的app.cfg文件中安装您想要替换Laravel组件的组件。

Simple API Security Encrypter 安装

app.cfg中,将Illuminate\Encryption\EncryptionServiceProvider::class替换为SimpleAPISecurity\Laravel\Providers\EncryptionProvider::class

Simple API Security Hasher 安装

app.cfg中,将Illuminate\Hashing\HashServiceProvider::class替换为SimpleAPISecurity\Laravel\Providers\HashProvider::class