{"id":19904163,"url":"https://github.com/bertptrs/gatekeeper-utils","last_synced_at":"2026-07-17T08:37:54.305Z","repository":{"id":34786127,"uuid":"38769575","full_name":"bertptrs/gatekeeper-utils","owner":"bertptrs","description":"A suite of gatekeeper utilities for the Mako PHP framework.","archived":false,"fork":false,"pushed_at":"2017-08-16T09:42:12.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-30T21:43:45.948Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertptrs.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}},"created_at":"2015-07-08T17:36:31.000Z","updated_at":"2016-11-21T17:48:42.000Z","dependencies_parsed_at":"2022-09-15T09:53:01.270Z","dependency_job_id":null,"html_url":"https://github.com/bertptrs/gatekeeper-utils","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/bertptrs/gatekeeper-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fgatekeeper-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fgatekeeper-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fgatekeeper-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fgatekeeper-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertptrs","download_url":"https://codeload.github.com/bertptrs/gatekeeper-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fgatekeeper-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35575276,"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-07-17T02:00:06.162Z","response_time":116,"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-12T20:27:10.471Z","updated_at":"2026-07-17T08:37:54.281Z","avatar_url":"https://github.com/bertptrs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gatekeeper Utils\nThis package contains tools and commands for the [Mako framework](http://makoframework.com/) authentication plugin [Gatekeeper](http://makoframework.com/docs/4.5/security:authentication).\n\nFor now, the package contains some commands and a filter, but more will be added if needed. Feel free to fork to file an issue if there are missing features.\n\n## Installation\nInstallation is done using [composer](https://getcomposer.org/). The package has a compatible Mako version specified so you don't have to worry about which version to use.\n\n```\ncomposer require bertptrs/gatekeeper-utils:*\n```\n\nAfter that, you need to register the package to be loaded. This is specified in the `app/config/application.php` file.\n\n```php\n\u003c?php\nreturn [\n    // The rest of your config\n  'packages' =\u003e [\n    \"core\" =\u003e [\n      'solutionweb\\gatekeeper\\utils\\GatekeeperUtilsPackage',\n    ],\n    \"cli\" =\u003e [],\n    \"web\" =\u003e [],\n  ],\n  // The other rest of your config\n];\n```\n\nI recommend that you register the package in the `core` packages, but if you only use the filters, or just the commands, you could register it in the `web` and `cli` packages respectively.\n\n## Available commands\nCurrently, there are three supported commands. These commands are registered automatically when the plugin is loaded. All commands are prefixed with `gatekeeper::` to prevent naming collisions.\n- `user.create` helps you create new users.\n- `user.activate` (de)activates user accounts.\n- `user.password` can set new passwords for users.\n- `group.create` creates new groups.\n- `group.member` can add and remove members in groups.\n- `group.delete` deletes groups.\n\nFor more information about the workings and options, you can use the --help flag, like so:\n\n```\n$ php app/reactor gatekeeper::user.create --help\n\nCommand:\n\nphp reactor gatekeeper::user.create\n\nDescription:\n\nCreate a new user.\n\nOptions:\n\n----------------------------------------------------------------\n| Name       | Description                          | Optional |\n----------------------------------------------------------------\n| noactivate | Do not activate the user by default. | true     |\n----------------------------------------------------------------\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fgatekeeper-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertptrs%2Fgatekeeper-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fgatekeeper-utils/lists"}