PHP code example of mootly / mp_secure

1. Go to this page and download the library: Download mootly/mp_secure library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mootly / mp_secure example snippets




if (!isset($mpo_errors)) { $mpo_errors  = new \mpc\mpc_errors(); }
if (!isset($mpo_secure)) { $mpo_secure  = new \mpc\mpc_secure($mpo_errors); }

$this->classRef = bin2hex(random_bytes(8)).'::'.get_class();

public checklock(string) : string|bool

public listlock(string) : array|bool

public securelock(string) : array|bool

public lock(string) : bool

public lock(string) : bool

public secure(string) : bool

public secure4prod() : bool
json
"hp": ">=8.0.0",
  "mootly/mp_errors": "*",
  "mootly/mp_secure": "*"
}