Plug is a specification and set of utilities for building composable modules in Elixir web applications. It defines a standard connection interface, allowing developers to create “plugs” that act as middleware for handling requests and responses. Examples include parsing parameters, managing sessions, logging, or authentication, all of which can be plugged into a pipeline. Plug serves as the foundation for the Phoenix framework, which builds on it to deliver a full-featured web stack. The library supports both synchronous and streaming responses, making it adaptable to various web scenarios. Its modularity and composability promote clean, reusable code while remaining lightweight enough for microservices and APIs outside of Phoenix.

Features

  • Specification for building composable web modules
  • Connection adapters for various Erlang VM web servers (e.g., Cowboy, Bandit)
  • Middleware-like architecture for request/response transformation
  • Lightweight and flexible integration into Elixir applications
  • Seamless handling of HTTP and WebSocket connections via unified APIs
  • Used as the underlying request pipeline engine in Phoenix

Project Samples

Project Activity

See All Activity >

Categories

Web Development

License

MIT License

Follow Plug

Plug Web Site

Other Useful Business Software
SalesTarget.ai | AI-Powered Lead Generation, Email Outreach, and CRM Icon
SalesTarget.ai | AI-Powered Lead Generation, Email Outreach, and CRM

SalesTarget.ai streamlines your sales process, providing everything you need to find high- quality leads, automate outreach, and close deals faster

SalesTarget is ideal for B2B sales teams, startup founders, and marketing professionals looking to streamline lead generation and outreach. It also benefits growing SaaS companies and agencies aiming to scale their outbound efforts efficiently.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Plug!

Additional Project Details

Programming Language

Elixir

Related Categories

Elixir Web Development Software

Registered

2025-09-01