tinywan/support

common components

v0.0.1 2022-03-24 09:07 UTC

This package is auto-updated.

Last update: 2024-11-24 15:55:47 UTC


README

Latest Stable Version Total Downloads License

handle with array/log/config/guzzle/function

Logger

use Tinywan\Support\Logger;
$logger = new Logger();
$logger->setConfig(['file' => runtime_path().'/tinywan.log']);
$logger->info('test info', ['foo' => 'bar']);

Other

composer

composer dumpautoload

phpstan

vendor/bin/phpstan analyse src

php-cs-fixer

vendor/bin/php-cs-fixer fix src

vimeo/psalm

./vendor/bin/psalm --show-info=true

https://github.com/vimeo/psalm