PHP code example of ivanvoitovych / redis-repository
1. Go to this page and download the library: Download ivanvoitovych/redis-repository 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/ */
ivanvoitovych / redis-repository example snippets
use RedisDb\Models\BaseEntity;
class BlogPost extends BaseEntity
{
public string $Title;
public string $SeoTitle;
public string $Body;
public string $Author;
public int $DisplayOrder = 0;
public bool $Published = false;
public int $Group = 0;
}