{"id":27182786,"url":"https://github.com/ismoreirakt/pogger","last_synced_at":"2025-04-09T15:17:02.210Z","repository":{"id":286808769,"uuid":"962337147","full_name":"IsMoreiraKt/Pogger","owner":"IsMoreiraKt","description":"PHP library for log generation and management.","archived":false,"fork":false,"pushed_at":"2025-04-09T09:44:04.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T15:16:56.883Z","etag":null,"topics":["logging","logging-library","php","php-library"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/ismoreirakt/pogger","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IsMoreiraKt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-08T02:24:24.000Z","updated_at":"2025-04-09T09:40:09.000Z","dependencies_parsed_at":"2025-04-08T13:46:05.471Z","dependency_job_id":"982b9863-db60-4343-98ea-66a90ecae125","html_url":"https://github.com/IsMoreiraKt/Pogger","commit_stats":null,"previous_names":["ismoreirakt/pogger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsMoreiraKt%2FPogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsMoreiraKt%2FPogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsMoreiraKt%2FPogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsMoreiraKt%2FPogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IsMoreiraKt","download_url":"https://codeload.github.com/IsMoreiraKt/Pogger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055268,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logging","logging-library","php","php-library"],"created_at":"2025-04-09T15:17:01.598Z","updated_at":"2025-04-09T15:17:02.198Z","avatar_url":"https://github.com/IsMoreiraKt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pogger\n\nPogger is a simple and flexible PHP logging library that provides various log levels and output channels. You can easily integrate it into your PHP projects to manage and customize log messages in different ways.\n\n\u003cbr\u003e\n\n## How to Install\n\n### With Composer\n\nIf you're using Composer in your project (which you should), just run:\n\n```bash\ncomposer require ismoreirakt/pogger\n```\n\nThis will download the latest stable release and make Pogger available through autoload.\n\n### Without Composer\n\nIf you're not using Composer globally or prefer to clone the repo directly:\n\n#### Prerequisites\n\nTo use Pogger, you need the following:\n\n1. **PHP**: 7.4 or higher is recommended;\n2. **Composer**: For managing dependencies;\n\n#### Clone de Repository\n\n```bash\ngit clone --branch v0.0.1 --depth 1 https://github.com/IsMoreiraKt/Pogger\ncd Pogger\n```\n\n#### Installing Dependencies\n\nInside the project directory, install the required dependencies:\n\n```bash\ncomposer install\n```\n\nYou can now include the library manually in your code or set up autoloading via vendor/autoload.php.\n\n\u003cbr\u003e\n\n## How to Use the Library\n\nPogger provides a Log class with static methods for logging messages at various levels. You can use the library with just a few lines of code.\n\n#### Example Usage:\n\n```php\n\u003c?php\n\nuse Pogger\\Log;\n\nLog::success(\"The operation was successful!\");\nLog::error(\"A system error occurred!\");\nLog::info(\"Here is some additional info.\");\n```\n\n#### Example with Context:\n\nYou can also pass an optional context (as an array) to include additional information with the log message.\n\n```php\nLog::error(\n    \"A system error occurred.\",\n    [\n        'exception' =\u003e $exception,\n        'file' =\u003e $file\n    ]\n);\n```\n\n\u003cbr\u003e\n\n## License\n\nThis project is released under the [MIT license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismoreirakt%2Fpogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismoreirakt%2Fpogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismoreirakt%2Fpogger/lists"}