PHP code example of marufmax / deja-vu

1. Go to this page and download the library: Download marufmax/deja-vu 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/ */

    

marufmax / deja-vu example snippets

shell
apt install -y php-pear

echo "extension=redis.so" > /etc/php/7.YOUR_PHP_VERSION/mods-available/redis.in

ln -sf /etc/php/7.YOUR_PHP_VERSION/mods-available/redis.ini /etc/php/7.YOUR_PHP_VERSION/fpm/conf.d/20-redis.ini
ln -sf /etc/php/7.YOUR_PHP_VERSION/mods-available/redis.ini /etc/php/7.YOUR_PHP_VERSION/cli/conf.d/20-redis.ini

systemctl restart php7.YOUR_PHP_VERSION-fpm.service