Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

composer autoload

require __DIR__ . '/vendor/autoload.php';

$log = new MonologLogger('name');
$log->pushHandler(new MonologHandlerStreamHandler('app.log', MonologLogger::WARNING));
$log->addWarning('Foo');
Source by getcomposer.org #
 
PREVIOUS NEXT
Tagged: #composer #autoload
ADD COMMENT
Topic
Name
2+3 =