kompozytor nie ładuj klasy
composer dumpautoload -o
Alberto Peripolli
composer dumpautoload -o
require __DIR__ . '/vendor/autoload.php';
$log = new Monolog\Logger('name');
$log->pushHandler(new Monolog\Handler\StreamHandler('app.log', Monolog\Logger::WARNING));
$log->addWarning('Foo');
composer require name-of-package