Alamofire/Alamofire

Elegant HTTP Networking in Swift

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 52 minutes ago
Added to GitGenius on June 19th, 2026
Created on July 31st, 2014
Open Issues & Pull Requests: 44 (+0)
Number of forks: 7,665
Total Stargazers: 42,416 (+0)
Total Subscribers: 1,046 (+0)

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 850 days
Stale 30+ days: 5
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • needs investigation (18)
  • feature request (5)
  • support (5)
  • bug (4)
  • awaiting response (2)
  • invalid (2)
  • question (2)
  • enhancement (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 10.3 hours
Mean response time: 32.1 days
90th percentile: 31.1 days
Tracked items: 95

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 8% of issues opened in the past year have been closed. Three people close 91% of everything that gets resolved.

Detailed Description

Alamofire is an HTTP networking library written in Swift that provides elegant abstractions for making network requests. The library is built on top of Apple's URLSession framework and offers a chainable request and response API that allows developers to write powerful networking code in just a few lines. The primary language is Swift, and it is classified as a networking library focused on HTTP requests, REST API interactions, JSON parsing, response handling, session management, authentication, and data serialization.

The library supports multiple installation methods including CocoaPods, Carthage, Swift Package Manager, and manual integration. It requires Swift 6.0 and Xcode 16.0 as minimum versions, with support for iOS 10.0 and above, macOS 10.12 and above, tvOS 10.0 and above, and watchOS 3.0 and above. The library also builds on Linux, Windows, and Android through Swift Package Manager, though these platforms are unsupported due to missing features and issues in the underlying swift-corelibs-foundation.

Core features include chainable request and response methods, Swift Concurrency support back to iOS 13, macOS 10.15, tvOS 13, and watchOS 6, and Combine framework integration. The library handles URL and JSON parameter encoding, supports uploading files, data, streams, and multipart form data, and provides downloading capabilities using requests or resume data. It includes authentication support with URLCredential, HTTP response validation, upload and download progress closures, cURL command output generation, dynamic request adaptation and retry mechanisms, TLS certificate and public key pinning, and network reachability monitoring. The library also provides comprehensive unit and integration test coverage and complete documentation.

The Alamofire Software Foundation maintains component libraries to extend the core networking functionality. AlamofireImage provides image response serializers, UIImage and UIImageView extensions, custom image filters, an auto-purging in-memory cache, and a priority-based image downloading system. AlamofireNetworkActivityIndicator controls the visibility of the network activity indicator on iOS and supports configurable delay timers to mitigate flicker.

The library includes migration guides for versions 2.0 through 5.0, reflecting its evolution over time. Advanced usage documentation covers session management, session delegates, request routing, request adaptation and retry mechanisms, custom response handlers, Swift Concurrency integration, Combine support, security features including certificate pinning, and network reachability. The documentation distinguishes between basic usage for common networking tasks and advanced usage for complex scenarios requiring fine-grained control over session behavior and request lifecycle management.

Alamofire
by
AlamofireAlamofire/Alamofire

Repository Details

Fetching additional details & charts...