Mojolicious

:sparkles: Mojolicious - Perl real-time web framework

Latest version: 9.39 registry icon
Maintenance score
93
Safety score
0
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
9.39 0 0 0 0 0
9.38 0 0 0 0 0
9.37 0 0 0 0 0
9.36 0 0 0 0 0
9.35 0 0 0 0 0
9.34 0 0 0 0 0
9.33 0 0 0 0 0
9.32 0 0 0 0 0
9.31 0 0 0 0 0
9.30 0 0 1 0 0
9.29 0 0 1 0 0
9.28 0 0 1 0 0
9.27 0 0 1 0 0
9.26 0 0 1 0 0
9.25 0 0 1 0 0
9.24 0 0 1 0 0
9.23 0 0 1 0 0
9.22 0 0 1 0 0
9.21 0 0 1 0 0
9.20 0 0 1 0 0
9.19 0 0 1 0 0
9.18 0 0 2 0 0
9.17 0 0 2 0 0
9.16 0 0 2 0 0
9.15 0 0 2 0 0
9.14 0 0 2 0 0
9.13 0 0 2 0 0
9.12 0 0 2 0 0
9.11 0 0 2 0 0
9.10 0 0 3 0 0
9.09 0 0 3 0 0
9.08 0 0 3 0 0
9.07 0 0 3 0 0
9.03 0 0 3 0 0
9.02 0 0 3 0 0
9.01 0 0 3 0 0
9.0 0 0 3 0 0
8.73 0 0 3 0 0
8.72 0 0 3 0 0
8.71 0 0 3 0 0
8.70 0 0 3 0 0
8.69 0 0 3 0 0
8.68 0 0 3 0 0
8.67 0 0 3 0 0
8.66 0 0 3 0 0
8.65 0 0 3 0 0
8.64 0 0 4 0 0
8.63 0 0 4 0 0
8.62 0 0 4 0 0
8.61 0 0 4 0 0
8.60 0 0 4 0 0
8.59 0 0 4 0 0
8.58 0 0 4 0 0
8.57 0 0 4 0 0
8.56 0 0 4 0 0
8.55 0 0 4 0 0
8.54 0 0 4 0 0
8.53 0 0 4 0 0
8.52 0 0 4 0 0
8.51 0 0 4 0 0
8.50 0 0 4 0 0
8.43 0 0 4 0 0
8.42 0 0 4 0 0
8.41 0 0 4 0 0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.63 0 1 3 2 2
1.62 0 1 3 2 2
1.61 0 1 3 2 2
1.60 0 1 3 2 2
1.59 0 1 3 2 2
1.58 0 1 3 2 2
1.57 0 1 3 2 2
1.56 0 1 3 2 2
1.55 0 1 3 2 2
1.54 0 1 3 2 2
1.53 0 1 3 2 2
1.52 0 1 3 2 2

Stability
Latest release:

9.39 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Artistic-2.0   -   Artistic License 2.0

Not a wildcard

Not proprietary

OSI Compliant



Mojolicious is a fresh take on Perl web development, based on years of experience developing the Catalyst framework, and utilizing the latest web standards and technologies. You can get started with your project quickly, with a framework that grows with your needs.

The Mojo stack provides a consistent set of components that can be used in any project. The guides cover most aspects of using the framework and the components have comprehensive reference documentation. Mojolicious is a real-time web framework, which allows a new class of web applications using WebSockets and having long-running requests without blocking.

Join us now, and be a part of a friendly and knowledgeable community of developers!

Features

  • Most popular distribution on CPAN.
  • An amazing real-time web framework, allowing you to easily grow single file prototypes into well-structured MVC web applications.
    • Everything you need to build cloud-native web applications for state of the art container environments.
    • Powerful out of the box with RESTful routes, plugins, commands, Perl-ish templates, content negotiation, session management, form validation, testing framework, static file server, CGI/PSGI detection, first class Unicode support and much more for you to discover.
  • A powerful web development toolkit, that you can use for all kinds of applications, independently of the web framework.
    • Full stack HTTP and WebSocket client/server implementation with IPv6, TLS, SNI, IDNA, HTTP/SOCKS5 proxy, UNIX domain socket, Comet (long polling), Promises/A+, async/await, keep-alive, connection pooling, timeout, cookie, multipart, and gzip compression support.
    • Built-in non-blocking I/O web server, supporting multiple event loops as well as optional pre-forking and hot deployment, perfect for building highly scalable web services.
    • JSON and HTML/XML parser with CSS selector support.
  • Very clean, portable and object-oriented pure-Perl API with no hidden magic and no requirements besides Perl 5.26.0 (versions as old as 5.16.0 can be used too, but may require additional CPAN modules to be installed)
  • Also available for JavaScript.
  • Fresh code based upon years of experience developing Catalyst, free and open source.
  • Hundreds of 3rd party extensions and high quality spin-off projects like the Minion job queue.

Installation

All you need is a one-liner, it takes less than a minute.

$ curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojolicious

We recommend the use of a Perlbrew environment.

Getting Started

These three lines are a whole web application.

use Mojolicious::Lite;

get '/' => {text => 'I ♥ Mojolicious!'};

app->start;

To run the example with the built-in development web server, just put the code into a file and start it with morbo.

$ morbo hello.pl
Web application available at http://127.0.0.1:3000

Test it with any HTTP client you prefer.

$ curl http://127.0.0.1:3000/
I ♥ Mojolicious!

Duct tape for the HTML5 web

Use all the latest Perl and HTML features in beautiful single file prototypes like this one, and grow them easily into well-structured Model-View-Controller web applications.

use Mojolicious::Lite -signatures;

# Render template "index.html.ep" from the DATA section
get '/' => sub ($c) {
  $c->render(template => 'index');
};

# WebSocket service used by the template to extract the title from a website
websocket '/title' => sub ($c) {
  $c->on(message => sub ($c, $msg) {
    my $title = $c->ua->get($msg)->result->dom->at('title')->text;
    $c->send($title);
  });
};

app->start;
__DATA__

@@ index.html.ep
% my $url = url_for 'title';
<script>
  const ws = new WebSocket('<%= $url->to_abs %>');
  ws.onmessage = function (event) { document.body.innerHTML += event.data };
  ws.onopen    = function (event) { ws.send('https://mojolicious.org') };
</script>

Want to know more?

Take a look at our excellent documentation!