2017 © Pedro Peláez
 

library polyfill-libsodium

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

image

mollie/polyfill-libsodium

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

  • Monday, May 21, 2018
  • by willemmollie
  • Repository
  • 8 Watchers
  • 8 Stars
  • 16,603 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 5 Versions
  • 29 % Grown

The README.md

Polyfill Libsodium

A simple Polyfill for giving libsodium compatibility when having sodium installed., (*1)

Build Status, (*2)

The new sodium extension has been accepted and will be distributed with PHP >= 7.2.
This will have a few breaking changes:, (*3)

  • No more \Sodium\ namespace. Everything must be in the global namespace.
  • The extension will be renamed to sodium.
  • \Sodium\randombytes_buf() and \Sodium\randombytes_random16() have been removed.

So the current namespaced functions will not work anymore. So we created a polyfill for this., (*4)

Reference: https://github.com/jedisct1/libsodium-php, (*5)

Installation

Using Composer:, (*6)

The easiest way to install is to require the polyfill-libsodium library with Composer:, (*7)

composer require mollie/polyfill-libsodium

After installation of the package the bootstrap.php file will be autoloaded., (*8)

Manual installation:
Checkout or download all the files and include them manually into your project., (*9)

Include the bootstrap file in your project:, (*10)

require 'vendor/mollie/polyfill-libsodium/bootstrap.php';

License

This software is licensed under the MIT License, (*11)

Copyright (c) 2017-2018, Mollie B.V., (*12)

The Versions

21/05 2018

dev-provide-libsodium

dev-provide-libsodium

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Martijn Smit
by Willem Stuursma-Ruwen

21/05 2018

dev-master

9999999-dev

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Martijn Smit
by Willem Stuursma-Ruwen

22/01 2018

v1.1.1

1.1.1.0

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Martijn Smit
by Willem Stuursma-Ruwen

29/12 2017

v1.1

1.1.0.0

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Martijn Smit
by Willem Stuursma-Ruwen

12/09 2017

v1.0

1.0.0.0

A polyfill package to transition from the libsodium php extension to the sodium extension. Which is included in PHP 7.2

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Martijn Smit