henrivantsant/swift

Simple and fast API framework


Keywords
framework, symfony, php, rest, api, swift, Simple, rest-api, graphql, cli-app, php8, graphql-api, graphql-server, restful-api, endpoint
License
MIT

Documentation

Swift

This is a simple and fast PHP framework meant to write API's or simple programs in a fast and easy way. This is a not meant as a replacement for other frameworks, under the hood it uses a lot of the magic from Symfony, Dibi, Monolog and GraphQl.

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 simple services, like:

  • Simple webservice
  • API proxy to bundle several APIs endpoints into one
  • Data caching layer
  • REST/GraphQl API endpoint for React/Vue front-ends
  • Logging service
  • CDN

Getting started

Install the starter (also see documentation)

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

Or get it from Composer https://packagist.org/packages/swift-api/swift.

composer require swift-api/swift

Documentation

Find full documentation at https://swiftapi.github.io/swift-docs/docs/