SPM is an open source build and dependency management tool provided for Swift 3.0. It is integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Vapor uses SPM; to create a Vapor project we need to add the following dependency to the Packages.swift file:
Package(url: "https://github.com/qutheory/vapor.git", majorVersion: xx, minor: x)
As stated in the Vapor section, we can use Vapor CLI tools to build and run the application with SPM.
We recommend you to read more about Vapor and SPM since we do not cover most related topics in this book. In the following section, we will develop a very simple backend with Vapor.