https://github.com/ryanwinchester/encryption-compat
Use Laravel < 5.1 with PHP 7.1
https://github.com/ryanwinchester/encryption-compat
fix laravel mcrypt
Last synced: 23 days ago
JSON representation
Use Laravel < 5.1 with PHP 7.1
- Host: GitHub
- URL: https://github.com/ryanwinchester/encryption-compat
- Owner: ryanwinchester
- Created: 2017-02-20T07:51:18.000Z (over 8 years ago)
- Default Branch: 5.0
- Last Pushed: 2017-02-22T07:35:21.000Z (over 8 years ago)
- Last Synced: 2025-03-12T16:17:14.917Z (3 months ago)
- Topics: fix, laravel, mcrypt
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# EncryptionCompat
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](https://github.com/sisve) for the idea
- [Laravel](https://github.com/laravel/laravel) for the code. I mostly sliced up existing code.