{"id":31049330,"url":"https://github.com/timbroddin/bauhaususer","last_synced_at":"2025-09-14T21:52:51.219Z","repository":{"id":20425157,"uuid":"23701690","full_name":"TimBroddin/bauhaususer","owner":"TimBroddin","description":"User integration for Bauhaus","archived":false,"fork":false,"pushed_at":"2014-09-05T12:12:46.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-12T04:01:02.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimBroddin.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":"2014-09-05T12:09:19.000Z","updated_at":"2016-08-09T09:53:42.000Z","dependencies_parsed_at":"2022-07-31T19:18:09.866Z","dependency_job_id":null,"html_url":"https://github.com/TimBroddin/bauhaususer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimBroddin/bauhaususer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fbauhaususer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fbauhaususer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fbauhaususer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fbauhaususer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimBroddin","download_url":"https://codeload.github.com/TimBroddin/bauhaususer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fbauhaususer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275174443,"owners_count":25418063,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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":[],"created_at":"2025-09-14T21:52:46.122Z","updated_at":"2025-09-14T21:52:51.209Z","avatar_url":"https://github.com/TimBroddin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bauhaus User - User integration for [Bauhaus](https://github.com/krafthaus/bauhaus)\n---\n\n[![Total Downloads](https://poser.pugx.org/krafthaus/bauhaususer/downloads.png)](https://packagist.org/packages/krafthaus/bauhaususer)\n[![License](https://poser.pugx.org/krafthaus/bauhaususer/license.png)](https://packagist.org/packages/krafthaus/bauhaususer)\n\nBauhaus itself is a bring-your-own-authentication kind of package and therefor does not, by default, come with a user login. To fix this you can either:\n- Use something like [Sentry](https://github.com/cartalyst/sentry)\n- Or use Bauhaus User\n\nInstallation\n---\nAdd bauhaus user to your composer.json file:\n```\n\"require\": {\n\t\"krafthaus/bauhaususer\": \"dev-master\"\n}\n```\n\nUse composer to install this package.\n```\n$ composer update\n```\n\n### Register the package\n```php\n'providers' =\u003e array(\n\t'KraftHaus\\Bauhaus\\BauhausServiceProvider', // This should already be there\n\t'KraftHaus\\BauhausUser\\BauhausUserServiceProvider'\n)\n```\n\n### Update auth.permission\nIn `app/config/packages/krafthaus/config/admin.php` update\n```php\n'auth' =\u003e [\n\t'permission' =\u003e function () {\n\t\treturn true;\n\t}\n]\n```\n\nto:\n```php\n'auth' =\u003e [\n\t'permission' =\u003e function () {\n\t\treturn Auth::check();\n\t}\n]\n```\n\n### Update auth.model\nIn `app/auth.php` update\n```php\n'model' =\u003e 'User'\n```\n\nto:\n```php\n'model' =\u003e 'KraftHaus\\BauhausUser\\User'\n```\n\n### Run the migrations\n```\n$ php artisan migrate --package=krafthaus/bauhaususer\n```\n\n### Create your first user\n```\n$ php artisan bauhaus:user:register email password [firstname] [lastname]\n```\n\nNow, when you visit the admin url you'll be presented with a brand new, ultra awesome, login screen where you can login with you newly created user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimbroddin%2Fbauhaususer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimbroddin%2Fbauhaususer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimbroddin%2Fbauhaususer/lists"}