{"id":20012850,"url":"https://github.com/erdiko/users","last_synced_at":"2025-10-17T13:42:33.351Z","repository":{"id":56978616,"uuid":"73363238","full_name":"Erdiko/users","owner":"Erdiko","description":"User bundle for php (models, authentication, \u0026 authorization)","archived":false,"fork":false,"pushed_at":"2017-08-24T18:39:20.000Z","size":257,"stargazers_count":7,"open_issues_count":5,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T12:21:10.234Z","etag":null,"topics":["authentication","authorization","doctrine","erdiko","php","users"],"latest_commit_sha":null,"homepage":"http://erdiko.org/users/","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/Erdiko.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":"2016-11-10T08:47:32.000Z","updated_at":"2024-07-09T22:29:25.000Z","dependencies_parsed_at":"2022-08-21T08:10:49.358Z","dependency_job_id":null,"html_url":"https://github.com/Erdiko/users","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/Erdiko%2Fusers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erdiko%2Fusers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erdiko%2Fusers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erdiko%2Fusers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erdiko","download_url":"https://codeload.github.com/Erdiko/users/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252404170,"owners_count":21742508,"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":["authentication","authorization","doctrine","erdiko","php","users"],"created_at":"2024-11-13T07:33:37.728Z","updated_at":"2025-10-17T13:42:33.236Z","avatar_url":"https://github.com/Erdiko.png","language":"PHP","readme":"# Users\n\n[![Package version](https://img.shields.io/packagist/v/erdiko/users.svg?style=flat-square)](https://packagist.org/packages/erdiko/users)\n[![CircleCI](https://img.shields.io/circleci/project/github/Erdiko/users/develop.svg?style=flat-square)](https://circleci.com/gh/Erdiko/users)\n[![license](https://img.shields.io/github/license/erdiko/users.svg?style=flat-square)](https://github.com/Erdiko/users/blob/master/LICENSE)\n\n**Erdiko Users**\n\nThe `erdiko/users` is a package adding Service Models and AJAX endpoints for user management in a Erdiko application or your custom application. It will allow you to authenticate and authorize your users as well as create a user entity stored in a database.\n\nErdiko users leverages our [authenticate](https://github.com/Erdiko/authenticate) and [authorization](https://github.com/Erdiko/authorize) packages.\n\nInstallation\n------------\n### Install the package via Composer\n\nAdd package using composer\n\n`composer require erdiko/users`\n\n### Create \u0026 Install the DB\n\nThis package relies upon a number of database tables to store user records. You must create the database \u0026 tables before you can use this package.\n\nWe highly recomend installing the DB and tables with our install scripts found in the erdiko/user-admin repo (`scripts/install-db.sh`). More information can be found on the erdiko/user-admin README file.\n\nIf you would like to install the database manually, please use the `users\\sql\\dumps\\user-admin.sql` to create the database defintion.\n\n### Add the required routes to your Erdiko application\n\nBelow are examples of the minimum required routes to interact with the `users` package:\n\n* Login Controller OR UserAuthenticationAjax Controller Route\n    * The Login Controller exposes self-contained login/logout actions and views, these methods expose an HTML form to allow users to login\n        * `\"/[ROUTE NAME]/:action\": \"\\erdiko\\users\\controllers\\admin\\UserAjax\"`\n    * The UserAuthenticationAjax controller provides actions to manage login/logout and password related situations as forgotPass and changePassword. This route is for AJAX login \u0026 logout.\n        * `\"/[ROUTE NAME]/:action\": \"\\erdiko\\users\\controllers\\UserAuthenticationAjax\"`\n* Userajax Controller Route\n    * Provides actions relative to manage users without privileges, to have it accessible.\n        * `\"/[ROUTE NAME]]/:action\": \"\\erdiko\\users\\controllers\\UserAjax\"`\n* admin\\Userajax Controller Route\n    * Provides actions relative to manage users as admin level\n        * `\"/ROUTE NAME]/:action\": \"\\erdiko\\users\\controllers\\admin\\Userajax\"`\n\n##### Example Route Config\n\nBelow is an example config containing all the AJAX endpoints exposed by the package:\n\n```\n {\n     \"routes\": {\n         \"/ajax/users/admin/:action\": \"\\erdiko\\users\\controllers\\admin\\UserAjax\",\n         \"/ajax/users/:action\": \"\\erdiko\\users\\controllers\\UserAjax\",\n         \"/ajax/roles/:action\": \"\\erdiko\\users\\controllers\\RoleAjax\",\n         \"/ajax/auth/:action\": \"\\erdiko\\users\\controllers\\UserAuthenticationAjax\",\n         \"/users/:action\": \"\\erdiko\\users\\controllers\\Login\"\n     }\n }\n```\n\nProject Documentation\n---------------------\n\nComplete project documentation can be found on our Erdiko documentation site (coming soon). \n\nSpecial Thanks\n--------------\n\nArroyo Labs - For sponsoring development, [http://arroyolabs.com](http://arroyolabs.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdiko%2Fusers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdiko%2Fusers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdiko%2Fusers/lists"}