Swiftpack.co - Package - vapor/vapor


Documentation Team Chat MIT License Continuous Integration Swift 5.1 Twitter

Vapor is a web framework for Swift. It provides a beautifully expressive and easy to use foundation for your next website, API, or cloud project.

Take a look at some of the awesome stuff created with Vapor.

💧 Community

Join the welcoming community of fellow Vapor developers on Discord.

🚀 Contributing

To contribute a feature or idea to Vapor, create an issue explaining your idea or bring it up on Discord.

If you find a bug, please create an issue.

If you find a security vulnerability, please contact security@vapor.codes as soon as possible.

💙 Code of Conduct

Our goal is to create a safe and empowering environment for anyone who decides to use or contribute to Vapor. Please help us make the community a better place by abiding to this Code of Conduct during your interactions surrounding this project.

🏫 Tutorials

The awesome Vapor community is always adding new tutorials and articles out there, Vapor University is a great place to get started!

👥 Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

🥇 Sponsors

Proudly sponsored by Nodes (🏅), Skelpo (🥉), and our Open Collective sponsors.


Michael Dominick



Stars: 16638
Help us keep the lights on


4.0.0-alpha.1.2 - Jun 11, 2019


  • AsyncKit is now included and exported by default.
  • New application lifecycle hooks added to Provider (#1995)


  • Session authentication middleware now short-circuits if a user has already been authenticated
  • DirectoryConfiguration now uses Custom Working Directory set in the Edit Scheme menu in Xcode
  • Fixed an an assertion failure when attempting to connect via WebSocket to an unknown route (#1997, #2000)

4.0.0-alpha.1.1 - Jun 6, 2019


  • Updated minimum Swift version to 5.1
  • Temporarily disabled FoundationClient due to SR-10848

4.0.0-alpha.1 - May 31, 2019

More information on Vapor 4 alpha releases:


API Docs:


3.3.0 - Feb 28, 2019


  • Adds new supportCompression member to NIOServerConfig. When true, HTTP server will support gzip and deflate. (#1909)
  • ErrorMiddleware now checks for and utilizes ResponseEncodable conformance on errors. (#1875)

3.2.2 - Feb 15, 2019


  • Vapor Compatibility Suite: All PRs to vapor/vapor:3 will run against our new compatibility suite that verifies projects built on Vapor continue to compile and pass tests.
  • Submit your project here: https://forums.swift.org/t/vapor-compatibility-test-suite/20500


  • Reverted retain cycle fix that could cause Application to not deinit. (#1898).