You are viewing the documentation for the 2.9.1 release in the 2.9.x series of releases. The latest stable release series is 3.0.x.
§Play modules
Play uses public modules to augment built-in functionality.
To create your own public module or to migrate from a play.api.Plugin
, please see ScalaPlayModules or JavaPlayModules.
§API hosting
§iheartradio/play-swagger
- Website: https://github.com/iheartradio/play-swagger
- Short description: Write a Swagger spec in your routes file
§Assets
§Typescript Plugin
- Website: https://github.com/ArpNetworking/sbt-typescript
- Short description: A plugin for sbt that uses sbt-web to compile typescript resources
§Svelte Plugin
Website: https://github.com/tanin47/sbt-svelte
Short description: A plugin for sbt that uses sbt-web to compile Svelte components
§Authentication (Login & Registration) and Authorization (Restricted Access)
§Silhouette (Scala)
- Website: https://github.com/honeycomb-cheesecake/play-silhouette
- Documentation: https://silhouette.readme.io/docs
- Short description: An authentication library that supports several authentication methods, including OAuth1, OAuth2, OpenID, CAS, Credentials, Basic Authentication, Two Factor Authentication or custom authentication schemes.
§Deadbolt 2
- Website (Scala): https://github.com/schaloner/deadbolt-2-scala
- Website (Java): https://github.com/schaloner/deadbolt-2-java
- Short description: Deadbolt is an authorization mechanism for defining access rights to certain controller methods or parts of a view using a simple AND/OR/NOT syntax
§Play-pac4j (Java and Scala)
- Website: https://github.com/pac4j/play-pac4j
- Documentation: https://github.com/pac4j/play-pac4j/blob/master/README.md
- Short description: Play client in Scala and Java which supports OAuth/CAS/OpenID/HTTP authentication and user profile retrieval
§Play-hmac-signatures (Scala)
- Website: https://github.com/phelps-sg/play-hmac-signatures
- Short description: A Play Framework module to build actions that validate HMAC signatures
§Datastore
§Flyway plugin
- Website: https://github.com/flyway/flyway-play
- Documentation: https://github.com/flyway/flyway-play/blob/master/README.md
- Short Description: Supports database migration with Flyway.
§MongoDB Morphia Plugin (Java)
- Website (docs, sample): https://github.com/morellik/play-morphia
- Short description: Provides managed MongoDB access and object mapping using Morphia
§MongoDB ReactiveMongo Plugin (Scala)
- Website (docs, sample): http://reactivemongo.org/releases/0.1x/documentation/tutorial/play.html
- Short description: Provides a Play 2.x module for ReactiveMongo, asynchronous and reactive driver for MongoDB.
§Play-Slick
- Website (docs, sample): https://github.com/playframework/play-slick
- Short description: This plugin makes Slick a first-class citizen of Play.
§ScalikeJDBC Plugin (Scala)
- Website: https://github.com/scalikejdbc/scalikejdbc-play-support
- Short description: Provides yet another database access API for Play
§Redis Cache Plugin (Java and Scala)
- Website: https://github.com/KarelCemus/play-redis
- Short description: Provides both blocking and asynchronous redis based cache implementation. It implements common Play’s CacheApi for both Java and Scala plus provides a few more Scala APIs implementing various Redis commands including the support of collections.
§Page Rendering
§Play Pagelets
- Website: https://github.com/splink/pagelets
- Short Description: A Module for the Play Framework to build resilient and modular Play applications in an elegant and concise manner.
- Seed project: https://github.com/splink/pagelets-seed
§JsMessages
- Website: https://github.com/julienrf/play-jsmessages
- Short description: Allows to compute localized messages on client side. Play 2.7 support.
§Performance
§Google’s HTML Compressor (Java and Scala)
- Website: https://github.com/fkoehler/play-html-compressor
- Documentation: https://github.com/fkoehler/play-html-compressor/blob/master/README.md
- Short description: Google’s HTML Compressor for Play 2.
§Memcached Plugin
- Website: https://github.com/mumoshu/play2-memcached
- Short description: Provides a memcached based cache implementation.
§Task Schedulers
§Akka Quartz Scheduler
- Website: https://github.com/enragedginger/akka-quartz-scheduler
- Documentation: https://github.com/enragedginger/akka-quartz-scheduler/blob/master/README.md
- Short description: Quartz Extension and utilities for cron-style scheduling in Akka
§Settings
§Remote Configuration
- Website: https://github.com/play-rconf
- Short description: Loads and apply configuration items (keys & files) from remote providers like etcd, consul, DynamoDB…
§Templates and View
§Google Closure Template Plugin
- Website (docs, sample): https://github.com/gawkermedia/play2-closure
- Short description: Provides support for Google Closure Templates. Supports Play 2.4.
§Scalate
- Website: https://github.com/scalate/play-scalate
- Documentation: https://scalate.github.io/scalate/documentation/index.html
- Short description: Alternatives to Twirl HTML template support for Jade (like Haml), Mustache, Scaml (also like Haml), SSP (like Velocity), and Scuery (CSS3 selector language)
§PDF module (Java)
- Website: https://github.com/innoveit/play2-pdf
- Documentation: https://github.com/innoveit/play2-pdf/blob/master/README.md
- Short description Generate PDF output from HTML templates
§PlayFOP (Java and Scala)
- Website (live demo, user guide, other docs): https://www.dmanchester.com/playfop
- Repository: https://github.com/dmanchester/playfop
- Short description: A library for creating PDFs, images, and other types of output in Play applications. Accepts XSL-FO that an application has generated and processes it with Apache FOP.
§Play-Bootstrap (Java and Scala)
- Website: https://adrianhurt.github.io/play-bootstrap/
- Repository: https://github.com/adrianhurt/play-bootstrap
- Short description: A library for Bootstrap that gives you an out-of-the-box solution with a set of input helpers and field constructors.
§Play Form
- Website: https://github.com/plippe/play-form
- Short description: A module to submit forms with commonly unsupported browser methods like
PUT
,PATCH
, andDELETE
.
§Hepek
- Website: https://sake92.github.io/hepek/integrations/play-framework.html
- Repository: https://github.com/sake92/hepek
- Short description: A library for typesafe generating of boilerplate HTML.
§Utilities
§Emailer Plugin (Java and Scala)
- Website (docs, sample): https://github.com/playframework/play-mailer
- Short description: Provides an emailer based on apache commons-email
§play-guard (Scala)
- Website: https://github.com/sief/play-guard/
- Documentation: https://github.com/sief/play-guard/blob/master/README.md
- Short description: Play2 module for blocking and throttling abusive requests
§play-secret-rotation (Scala)
- Website: https://github.com/guardian/play-secret-rotation
- Short description: Provides a Play2 Application Secret rotation on an active cluster.
§Cloud Services
§Benji (Scala)
- Website: https://github.com/zengularity/benji
- Documentation: https://github.com/zengularity/benji/tree/master/examples
- Short description: A reactive module for the Benji library, providing an Object storage DSL (AWS/Ceph S3, Google Cloud Storage).
§Archived or Unmaintained Modules
These libraries are no longer maintained, so they may not support recent Play releases, and may also contain unpatched
bugs and security vulnerabilities. You might find them useful as examples, but you should avoid relying on them unless
you fully understand what they are doing and are willing to fork them to fix issues yourself.
If the status of any modules has changed, feel free to send a PR with an update
here.
§mohiva/swagger-codegen-play-scala
- Website: https://github.com/mohiva/swagger-codegen-play-scala
- Short description: Swagger client generator which is based on the PlayWS library
§play2-sprites
- Website: https://github.com/koofr/play2-sprites/
- Short description: play2-sprites is an sbt plugin that generates sprites from images.
§Sass Plugin
- Website: https://github.com/jlitola/play-sass
- Short description: Asset handling for Sass files
§play-webpack Plugin
- Website: https://github.com/BowlingX/play-webpack
- Short description: A plugin for sbt to handle webpack generated assets and library to render Javascript on the server with Java’s nashorn engine.
§Authentication and Authorization module (Scala)
- Website: https://github.com/t2v/play20-auth
- Documentation(en): https://github.com/t2v/play20-auth/blob/master/README.md
- Documentation(ja): https://github.com/t2v/play20-auth/blob/master/README.ja.md
- Short description This module provides an authentication and authorization way
§SecureSocial (Java and Scala)
- Website: http://securesocial.ws/
- Short description: An authentication module supporting OAuth, OAuth2, OpenID, Username/Password and custom authentication schemes.
§MongoDB Jongo Plugin (Java)
- Website (docs, sample): https://github.com/alexanderjarvis/play-jongo
- Short description: Provides managed MongoDB access and object mapping using Jongo
§Play-Hippo
- Website (docs, sample): https://github.com/jbloemendal/play-hippo
- Short description: Provides a Play 2.x module for Hippo CMS.
§Redis Plugin (Java and Scala)
- Website (docs, sample): https://github.com/typesafehub/play-plugins
- Short description: Provides a redis based cache implementation, also lets you use Redis specific APIs
§WAR Module
- Website: https://github.com/dlecan/play2-war-plugin
- Documentation: https://github.com/dlecan/play2-war-plugin/blob/develop/README.md
- Short description: Allow to package Play! 2.x applications into standard WAR packages.
§FolderMessages plugin
- Website: https://github.com/germanosin/play-foldermessages
- Short Description: Allows you to split localization messages files into separate manageable files.
§Messages Compiler Plugin (Scala)
- Website: https://github.com/tegonal/play-messagescompiler
- Documentation: https://github.com/tegonal/play-messagescompiler/blob/master/readme.md
- Short description: Provides type safety for the project’s messages.
§Play I18n HOCON
- Website: https://marcospereira.github.io/play-i18n-hocon/
- Documentation: https://marcospereira.github.io/play-i18n-hocon/
- Short description: A Playframework module to use HOCON for i18n instead of Java Properties
§play-akkjobs
- Website: https://github.com/tuxBurner/play-akkjobs
- Documentation: https://github.com/tuxBurner/play-akkjobs/blob/master/README.md
- Short description: A simple Play 2.5 module, which allows you to manage jobs
§HTML5 Tags module (Java and Scala)
- Website: https://github.com/loicdescotte/Play2-HTML5Tags
- Documentation: https://github.com/loicdescotte/Play2-HTML5Tags/blob/master/README.md
- Short description: These tags add client side validation capabilities, based on model constraints (e.g required, email pattern, max|min length…) and specific input fields (date, telephone number, url…) to Play templates
§Thymeleaf module (Scala)
- Website: https://github.com/dmitraver/scala-play-thymeleaf-plugin
- Documentation: https://github.com/dmitraver/scala-play-thymeleaf-plugin/blob/master/README.md
- Short description: Allows to use Thymeleaf template engine as an alternative
to Twirl
§Handlebars templates (Java and Scala)
- Website: https://github.com/andriykuba/play-handlebars
- Documentation: https://github.com/andriykuba/play-handlebars/blob/master/README.md
- Short description: Handlebars templates based on Java port of handlebars with special handlers for Play Framework.
§Geolocation (Java)
- Website: https://edulify.github.io/play-geolocation-module.edulify.com/
- Documentation: https://github.com/edulify/play-geolocation-module.edulify.com/blob/master/README.md
- Short description: Module to retrieve Geolocation data based on IP.
§JSONP filter
- Website: https://github.com/julienrf/play-jsonp-filter
- Short description: Enables JSONP on your existing HTTP API.
§Sitemap Generator (Java)
- Website: https://edulify.github.io/play-sitemap-module.edulify.com/
- Documentation: https://github.com/edulify/play-sitemap-module.edulify.com/blob/master/READM
§Amazon SES module (Scala)
- Website: https://github.com/Rhinofly/play-mailer
- Documentation: https://github.com/Rhinofly/play-mailer/blob/master/README.md
- Short description: SES (Simple Email Service) API wrapper for Play
§Amazon S3 module (Scala)
- Website: https://github.com/Rhinofly/play-s3
- Documentation: https://github.com/Rhinofly/play-s3/blob/master/README.md
- Short description: S3 (Simple Storage Service) API wrapper for Play
§Pusher
- Website: https://pusher.com/
- Documentation: https://github.com/tindr/Play2Pusher
- Short description: Easily interact with the Pusher Service within your Play application.
§Push Notifications module (Java)
- Website: https://github.com/splendidbits/play-pushservices
- Documentation: https://github.com/splendidbits/play-pushservices/blob/master/README.md
- Short description: A stupid-simple module for creating, batching, queuing and sending push notifications.
Next: End-of-life (EOL) dates