2017 © Pedro Peláez
 

library laravel-openssl-encryption-4x

Laravel 4 encryption package that uses the PHP openssl extension

image

anotherzero/laravel-openssl-encryption-4x

Laravel 4 encryption package that uses the PHP openssl extension

  • Tuesday, January 30, 2018
  • by anotherZero
  • Repository
  • 1 Watchers
  • 0 Stars
  • 173 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

laravel-openssl-encryption

Laravel 4 encryption package that uses the PHP openssl extension., (*1)

It can replace the default Laravel 4 encryption core package that uses the PHP mcrypt extension., (*2)

It has been created to run Laravel 4 apps on the Google App Engine for PHP platform that currently (may 2013) does not support the mcrypt extension., (*3)

Installation

Add the anotherzero/laravel-openssl-encryption package to your composer.json file., (*4)

"require": {
    "laravel/framework": "4.0.*",
    "anotherzero/laravel-openssl-encryption-4x": "1.0.*"
},

Install the package., (*5)

$ php composer.phar install

In the app/config/app.php file, register the LaravelOpensslEncryptionServiceProvider and comment the default EncryptionServiceProvider., (*6)

'providers' => array(

    ...
    //'Illuminate\Encryption\EncryptionServiceProvider',
    'Neoxia\LaravelOpensslEncryption\LaravelOpensslEncryptionServiceProvider',
    ...

One more thing ..., (*7)

Currently, Laravel 4 checks if the PHP mcrypt extension is loaded and die if it is not !
So, to complete the installation, we have to bypass this check.
But unfortunately, this check is done in the Illuminate\Foundation\start.php script, at the heart of the framework bootstrap process., (*8)

To bypass the check, change the start.php script in the vendor\laravel\framework\src\Illuminate\Foundation folder as follow., (*9)

if ( false and ! extension_loaded('mcrypt'))
{
    die('Laravel requires the Mcrypt PHP extension.'.PHP_EOL);

    exit(1);
}

The Versions

30/01 2018

dev-master

9999999-dev

Laravel 4 encryption package that uses the PHP openssl extension

  Sources   Download

MIT

The Requires

 

by Gilles Mergoil

laravel openssl

30/01 2018

1.0.3

1.0.3.0

Laravel 4 encryption package that uses the PHP openssl extension

  Sources   Download

MIT

The Requires

 

by Gilles Mergoil

laravel openssl

18/02 2014

1.0.2

1.0.2.0

Laravel 4 encryption package that uses the PHP openssl extension

  Sources   Download

MIT

The Requires

 

by Gilles Mergoil

laravel openssl

17/02 2014

1.0.1

1.0.1.0

Laravel 4 encryption package that uses the PHP openssl extension

  Sources   Download

MIT

The Requires

 

by Gilles Mergoil

laravel openssl

31/05 2013

1.0

1.0.0.0

Laravel 4 encryption package that uses the PHP openssl extension

  Sources   Download

MIT

The Requires

 

by Gilles Mergoil

laravel openssl