{"id":91573,"library":"tuupola-slim-jwt-auth","title":"Slim JWT Auth","description":"PSR-7 and PSR-15 JWT Authentication Middleware.","status":"active","version":"3.8.0","language":"php","source_language":null,"source_url":"https://github.com/tuupola/slim-jwt-auth","tags":["jwt","authentication","middleware","slim","psr-7","psr-15"],"install":[{"cmd":"composer require tuupola/slim-jwt-auth","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"JwtAuthentication","correct":"use Tuupola\\Middleware\\JwtAuthentication;"}],"quickstart":{"code":"<?php\nrequire 'vendor/autoload.php';\n\nuse Tuupola\\Middleware\\JwtAuthentication;\n\n$app = new \\Slim\\App();\n\n$app->add(new JwtAuthentication([\n    \"secret\" => \"supersecretkeyyoushouldnotcommit\"\n]));\n\n$app->get('/protected', function ($request, $response) {\n    return $response->write('Protected route');\n});\n\n$app->run();","lang":"php","description":"Add JWT authentication middleware to a Slim application."},"warnings":[{"fix":"Check migration guide if upgrading from 2.x.","message":"Version 3.x uses a different configuration format than 2.x.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'-15':8,19 '-7':5,17 'auth':3 'authent':10,13 'jwt':2,9,12 'middlewar':11,14 'psr':4,7,16,18 'slim':1,15","created_at":"2026-06-19T09:19:41.169353+00:00","updated_at":"2026-06-19T09:19:41.169353+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://github.com/tuupola/slim-jwt-auth","github":"https://github.com/tuupola/slim-jwt-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}}