Dancer2...Plugins(3)

πŸ“¦
version 2.2.1 Β· 3 versions
, in fedora 44

πŸ’– Dancer2::Plugins β€” the bestie guide πŸ’–

(straight outta the User Contributed Perl Documentation section, manual page Dancer2...Plugins(3), okurrr)

✨ NAME ✨

Dancer2::Plugins β€” a curated list of recommended Dancer2 plugins πŸŽ€

🌸 VERSION 🌸

version 2.2.1


πŸ’… DESCRIPTION πŸ’…

So like, Dancer2's whole thing is keeping the core as smol as physically possible 🧚 β€” but bestie, there are a growing number of useful plugins out there to add helpful features. And we're not gatekeeping.

This doc is your quick lil summary of some recommended plugins. Iykyk. πŸ¦‹

πŸ‘‘ Plugins πŸ‘‘

  • Dancer2::Plugin::Adapter β€” wraps literally any simple class as a service for Dancer2. Slay.
  • Dancer2::Plugin::Ajax β€” gives you an easy way to add Ajax route handlers. No cap.
  • Dancer2::Plugin::Auth::Tiny β€” an extremely simple way of requiring that a user be logged in before you allow access to certain routes. Tiny but mighty, fr fr.
  • Dancer2::Plugin::BrowserDetect β€” makes it easy to have info about the browser, via a keyword within your Dancer application. πŸ‘€
  • Dancer2::Plugin::Cache::CHI β€” caching for generated pages and/or arbitrary data. It uses CHI, so it's backend-agnostic β€” meaning caching can be done in memory, to files, using Memcache, in a database, or any other method for which there's a CHI::Driver module. The range?? Iconic. 🌈
  • Dancer2::Plugin::Database β€” easy database access via DBI, reading the DB connection details from your app's config file, and taking care of making sure the connection is still valid and reconnecting if it's not (super useful in persistent environments, bestie). Just calling the database keyword gives you a connected and working database handle. It also provides some helpful keywords to make inserting/updating data as simple as it should be. πŸ’–
  • Dancer2::Plugin::DBIC β€” easy access to DBIx::Class database virtualization.
  • Dancer2::Plugin::Deferred β€” a method for deferring a one-time message across a redirect. It's similar to flash messages, but without the race conditions that can result from multiple tabs in a browser or from AJAX requests. We love a plugin that thought about the tabs. 🫢
  • Dancer2::Plugin::Emailesque β€” easy email-sending powered by Email::Send β€” you literally just call the email keyword. Email sending settings can be taken from your app's config. πŸ’Œ
  • Dancer2::Plugin::Feed β€” an easy way to generate an RSS or Atom feed. ⭐
  • Dancer2::Plugin::Paginator β€” a Dancer2 plugin for Paginator::Lite.
  • Dancer2::Plugin::Queue β€” provides a generic interface to a message queue. Main character energy.
  • Dancer2::Plugin::Queue::MongoDB β€” a Dancer2::Plugin::Queue using MongoDBx::Queue.
  • Dancer2::Plugin::REST β€” makes writing RESTful web services easy. Periodt.
  • Dancer2::Plugin::RoutePodCoverage β€” a plugin to verify pod coverage in our app routes.
  • Dancer2::Plugin::Syntax::GetPost β€” provides very simple syntactic sugar to define a handler for GET and POST requests. πŸ“

πŸŽ€ Session Engines πŸŽ€

  • Dancer2::Session::Cookie β€” a session factory for Dancer2 that stores session state within a browser cookie. πŸͺ

More plugins are appearing on CPAN all the time β€” just search for Dancer2::Plugin to see what may have been released since this document was last updated! Go look, bestie, there might be a new fave waiting. πŸ”₯

πŸ’œ AUTHOR πŸ’œ

Dancer Core Developers

This software is copyright (c) 2026 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


okay that's the whole thing!! πŸ’– this was perl v5.42.3, dated 2026-09-20 β€” mwah, go build something cute πŸ¦‹βœ¨

πŸ“¦ where this page comes from