{"id":28495821,"url":"https://github.com/thedevdojo/auth","last_synced_at":"2025-07-02T10:31:24.703Z","repository":{"id":233638580,"uuid":"787509773","full_name":"thedevdojo/auth","owner":"thedevdojo","description":"This is the repo for the DevDojo Auth package","archived":false,"fork":false,"pushed_at":"2025-05-07T13:08:29.000Z","size":1122,"stargazers_count":598,"open_issues_count":20,"forks_count":52,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-02T09:47:23.456Z","etag":null,"topics":["auth","authentication","laravel","login","register","users"],"latest_commit_sha":null,"homepage":"https://devdojo.com/auth","language":"Blade","has_issues":false,"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/thedevdojo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-16T16:55:23.000Z","updated_at":"2025-05-30T11:40:19.000Z","dependencies_parsed_at":"2024-04-22T23:31:31.857Z","dependency_job_id":"4c10f9f7-7dcf-4f90-826e-f18524990291","html_url":"https://github.com/thedevdojo/auth","commit_stats":null,"previous_names":["thedevdojo/auth"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/thedevdojo/auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevdojo%2Fauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevdojo%2Fauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevdojo%2Fauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevdojo%2Fauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedevdojo","download_url":"https://codeload.github.com/thedevdojo/auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedevdojo%2Fauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263120622,"owners_count":23416857,"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":["auth","authentication","laravel","login","register","users"],"created_at":"2025-06-08T11:37:41.326Z","updated_at":"2025-07-02T10:31:24.693Z","avatar_url":"https://github.com/thedevdojo.png","language":"Blade","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://devdojo.com\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.devdojo.com/images/april2024/dd-auth-logo.png\" width=\"auto\" height=\"64px\" alt=\"Auth Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/thedevdojo/auth/actions\"\u003e\u003cimg src=\"https://github.com/thedevdojo/auth/workflows/tests/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/devdojo/auth\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/devdojo/auth\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/devdojo/auth\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/devdojo/auth\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/devdojo/auth\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/devdojo/auth\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nAuth is a plug'n play authentication package for any \u003ca href=\"https://laravel.com\" target=\"_blank\"\u003eLaravel application\u003c/a\u003e. We have closed **issues** for this repo and are recommending that anyone who wants to report an issue or make a suggestion to do so here: [https://devdojo.com/questions](https://devdojo.com/questions). Additionally, we are open to any kind of Pull Request 😉\n\n\u003ca href=\"https://devdojo.com/auth\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.devdojo.com/images/june2024/devdojo-auth-image.png\" class=\"w-full h-full\" style=\"border-radius:10px\" /\u003e\u003c/a\u003e\n\nBe sure to visit the official documentation at \u003ca href=\"https://devdojo.com/auth/docs\" target=\"_blank\"\u003ehttps://devdojo.com/auth/docs\u003c/a\u003e\n\n## Installation\n\nYou can install this package into any new Laravel application, or any of the available \u003ca href=\"https://devdojo.com/auth/docs/install\" target=\"_blank\"\u003eLaravel Starter Kits\u003c/a\u003e.\n\n```\ncomposer require devdojo/auth\n```\n\nAfter the package has been installed you'll need to publish the authentication assets, configs, and more:\n\n```\nphp artisan vendor:publish --tag=auth:assets\nphp artisan vendor:publish --tag=auth:config\nphp artisan vendor:publish --tag=auth:ci\nphp artisan vendor:publish --tag=auth:migrations\n```\n\nNext, run the migrations:\n\n```php\nphp artisan migrate\n```\n\nFinally extend the Devdojo User Model:\n\n```\nuse Devdojo\\Auth\\Models\\User as AuthUser;\n\nclass User extends AuthUser\n```\n\nin your `App\\Models\\User` model. \n\nNow, you're ready to rock! Auth has just been installed and you'll be able to visit the following authentication routes:\n\n - Login (project.test/auth/login)\n - Register (project.test/auth/register)\n - Forgot Password (project.test/auth/register)\n - Password Reset (project.test/auth/password/reset)\n - Password Reset Token (project.test/auth/password/ReAlLyLoNgPaSsWoRdReSeTtOkEn)\n - Password Confirmation (project.test/auth/password/confirm)\n - Two-Factor Challenge (project.test/auth/two-factor-challenge)\n  \nYou'll also have access to the Two Factor Setup page\n\n - Two-Factor Setup (project.test/user/two-factor-authentication)\n\nWhen you need to logout, you can visit the Logout route\n\n- Logout Route (project.test/auth/logout)\n\n## (Optional) Adding the HasSocialProviders Trait.\n\nYou can add all the social auth helpers to your user model by including the following Trait:\n\n```php\n\u003c?php\n\nnamespace App\\Models;\n\nuse Devdojo\\Auth\\Traits\\HasSocialProviders; // Import the trait\n\nclass User extends Devdojo\\Auth\\Models\\User\n{\n    use HasSocialProviders; // Use the trait in the User model\n\n    // Existing User model code...\n}\n```\n\n## License\n\nThe DevDojo Auth package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedevdojo%2Fauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedevdojo%2Fauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedevdojo%2Fauth/lists"}