1. Go to this page and download the library: Download daltcore/registery 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/ */
daltcore / registery example snippets
namespace App\Registeries;
use DALTCORE\Registery\Registery;
class Config extends Registery {
/**
* These properties are optional!
*/
protected $engine = Registery::JSONDB; // Registery::MEMORYDB Registery::NULLDB
protected $prefix = ''; // Prefix for the "keys"
protected $table = 'configs'; // Table name
}