New

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

tomgrohl/laravel4-php71-encrypter

Laravel 4.2 Encrypter for PHP 7.1+
261,665 42
Install
composer require tomgrohl/laravel4-php71-encrypter
Latest Version:1.1.3
PHP:>=5.6.4
License:MIT
Last Updated:Sep 24, 2021
Links: GitHub  ·  Packagist
Maintainer: tomgrohl

Latest Stable Version Latest Unstable Version License

Laravel 4.2 Encrypter for PHP 7.1+

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

Installation

You can install it using composer:

composer require tomgrohl/laravel4-php71-encrypter

Configuration

1 .Add service provider

Add the following to your providers in the app config

\Tomgrohl\Laravel\Encryption\EncryptionServiceProvider::class

2. Check Encryption Key settings in app config

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

3. You're good to go!

Credits

  • Peter Fritchley - Fellow co-worker that wrote this originally for a project

License

MIT

Related Packages

richardstyles/eloquentencryption

Allow Eloquent attributes to be encrypted and decrypted using a RSA 4096-bit pri...

17,645 108
denmasyarikin/laravel-encrypt-response

Encrypt response laravel appliction

1,180 0
jivemonkey2000/larabits

A collection of useful Laravel bits.

122 0
codezero/encrypter

Encrypt and decrypt strings in PHP.

100,562 2
sagalbot/encryptable

Allows you to store Eloquent properties encrypted in your database, and automati...

61,459 27

Version History

Version Released PHP License
1.1.3 >=5.6.4 MIT
1.1.2 >=5.6.4 MIT
1.1.1 >=5.6.4 MIT
1.1.0 >=5.6.4 MIT
1.0.0 ~7.1.0 MIT