Tiny Scala high-performance, async web framework, inspired by Sinatra
Scala Other
Switch branches/tags
Clone or download
takezoe Merge pull request #853 from magnolia-k/add_parentheses
Added parentheses to methods with side effects
Latest commit 575d51a Aug 12, 2018
Failed to load latest commit information.
atmosphere/src Added parentheses to methods with side effects Aug 11, 2018
auth/src Added parentheses to methods with side effects Aug 11, 2018
cache/src fix procedure syntax May 29, 2018
common/src/main/scala/org/scalatra fix procedure syntax May 29, 2018
core/src Replaced from Manifest to ClassTag Aug 1, 2018
forms/src removed unused import Aug 11, 2018
jetty/src Updated sbt-scalariform plugin & apply reformatting Oct 15, 2017
json/src fix procedure syntax May 29, 2018
metrics/src add newlines at end of file May 14, 2018
notes Add release note for 2.5.1 Jun 2, 2017
project sbt 1.2.1 Aug 7, 2018
scalate/src Merge pull request #821 from xuwei-k/newlines May 14, 2018
scalatest/src Added test for scalatra-scalatest Nov 11, 2017
specs2/src Remove all deprecated methods and classes Jun 10, 2017
swagger/src Merge pull request #829 from magnolia-k/delete_unnecessary_mix-in Jun 15, 2018
test/src Merge pull request #837 from plippe/fix-hard-coded-resource-base-path Jun 16, 2018
twirl/src/main/scala/org/scalatra/twirl Add helpers to render forms in Twirl templates Nov 25, 2017
.gitignore define .jvmopts May 16, 2014
.jvmopts Fix sbt 0.13.13 warnings, upgrade deps Nov 8, 2016
.travis.yml Changed travis-ci oraclejdk's version Jul 17, 2018
CONTRIBUTING.markdown fix scaladoc syntax link May 15, 2017
CREDITS.md Credits and notes. Jun 11, 2013
LICENSE Rename project to Scalatra. Thanks to Hiram Chirino for the name. Jul 3, 2010
README.markdown Bump to 2.6.0 Nov 9, 2017
build.sbt Update json4s Jul 29, 2018
publishing.sbt Fix sbt 0.13.13 warnings, upgrade deps Nov 8, 2016
version.sbt Update version to 2.7.0-SNAPSHOT Nov 11, 2017


Scalatra Build Status

Join the chat at https://gitter.im/scalatra/scalatra

Scalatra is a tiny, Sinatra-like web framework for Scala.


import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>


If you're just starting out, see the installation and first project sections of our website.

Once you've done that, take a look at the Scalatra Guides for documentation on all aspects of the framework, code examples, and more. We also have an extensive selection of Example Applications which accompany the tutorials in the Scalatra Guides.

Latest version

The latest stable version of Scalatra is 2.6.+, and is published to Maven Central.

libraryDependencies += "org.scalatra" %% "scalatra" % "2.6.+"

Development version

The 2.5.x branch is published as 2.6.{x}-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "org.scalatra" %% "scalatra" % "2.6.{x}-SNAPSHOT"