PHP code example of rnr1721 / le7-testing
1. Go to this page and download the library: Download rnr1721/le7-testing 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/ */
rnr1721 / le7-testing example snippets
use Core\Testing\MegaFactory;
$megaFactory = new MegaFactory();
// Get file logger
$logger = $megaFactory->getLogger(false,'file.log');
// Get ServerRequestInterface
$request = $megaFactory->getServer()->getServerRequest('http://example.com', 'GET');
// etc...