{"id":94007,"library":"tuupola-slim-basic-auth","title":"Slim Basic Auth","description":"PSR-7 and PSR-15 HTTP Basic Authentication Middleware","status":"active","version":"3.4.0","language":"php","source_language":null,"source_url":"https://github.com/tuupola/slim-basic-auth","tags":["authentication","middleware","psr-7","psr-15","slim","basic-auth"],"install":[{"cmd":"composer require tuupola/slim-basic-auth","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"BasicAuth","correct":"use Tuupola\\Middleware\\BasicAuth;"}],"quickstart":{"code":"use Tuupola\\Middleware\\BasicAuth;\n\n$middleware = new BasicAuth([\n    'users' => ['admin' => 'password123']\n]);\n$app->add($middleware);","lang":"php","description":"Add HTTP Basic Authentication middleware to a Slim application"},"warnings":[{"fix":"Use password_hash() and store hashed passwords","message":"Passwords must be hashed in production","severity":"gotcha","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'-15':8,18 '-7':5,16 'auth':3,22 'authent':11,13 'basic':2,10,21 'basic-auth':20 'http':9 'middlewar':12,14 'psr':4,7,15,17 'slim':1,19","created_at":"2026-06-19T09:59:25.443348+00:00","updated_at":"2026-06-19T09:59:25.443348+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://appelsiini.net/projects/slim-basic-auth","github":"https://github.com/tuupola/slim-basic-auth","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}