{"id":36268852,"url":"https://github.com/phramework/system-log","last_synced_at":"2026-01-11T08:45:29.502Z","repository":{"id":57041094,"uuid":"46729880","full_name":"phramework/system-log","owner":"phramework","description":"System log package for phramework","archived":false,"fork":false,"pushed_at":"2016-01-18T21:54:07.000Z","size":139,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-26T09:21:55.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://phramework.github.io/system-log/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phramework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-23T15:38:02.000Z","updated_at":"2016-02-13T21:09:53.000Z","dependencies_parsed_at":"2022-08-23T23:30:49.864Z","dependency_job_id":null,"html_url":"https://github.com/phramework/system-log","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/phramework/system-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fsystem-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fsystem-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fsystem-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fsystem-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phramework","download_url":"https://codeload.github.com/phramework/system-log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fsystem-log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28298864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-11T08:45:28.949Z","updated_at":"2026-01-11T08:45:29.493Z","avatar_url":"https://github.com/phramework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# system-log\nsystem-log environment for phramework\n\n## Usage\n\n```bash\ncomposer require phramework/system-log\n```\n\nEdit your application's `index.php`, create a new SystemLog object and call it's `register` method before phramework is invoked.\n\nFor example:\n\n```php\n\u003c?php\nuse \\Phramework\\Phramework;\nuse \\Phramework\\SystemLog;\n\n$settings = [\n    'system-log' =\u003e [\n        'log' =\u003e '\\\\Phramework\\\\SystemLog\\\\Log\\\\TerminalLog',\n        'matrix' =\u003e [\n            'Me\\\\APP\\\\Controllers\\\\DummyController::GET'\n                =\u003e    SystemLog::LOG_REQUEST_HEADER_AGENT\n                    | SystemLog::LOG_REQUEST_PARAMS\n        ],\n        'matrix-exception' =\u003e [\n            'Exception'\n                =\u003e    SystemLog::LOG_STANDARD,\n            'Phramework\\\\Exceptions\\\\ServerException'\n                =\u003e    SystemLog::LOG_REQUEST_HEADER_AGENT\n                    | SystemLog::LOG_REQUEST_PARAMS\n                    | SystemLog::LOG_RESPONSE_BODY\n                    | SystemLog::LOG_REQUEST_HEADERS\n        ]\n    ]\n];\n\n$phramework = new Phramework(\n    $settings,\n    new \\Phramework\\URIStrategy\\URITemplate([])\n);\n\n$systemLog = new SystemLog($settings['system-log']);\n$systemLog-\u003eregister();\n\n$phramework-\u003einvoke();\n```\n\n## Development\n### Install\n\n```bash\ncomposer update\n```\n\n### Test and lint code\n\n```bash\ncomposer lint\ncomposer test\n```\n\n# License\nCopyright 2015 - 2016 Xenofon Spafaridis\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n```\nhttp://www.apache.org/licenses/LICENSE-2.0\n```\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphramework%2Fsystem-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphramework%2Fsystem-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphramework%2Fsystem-log/lists"}