PHP code example of typisttech / codeception-composer-project-module
1. Go to this page and download the library: Download typisttech/codeception-composer-project-module 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/ */
typisttech / codeception-composer-project-module example snippets
$I->amInTmpProjectDir();
// This is equivalent to running `$ composer update --verbose` in the console.
$I->runComposerCommand('update --verbose');
$I->runComposerInstall();
$I->getTmpProjectDir();
// To ensure real path:
$tmpProjectDir = $I->getTmpProjectDir();
$tmpProjectDir = realpath($tmpProjectDir);