sevenshores/encryption-compat

Encryption Service Provider for Laravel < 5.1 for PHP 7.1 compatibility

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/sevenshores/encryption-compat

v5.0.0 2017-02-20 09:11 UTC

This package is auto-updated.

Last update: 2025-09-29 02:08:36 UTC


README

Encryption compatibility for Laravel < 5.1 on PHP 7.1

Install

  • composer require "sevenshores/encryption-compat:~5.0"
  • remove 'Illuminate\Encryption\EncryptionServiceProvider' from config/app.php
  • add 'SevenShores\EncryptionCompat\EncryptionServiceProvider' to config/app.php
  • change cipher to 'AES-128-CBC' in config/app.php
  • run php artisan key:generate

Notes

Use at your own risk.

License

MIT

Thanks

  • @sisve for the idea
  • Laravel for the code. I mostly sliced up existing code.