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 | |
|---|---|
| Phoenix | Rock-solid web framework that improves the Model-View-Controller architecture |
| Nerves | Craft and deploy bulletproof embedded software |
| Plug | Specification and conveniences for composable modules between web applications |
| ALF | Flow-based application layer framework |
| Maru | REST-like API framework for Elixir inspired by grape |
| Kitto | Framework to create dashboards |
| Sugar | Modular web framework |
| Dynamo | Experimental web framework |
| Weber | MVC web framework |
| Trot | Web micro-framework based on Plug and Cowboy |
Read our verdict in the software roundup.
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. |

