{"id":36279646,"url":"https://github.com/hos3ein/novel-auth","last_synced_at":"2026-01-11T09:02:27.598Z","repository":{"id":56985838,"uuid":"387421983","full_name":"hos3ein/novel-auth","owner":"hos3ein","description":"Laravel authentication with Password or OTP or both and highly configurable","archived":false,"fork":false,"pushed_at":"2023-03-19T06:12:17.000Z","size":160,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T19:53:33.810Z","etag":null,"topics":["authentication","laravel","otp","php"],"latest_commit_sha":null,"homepage":"http://novel-auth.herokuapp.com","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/hos3ein.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":"2021-07-19T10:15:06.000Z","updated_at":"2022-12-19T06:00:49.000Z","dependencies_parsed_at":"2023-01-30T03:45:32.703Z","dependency_job_id":null,"html_url":"https://github.com/hos3ein/novel-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hos3ein/novel-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hos3ein%2Fnovel-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hos3ein%2Fnovel-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hos3ein%2Fnovel-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hos3ein%2Fnovel-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hos3ein","download_url":"https://codeload.github.com/hos3ein/novel-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hos3ein%2Fnovel-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28298875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","laravel","otp","php"],"created_at":"2026-01-11T09:02:27.471Z","updated_at":"2026-01-11T09:02:27.582Z","avatar_url":"https://github.com/hos3ein.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Novel Auth\n\n[![Latest Stable Version](http://poser.pugx.org/hos3ein/novel-auth/v)](https://packagist.org/packages/hos3ein/novel-auth)\n[![Packagist Download](https://img.shields.io/packagist/dt/hos3ein/novel-auth)](https://packagist.org/packages/hos3ein/novel-auth)\n[![Latest Unstable Version](http://poser.pugx.org/hos3ein/novel-auth/v/unstable)](https://packagist.org/packages/hos3ein/novel-auth)\n[![Packagist Stars](https://img.shields.io/packagist/stars/hos3ein/novel-auth)](https://packagist.org/packages/hos3ein/novel-auth)\n[![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/hos3ein/novel-auth)](https://packagist.org/packages/hos3ein/novel-auth)\n[![License](http://poser.pugx.org/hos3ein/novel-auth/license)](https://packagist.org/packages/hos3ein/novel-auth)\n\n* Laravel authentication with Password or OTP or both and highly configurable\n\n## Sample\n\n* Source: [NovelAuth sample with multiple guard](https://github.com/hos3ein/novel-auth-sample)\n* Demo:  [http://novel-auth.herokuapp.com/](http://novel-auth.herokuapp.com)\n\n## Install\n\n```shell\ncomposer require hos3ein/novel-auth\n```\n\n```shell\nphp artisan vendor:publish --provider=\"Hos3ein\\NovelAuth\\NovelAuthServiceProvider\"\n```\n\n```shell\nphp artisan migrate\n```\n\n## The Novel Auth Service Provider\n\nThe `vendor:publish` command discussed above will also publish the `App\\Providers\\NovelAuthServiceProvider` class. You\nshould ensure this class is registered within the `providers` array of your application's `config/app.php` configuration\nfile.\n\n```php\n'providers' =\u003e [\n    // ...\n    App\\Providers\\NovelAuthServiceProvider::class\n]\n```\n\nAdd `HasOtpCodes` and `NovelAuthAuthenticatable` to your eloquent model\n\n```php\nclass User extends Authenticatable\n{\n    use HasOtpCodes, NovelAuthAuthenticatable;\n    ...\n}\n```\n\n## Final step\n\nImplement methods in `App\\Actions\\NovelAuth\\OtpManager.php` in order to do how to send SMS or make a Call and others.\n\n## License\n\nThe Novel-Auth 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%2Fhos3ein%2Fnovel-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhos3ein%2Fnovel-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhos3ein%2Fnovel-auth/lists"}