PHP code example of tinywan / support
1. Go to this page and download the library: Download tinywan/support 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/ */
tinywan / support example snippets
use Tinywan\Support\Logger;
$logger = new Logger();
$logger->setConfig(['file' => runtime_path().'/tinywan.log']);
$logger->info('test info', ['foo' => 'bar']);
vendor/bin/phpstan analyse src
vendor/bin/php-cs-fixer fix src
./vendor/bin/psalm --show-info=true