---
title: orchetect/swift-semantic-version
framework: Swift Package Catalog
role: article
path: packages/orchetect/swift-semantic-version
---

# orchetect/swift-semantic-version

Provides a `SemanticVersion` type for Swift.

## Getting Started

This library is available as a Swift Package Manager (SPM) package.

1. Add the **swift-semantic-version** repo as a dependency.

```swift    .package(url: "https://github.com/orchetect/swift-semantic-version", from: "1.0.0")    ```

2. Add **SwiftSemanticVersion** to your target.

```swift    .product(name: "SwiftSemanticVersion", package: "swift-semantic-version")    ```

3. Import **SwiftSemanticVersion** to use it.

```swift    import SwiftSemanticVersion    ```

## Documentation

See the [online documentation](https://swiftpackageindex.com/orchetect/swift-semantic-version/documentation) for library usage

## Author

Coded by a bunch of 🐹 hamsters in a trenchcoat that calls itself [@orchetect](https://github.com/orchetect).

## License

Licensed under the MIT license. See [LICENSE](https://github.com/orchetect/swift-semantic-version/blob/main/LICENSE) for details.

## Sponsoring

If you enjoy using this library and want to contribute to open-source financially, GitHub sponsorship is much appreciated. Feedback and code contributions are also welcome.

## Community & Support

Please do not email maintainers for technical support. Several options are available for issues and questions:

- Questions and feature ideas can be posted to [Discussions](https://github.com/orchetect/swift-semantic-version/discussions). - If an issue is a verifiable bug with reproducible steps it may be posted in [Issues](https://github.com/orchetect/swift-semantic-version/issues).

## Contributions

Contributions are welcome. Posting in [Discussions](https://github.com/orchetect/swift-semantic-version/discussions) first prior to new submitting PRs for features or modifications is encouraged.

## Code Quality & AI Contribution Policy

In an effort to maintain a consistent level of code quality and safety, this repository was built by hand and is maintained without the use of AI code generation.

AI-assisted contributions are welcome, but must remain modest in scope, maintain the same degree of quality and care, and be thoroughly vetted before acceptance.

## Package Metadata

Repository: orchetect/swift-semantic-version

Default branch: main

README: README.md
