{"id":86284,"library":"monolog-monolog","title":"Monolog","description":"Sends your logs to files, sockets, inboxes, databases and various web services.","status":"active","version":"3.10.0","language":"php","source_language":null,"source_url":"https://github.com/Seldaek/monolog","tags":["logging","monolog","psr-3","handler"],"install":[{"cmd":"composer require monolog/monolog","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Logger","correct":"use Monolog\\Logger;"}],"quickstart":{"code":"use Monolog\\Logger;\nuse Monolog\\Handler\\StreamHandler;\n\n$log = new Logger('name');\n$log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));\n$log->warning('Foo');","lang":"php","description":"Create a logger and write a warning to a file"},"warnings":[{"fix":"Use PHP 7.2+ or stick with Monolog 2.x.","message":"Monolog 3.x drops support for PHP <7.2; upgrade if needed.","severity":"breaking","affected_versions":">=3.0"}],"env_vars":null,"search_vec":"'-3':17 'databas':9 'file':6 'handler':18 'inbox':8 'log':4,14 'monolog':1,15 'psr':16 'send':2 'servic':13 'socket':7 'various':11 'web':12","created_at":"2026-06-19T07:58:48.551786+00:00","updated_at":"2026-06-19T07:58:48.551786+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Seldaek/monolog","github":"https://github.com/Seldaek/monolog","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}