{"id":19199969,"url":"https://github.com/fusic/accesslogs","last_synced_at":"2026-06-17T03:31:19.263Z","repository":{"id":62508092,"uuid":"76158729","full_name":"fusic/accesslogs","owner":"fusic","description":"get access logs of \"controller name\", \"action name\", \"params\", \"auth.user_id\", \"client_ip\"","archived":false,"fork":false,"pushed_at":"2017-03-29T01:25:00.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-23T05:25:31.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fusic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-11T06:40:59.000Z","updated_at":"2016-12-13T05:41:52.000Z","dependencies_parsed_at":"2022-11-02T10:16:21.890Z","dependency_job_id":null,"html_url":"https://github.com/fusic/accesslogs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/fusic/accesslogs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fusic%2Faccesslogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fusic%2Faccesslogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fusic%2Faccesslogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fusic%2Faccesslogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fusic","download_url":"https://codeload.github.com/fusic/accesslogs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fusic%2Faccesslogs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34433085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-09T12:29:46.679Z","updated_at":"2026-06-17T03:31:19.246Z","avatar_url":"https://github.com/fusic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AccessLogs plugin for CakePHP\nmaintainer: @gorogoroyasu\n\n## Installation\n\n```\ncomposer require fusic/accesslogs\n```\n\n# settings\n\nin controller which you want to save logs,\n```\n$this-\u003eloadComponent('AccessLogs.AccessLogs');\n\n//in case you dont want to save some specific data,\n// you have to modify how to load the component like shown below.\n// (like, password, credit cart, etc...)\n\n$this-\u003eloadComponent('AccessLogs.AccessLogs', ['blacklist' =\u003e ['password']]);\n\n```\n\nnext, you have to exec the migration.\nplease copy the code below, and exec it!\n```\n\u003c?php\n\nuse Migrations\\AbstractMigration;\n\nclass AccessLogs extends AbstractMigration\n{\n    /**\n     * Change Method.\n     *\n     * More information on this method is available here:\n     * http://docs.phinx.org/en/latest/migrations.html#the-change-method\n     */\n    public function change()\n    {\n        $table = $this-\u003etable('access_logs');\n        $table-\u003eaddColumn('user_id',         'integer',        ['null' =\u003e true])\n              -\u003eaddColumn('controller',      'string',         ['null' =\u003e true, 'limit' =\u003e 255])\n              -\u003eaddColumn('action',          'string',         ['null' =\u003e true, 'limit' =\u003e 255])\n              -\u003eaddColumn('passes',          'string',         ['null' =\u003e true, 'limit' =\u003e 255])\n              -\u003eaddColumn('client_ip',       'string',         ['null' =\u003e true, 'limit' =\u003e 255])\n              -\u003eaddColumn('url',             'string',         ['null' =\u003e true])\n              -\u003eaddColumn('code',            'string',         ['null' =\u003e true, 'limit' =\u003e 255])\n              -\u003eaddColumn('query',           'text',           ['null' =\u003e true])\n              -\u003eaddColumn('data',            'text',           ['null' =\u003e true])\n              -\u003eaddColumn('created',         'timestamp',      ['null' =\u003e false])\n              -\u003eaddIndex('user_id')\n              -\u003eaddIndex('controller')\n              -\u003eaddIndex('action')\n              -\u003eaddIndex('passes')\n              -\u003eaddIndex('client_ip')\n              -\u003eaddIndex('code')\n              -\u003ecreate();\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusic%2Faccesslogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusic%2Faccesslogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusic%2Faccesslogs/lists"}