Dancer2...Plugins(3)
π 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 aCHI::Drivermodule. 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 thedatabasekeyword 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 toDBIx::Classdatabase virtualization.Dancer2::Plugin::Deferredβ a method for deferring a one-time message across a redirect. It's similar toflashmessages, 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 byEmail::Sendβ you literally just call theemailkeyword. 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 forPaginator::Lite.Dancer2::Plugin::Queueβ provides a generic interface to a message queue. Main character energy.Dancer2::Plugin::Queue::MongoDBβ aDancer2::Plugin::QueueusingMongoDBx::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
π COPYRIGHT AND LICENSE π
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
- fedora 44: perl-Dancer2 2.2.1-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms