{"id":20364737,"url":"https://github.com/devsavage/slim-3-authentication","last_synced_at":"2026-02-28T02:44:29.149Z","repository":{"id":56966985,"uuid":"55471661","full_name":"devsavage/slim-3-authentication","owner":"devsavage","description":"A Slim 3 authentication system.","archived":false,"fork":false,"pushed_at":"2019-09-18T07:51:52.000Z","size":310,"stargazers_count":42,"open_issues_count":2,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T04:46:06.555Z","etag":null,"topics":["authentication","slim-3","slim-framework","slim3","slimframework"],"latest_commit_sha":null,"homepage":"","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/devsavage.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-04-05T05:58:39.000Z","updated_at":"2024-12-15T21:44:14.000Z","dependencies_parsed_at":"2022-08-21T06:10:25.156Z","dependency_job_id":null,"html_url":"https://github.com/devsavage/slim-3-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devsavage/slim-3-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsavage%2Fslim-3-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsavage%2Fslim-3-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsavage%2Fslim-3-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsavage%2Fslim-3-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsavage","download_url":"https://codeload.github.com/devsavage/slim-3-authentication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsavage%2Fslim-3-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29923428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":["authentication","slim-3","slim-framework","slim3","slimframework"],"created_at":"2024-11-15T00:13:14.994Z","updated_at":"2026-02-28T02:44:29.135Z","avatar_url":"https://github.com/devsavage.png","language":"PHP","readme":"# Slim 3 Authentication\nA very easy to use Slim 3 authentication system.\n\n[![Latest Unstable Version](https://poser.pugx.org/devsavage/slim-3-authentication/v/unstable?format=flat-square)](https://packagist.org/packages/devsavage/slim-3-authentication)\n[![License](https://poser.pugx.org/devsavage/slim-3-authentication/license?format=flat-square)](https://packagist.org/packages/devsavage/slim-3-authentication)\n\nIf you stumble upon any vulnerabilities within this package, more importantly with the role/permission system, please send your findings to: **savage@savagedev.io**.  \n\n## Getting Started\n\n### Prerequisites\n\nYou will need the following to get started:\n\n* A web server with URL rewriting\n - PHP 5.5 or newer\n - A SSL certificate will be required in production environments! Check out [HTTPS Is Easy](https://httpsiseasy.com/) for help setting this up!  \n* [Composer](https://getcomposer.org/)\n* [Yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/)\n\n### Installing\n#### Clone the project:\n```\ngit clone https://github.com/devsavage/slim-3-authentication.git your-project-name\n```\n\n#### Install the composer dependencies:\n```bash\n$ cd your-project-name \u0026\u0026 composer install\n```\n\n#### Inside your project folder, install the node dependencies using yarn or npm:\n```bash\n$ yarn install\n```\n\n#### Rename *_.env-example_* to *_.env_*\n\n#### Update *_.env_* to your project's configuration\n```bash\nAPP_ENV=development\n```\nYou will need to update the **APP_ENV** variable to \"production\" when serving your application outside of a local environment!\n\n#### Build assets (prodution or development)\n```bash\n$ yarn prod\n```\n\n```bash\n$ yarn dev\n```\n#### Database and Admin\n1. Import auth.sql file to your database.\n2. Open your site, register a new user and click on activation link sent to your email\n3. Go to **phpMyAdmin**, select **user_roles** table and insert a new record. Select your user on **user_id** field, select \"superadmin\" on **role_id** field and confirm.\n4. Login on site to see \"Admin Dashboard\" on header menu \n\n#### Migrations and Seeds\nCreate migration file\n```bash\nphp phinx create MigrationName\n```\nCreate seed file\n```bash\nphp phinx seed:create SeedName\n```\nRun migrations\n```bash\nphp phinx migrate\n```\nRun seeds\n```bash\nphp phinx seed:run\n```\nUse `php phinx` on terminal to see all available command list.\n\n#### You will also need Google reCAPTCHA API keys. Get them [here](https://www.google.com/recaptcha).\n\n*If you would like to completely disable reCAPTCHA, see this [page](https://github.com/devsavage/slim-3-authentication/wiki/Completely-remove-reCAPTCHA)*\n\n### Check out the [wiki](https://github.com/devsavage/slim-3-authentication/wiki/) for more information and details on how to add new controllers, routes and more.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsavage%2Fslim-3-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsavage%2Fslim-3-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsavage%2Fslim-3-authentication/lists"}