https://github.com/swiftapi/swift
Swiftly build APIs
https://github.com/swiftapi/swift
api cli-app endpoint graphql graphql-api graphql-server php php8 rest rest-api restful-api swift
Last synced: 5 months ago
JSON representation
Swiftly build APIs
- Host: GitHub
- URL: https://github.com/swiftapi/swift
- Owner: SwiftAPI
- Created: 2021-01-16T20:27:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T21:27:19.000Z (about 2 years ago)
- Last Synced: 2024-12-29T10:29:45.128Z (over 1 year ago)
- Topics: api, cli-app, endpoint, graphql, graphql-api, graphql-server, php, php8, rest, rest-api, restful-api, swift
- Language: PHP
- Homepage: https://swiftapi.github.io/swift-docs/docs/
- Size: 1.09 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Swift
[](https://www.codefactor.io/repository/github/swiftapi/swift)
[](https://packagist.org/packages/swift-api/swift)
[](https://packagist.org/packages/swift-api/swift)
[](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
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
Install the starter (also see documentation)
```php
composer create-project swift-api/swift-start project_name
```
Or get it from Composer https://packagist.org/packages/swift-api/swift.
```php
composer require swift-api/swift
```
## Documentation
Find full documentation at https://swiftapi.github.io/swift-docs/docs/