Swiftpack.co - vapor/vapor as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vapor.
vapor/vapor 4.65.0
💧 A server-side Swift HTTP web framework.
⭐️ 21,993
🕓 1 week ago
iOS macOS watchOS tvOS linux macOS iOS
.package(url: "https://github.com/vapor/vapor.git", from: "4.65.0")


Documentation Team Chat MIT License Continuous Integration Swift 5.2 Twitter

Vapor is an HTTP 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.

💛 Sponsors

Support Vapor's development by becoming a sponsor.

Broken Hands Monstarlab Transeo omrd Jari MacStadium

💚 Backers

Support Vapor's development by becoming a backer.



Stars: 21993
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Implement support for custom verify callbacks
1 week ago
This patch was authored by @Lukasa and released by @0xTim.


When using NIOSSL it is sometimes necessary to completely take over the certificate verification logic. NIOSSL exposes a callback for this, but it's currently hidden from Vapor users. We should let them get access to this callback.


  • Added the callback to the HTTPServer configuration struct.
  • Plumbed the callback through.
  • Added some invalid test certs to the resources for the tests.
  • Added a test to confirm the override functions correctly.


Users can override client cert validation.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics