{"id":21423297,"url":"https://github.com/hyperf-plus/permission","last_synced_at":"2025-03-16T20:25:47.282Z","repository":{"id":56987690,"uuid":"297208256","full_name":"hyperf-plus/permission","owner":"hyperf-plus","description":"hyperf-plus-admin 可以选用此组件，也可以用自己的permission组件","archived":false,"fork":false,"pushed_at":"2021-01-14T12:46:18.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T07:11:28.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/hyperf-plus.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":"2020-09-21T02:30:01.000Z","updated_at":"2021-01-14T12:46:20.000Z","dependencies_parsed_at":"2022-08-21T12:50:26.972Z","dependency_job_id":null,"html_url":"https://github.com/hyperf-plus/permission","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf-plus%2Fpermission","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf-plus%2Fpermission/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf-plus%2Fpermission/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf-plus%2Fpermission/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperf-plus","download_url":"https://codeload.github.com/hyperf-plus/permission/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926702,"owners_count":20370025,"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":[],"created_at":"2024-11-22T21:15:50.982Z","updated_at":"2025-03-16T20:25:47.250Z","avatar_url":"https://github.com/hyperf-plus.png","language":"PHP","readme":"# permission\nhyperf-plus-admin可选的权限插件,也可以用自己的permission组件\n\n#### 安装成功后，只需添加PermissionMiddleware中间件即可\n\n#### 此插件支持注解路由插件 \u003ca href=\"https://github.com/hyperf-plus/route/\"\u003ehyperf-plus-route\u003c/a\u003e插件的注解参数\n\n#### 如：控制器注解：ApiController\n#### 方法注解：GetApi  PostApi PutApi DeleteApi （方法上配置级别优先于控制器配置）\n- 1、userOpen 对用户开放url中的验证，\n- 2、security 为true必须验证权限  false公共开放资源\n\n#### 路由注解只在启动第一次时扫描并缓存，后续请求不会再做解析，提高性能","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperf-plus%2Fpermission","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperf-plus%2Fpermission","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperf-plus%2Fpermission/lists"}