{"id":56879,"library":"twirl-api-2-12","title":"Twirl API","description":"Twirl template engine API for Play Framework (Scala 2.12).","status":"active","version":"1.6.10","language":"java","source_language":null,"source_url":"https://github.com/playframework/twirl","tags":["twirl","template","play","html"],"install":[{"cmd":"<dependency>\n  <groupId>com.typesafe.play</groupId>\n  <artifactId>twirl-api_2.12</artifactId>\n  <version>1.6.10</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.typesafe.play:twirl-api_2.12:1.6.10'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Html","correct":"play.twirl.api.Html"}],"quickstart":{"code":"import play.twirl.api.Html\n\nval htmlContent: Html = Html(\"<h1>Hello, Twirl!</h1>\")\nprintln(htmlContent.body)","lang":"scala","description":"Create and render Twirl HTML template"},"warnings":[],"env_vars":null,"search_vec":"'2.12':11 'api':2,6 'engin':5 'framework':9 'html':15 'play':8,14 'scala':10 'templat':4,13 'twirl':1,3,12","created_at":"2026-06-15T10:53:46.328578+00:00","updated_at":"2026-06-15T10:53:46.328578+00:00","problems":[],"ecosystem":"maven","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/playframework/twirl","github":"https://github.com/playframework/twirl","docs":"https://appdoc.app/artifact/com.typesafe.play/twirl-api_2.12/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}