PHP code example of samhernandez / craft-db-paths

1. Go to this page and download the library: Download samhernandez/craft-db-paths 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/ */

    

samhernandez / craft-db-paths example snippets


return [
    'modules' => [
        'craft-db-paths' => \samhernandez\craftdbpaths\CraftDbPaths::class,
    ],
    'bootstrap' => ['craft-db-paths'],
];

mysqldump […options…] {database} > {file}'