| Package Data | |
|---|---|
| Maintainer Username: | tomgrohl |
| Package Create Date: | 2017-05-26 |
| Package Last Update: | 2021-09-24 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-19 03:03:15 |
| Package Statistics | |
|---|---|
| Total Downloads: | 242,800 |
| Monthly Downloads: | 1,452 |
| Daily Downloads: | 62 |
| Total Stars: | 41 |
| Total Watchers: | 3 |
| Total Forks: | 11 |
| Total Open Issues: | 0 |
A port of the Laravel 5.4 Encrypter for 4.2 with PHP 7.1 support.
Due to mcrypt being deprecated in 7.1 you can't run Laravel 4.2 under PHP 7.1 without a lot of deprecate warnings.
This package adds a PHP 7.1+ Encrypter for Laravel 4.2
Note: Backward compatibility has been added in version 1.1.0 for PHP 5.6+ to make upgrading easier
You can install it using composer:
composer require tomgrohl/laravel4-php71-encrypter
Add the following to your providers in the app config
\Tomgrohl\Laravel\Encryption\EncryptionServiceProvider::class
Cipher must either be 'AES-128-CBC' with a key length of 16
OR
Cipher must either be 'AES-256-CBC' with a key length of 32
MIT