Dancer2 is a free and open-source lightweight web application framework for Perl, inspired by Ruby Sinatra. It allows developers to build web applications easily and quickly, with an expressive route-based DSL and a powerful plugin system.
Dancer2 is PSGI/Plack-compliant, so any Dancer2 app can be deployed on any PSGI server โ Starman, Twiggy, uWSGI, mod_perl, or behind Apache/Nginx.
Effortless web framework for Perl. PSGI-compliant, minimal, expressive route DSL.
โจ Features
get '/hello/:name' => sub { ... }; Familiar Sinatra-inspired syntax for Perl.
Runs on any Plack server. Starman, Twiggy, uWSGI, mod_perl โ pick your deployment.
CPAN ecosystem of plugins. Auth, DBIC integration, REST helpers, async, prometheus.
Template Toolkit, Mason, HTML::Template โ your preferred templating, your call.
Bundled testing helpers. Spin up the app in-process, drive it with Plack::Test.