PHPackages                             swift-api/swift - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. swift-api/swift

ActiveLibrary[Framework](/categories/framework)

swift-api/swift
===============

Simple and fast API framework

v0.2.18(2y ago)165[21 issues](https://github.com/SwiftAPI/swift/issues)2MITPHPPHP &gt;=8.2.0

Since Apr 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/SwiftAPI/swift)[ Packagist](https://packagist.org/packages/swift-api/swift)[ Docs](https://github.com/SwiftAPI/swift)[ RSS](/packages/swift-api-swift/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (35)Versions (33)Used By (2)

Swift
=====

[](#swift)

[![CodeFactor](https://camo.githubusercontent.com/dc68298a6db82f3906fdd5a635b70c20d05008c149c3819ee26698ee157865da/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f73776966746170692f73776966742f6261646765)](https://www.codefactor.io/repository/github/swiftapi/swift)[![Version](https://camo.githubusercontent.com/1fa91a334cfc7cd15409a1d8930c9b727aaf24fbfee0af43442712acbd4c6206/687474703a2f2f706f7365722e707567782e6f72672f73776966742d6170692f73776966742f76657273696f6e)](https://packagist.org/packages/swift-api/swift)[![Latest Unstable Version](https://camo.githubusercontent.com/e689ebae1b77f0aa22c8bb818ff598a97f01a88ba6411d0cd00af1307f8e5541/687474703a2f2f706f7365722e707567782e6f72672f73776966742d6170692f73776966742f762f756e737461626c65)](https://packagist.org/packages/swift-api/swift)[![PHP Version Require](https://camo.githubusercontent.com/03cac4fdb525db1e2de93dea015e8b023e24a21c14ebc4aa9f5fcbd838f058c4/687474703a2f2f706f7365722e707567782e6f72672f73776966742d6170692f73776966742f726571756972652f706870)](https://packagist.org/packages/swift-api/swift)

This is a small and fast PHP framework meant to write APIs or microservices in a fast and easy manner. This is a not meant as a replacement for other frameworks, under the hood it uses a lot of the magic from [Symfony](https://symfony.com/), [Cycle](https://github.com/cycle/orm) and [GraphQl](https://github.com/webonyx/graphql-php/).

### Purpose

[](#purpose)

This framework is not intended for building websites or big applications. The purpose of this framework is to provide a simple set of basic tools to build microservices, like:

- Simple webservice
- API proxy to bundle several APIs endpoints into one or leverage legacy APIs
- Data caching layer
- REST/GraphQl API endpoint for headless front-ends
- Socket API endpoint for real-time communication
- Server Sent Events for real-time communication
- Logging service
- CDN
- etc.

Getting started
---------------

[](#getting-started)

Install the starter (also see documentation)

```
composer create-project swift-api/swift-start project_name
```

Or get it from Composer .

```
composer require swift-api/swift
```

Documentation
-------------

[](#documentation)

Find full documentation at

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 91.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~160 days

Total

32

Last Release

741d ago

PHP version history (2 changes)v0.2.13PHP &gt;=8.1.0

v0.2.17PHP &gt;=8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a593f38f88a32d42830f7cf2805ab817b1997acb92ecbcb59d5b85add2ef5525?d=identicon)[henri@henrivantsant.dev](/maintainers/henri@henrivantsant.dev)

---

Top Contributors

[![Buro26-Henri](https://avatars.githubusercontent.com/u/71004244?v=4)](https://github.com/Buro26-Henri "Buro26-Henri (106 commits)")[![HenrivantSant](https://avatars.githubusercontent.com/u/33251446?v=4)](https://github.com/HenrivantSant "HenrivantSant (10 commits)")

---

Tags

apicli-appendpointgraphqlgraphql-apigraphql-serverphpphp8restrest-apirestful-apiswiftphpapisymfonyframeworkrestgraphqlSimpleREST APIswiftphp8cli-appgraphql-apigraphql-server

### Embed Badge

![Health badge](/badges/swift-api-swift/health.svg)

```
[![Health](https://phpackages.com/badges/swift-api-swift/health.svg)](https://phpackages.com/packages/swift-api-swift)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
