/documentation

Documentation markdown for all Vapor packages.

Primary LanguageCSS

Vapor Documentation

Stack Overflow

This is the documentation for Vapor, a Web Framework for Swift that works on iOS, macOS, and Ubuntu; and all of the packages that Vapor offers.

Vapor is the most used web framework for Swift. It provides a beautifully expressive and easy to use foundation for your next website or API.

To view the framework's source code and code documentation, visit Vapor's GitHub.

How To Read

You can read this guide by clicking through the folders and markdown files on GitHub or through the rendered GitHub Pages.

Packages

Here are a list of all the packages and modules included with Vapor (also useable individually).

  • Vapor: Swift's most used web framework.
    • Auth: User authentication and persistance.
    • Sessions: Secure, ephemeral cookie based data storage.
    • Cookies: HTTP cookies.
    • Routing: Advanced router with type-safe parameterization.
  • Fluent: Models, relationships, and querying for NoSQL and SQL databases.
  • Engine: Core transport layers.
    • HTTP: Pure Swift HTTP client and server.
    • URI: Pure Swift URI parsing and serializing.
    • WebSockets: Full-duplex communication channels over a single TCP connection.
    • SMTP: Send email using Sendgrid and Gmail.
  • Leaf: An extensible templating language.
  • JSON: Maps Jay JSON to Vapor types.
  • Console: Swift wrapper for console IO and commands.
  • TLS: Swift wrapper for CLibreSSL's new TLS.
  • Crypto: Cryptography from LibreSSL and Swift.
    • Digests: Hashing with and without authentication.
    • Ciphers: Encryption and decryption
    • Random: Psuedo and cryptographically secure randomness.
    • BCrypt: Pure Swift implementation.
  • Node: Data structure for easy type conversions.
    • Polymorphic: Syntax for easily accessing values from common types like JSON.
    • Path Indexable: A protocol for powerful subscript access of common types like JSON.
  • Core: Core extensions, type-aliases, and functions that facilitate common tasks.
  • Socks: Swift C Socket API wrapper.

Providers

Here are a list of providers and third party packages that work great with Vapor.

Authors

Tanner Nelson, Logan Wright, and the hundreds of members of Vapor.