Development Tools

Plug – specification and conveniences for composable modules between web applications

Plug is a specification for composable modules between web applications.

It also offers connection adapters for different web servers in the Erlang VM

Plug is free and open source software.

This project aims to ship with different plugs that can be re-used across applications:

  • Plug.BasicAuth – provides Basic HTTP authentication.
  • Plug.CSRFProtection – adds Cross-Site Request Forgery protection to your application. Typically required if you are using Plug.Session.
  • Plug.Head – converts HEAD requests to GET requests.
  • Plug.Logger – logs requests.
  • Plug.MethodOverride – overrides a request method with one specified in the request parameters.
  • Plug.Parsers – responsible for parsing the request body given its content-type.
  • Plug.RequestId – sets up a request ID to be used in logs.
  • Plug.RewriteOn – rewrite the request’s host/port/protocol from x-forwarded-* headers.
  • Plug.Session – handles session management and storage.
  • Plug.SSL – enforces requests through SSL.
  • Plug.Static – serves static files.
  • Plug.Telemetry – instruments the plug pipeline with :telemetry events.

Website: hex.pm/packages/plug
Support: GitHub Code Repositoy
Developer: Plataformatec
License: Apache License, Version 2.0

Plug is written in Elixir. Learn Elixir with our recommended free books and free tutorials.


Related Software

Elixir Web Frameworks
PhoenixRock-solid web framework that improves the Model-View-Controller architecture
NervesCraft and deploy bulletproof embedded software
PlugSpecification and conveniences for composable modules between web applications
ALFFlow-based application layer framework
MaruREST-like API framework for Elixir inspired by grape
KittoFramework to create dashboards
SugarModular web framework
DynamoExperimental web framework
WeberMVC web framework
TrotWeb micro-framework based on Plug and Cowboy

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments