PHP code example of ashleydawson / deskpro-hab

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

    

ashleydawson / deskpro-hab example snippets


# app/BUILD/tests/config/config.all.php

// ...

$CONFIG['database'] = [
    'host'     => '127.0.0.1',
    'user'     => 'root',
    'password' => 'root',
    'dbname'   => $dbName.$dbPostfix,
    'login-path' => 'local', // Append this parameter
];

// ...
bash
$ php hab.phar init
bash
$ php hab.phar self-update
bash
$ php hab.phar init --force