{"id":28905638,"url":"https://github.com/luyadev/luya-module-basicauth","last_synced_at":"2026-01-20T17:13:37.586Z","repository":{"id":46575355,"uuid":"54634203","full_name":"luyadev/luya-module-basicauth","owner":"luyadev","description":"LUYA Module to replace the htaccess basic auth as it does not work in angular context.","archived":false,"fork":false,"pushed_at":"2022-05-25T14:23:31.000Z","size":3002,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-29T00:23:47.442Z","etag":null,"topics":["authorization","hacktoberfest","htaccess","luya"],"latest_commit_sha":null,"homepage":"https://luya.io","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/luyadev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-24T10:37:01.000Z","updated_at":"2021-10-12T06:46:09.000Z","dependencies_parsed_at":"2022-08-26T02:42:42.124Z","dependency_job_id":null,"html_url":"https://github.com/luyadev/luya-module-basicauth","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/luyadev/luya-module-basicauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyadev%2Fluya-module-basicauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyadev%2Fluya-module-basicauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyadev%2Fluya-module-basicauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyadev%2Fluya-module-basicauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luyadev","download_url":"https://codeload.github.com/luyadev/luya-module-basicauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyadev%2Fluya-module-basicauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":["authorization","hacktoberfest","htaccess","luya"],"created_at":"2025-06-21T13:31:09.152Z","updated_at":"2026-01-20T17:13:37.579Z","avatar_url":"https://github.com/luyadev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BASIC AUTH LUYA MODULE\n\n[![LUYA](https://img.shields.io/badge/Powered%20by-LUYA-brightgreen.svg)](https://luya.io)\n![Tests](https://github.com/luyadev/luya-module-basicauth/workflows/Tests/badge.svg)\n[![Total Downloads](https://poser.pugx.org/luyadev/luya-module-basicauth/downloads)](https://packagist.org/packages/luyadev/luya-module-basicauth)\n[![Latest Stable Version](https://poser.pugx.org/luyadev/luya-module-basicauth/v/stable)](https://packagist.org/packages/luyadev/luya-module-basicauth)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/0431f013a2b0dff94265/test_coverage)](https://codeclimate.com/github/luyadev/luya-module-basicauth/test_coverage)\n\nAdds the typical htaccess auth dialog before each request. This module is made as angular does have problems with basic htaccess authentifications in the administration area.\n\n## Installation \u0026 Usage\n\nAdd the `luyadev/luya-module-basicauth` package to your composer config:\n\n```sh\ncomposer require luyadev/luya-module-basicauth\n```\n\nAdd the module to your configuration in the modules section.\n\n```php\n'modules' =\u003e [\n    //...\n    'basicauth' =\u003e [\n        'class' =\u003e 'luya\\basicauth\\Module',\n        'password' =\u003e '\u003cDEFINE_THE_PASSWORD_HERE\u003e',\n    ]\n]\n```\n\nAs the module checks the authentication status on before each request, you have to bootstrap the module inside the bootstrap section of your config:\n\n```php\n'bootstrap' =\u003e [\n    'basicauth',\n],\n```\n\nAll frontend requests are now protected with your entered password from the config.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluyadev%2Fluya-module-basicauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluyadev%2Fluya-module-basicauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluyadev%2Fluya-module-basicauth/lists"}