PHP code example of yana / dr

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

    

yana / dr example snippets

bash


cationInstance = new \Yana\Authentication\QuickAuthentication();
$quickLogs = new \Yana\Logs\QuickLogs($authenticationInstance);
$quickLogs->process();
bash

    /**
     * Setup Error Log file
     *
     * @author    David Raleche
     * @link      david.raleche.com
     *
     * @since     2019-05-10
     **/

return [
    'error_log_path' => '/var/log/php-fpm/www-error.log',
    'error_log_path_backup' => __DIR__.'\demo\www-error.log'
];