swift-api / swift
Simple and fast API framework
v0.2.18
2024-05-07 21:26 UTC
Requires
- php: >=8.2.0
- alecrabbit/php-cli-snake: ^0.6.0
- caseyamcl/guzzle_retry_middleware: ^v2.9.0
- cboden/ratchet: ^0.4.4
- cycle/annotated: ^v4.1.0
- cycle/entity-behavior-uuid: ^1.2.0
- cycle/orm: ^v2.7.1
- cycle/schema-migrations-generator: ^2.2.0
- dibi/dibi: ^v5.0.1
- doctrine/orm: ^2.19.5
- guzzlehttp/guzzle: ^7.8.1
- laminas/laminas-code: ^4.13.0
- league/flysystem: ^3.27.0
- mashape/unirest-php: ^3.0.4
- monolog/monolog: ^3.6.0
- mouf/classname-mapper: ^1.0.2
- peppeocchi/php-cron-scheduler: ^4.0
- phpdocumentor/reflection-docblock: ^5.4.0
- psr/http-server-middleware: ^1.0.2
- psr/simple-cache: ^3.0.0
- ramsey/uuid: ^4.7.6
- react/async: ^v4.2.0
- runtime/react: ^0.2.0
- symfony/cache: ^v7.0.7
- symfony/config: ^v7.0.7
- symfony/console: ^v7.0.7
- symfony/dependency-injection: ^v7.0.7
- symfony/event-dispatcher: ^v7.0.7
- symfony/event-dispatcher-contracts: ^v3.5.0
- symfony/mime: ^v7.0.7
- symfony/process: ^v7.0.7
- symfony/rate-limiter: ^v7.0.7
- symfony/yaml: ^v7.0.7
- webonyx/graphql-php: ^v15.11.1
Requires (Dev)
- roave/security-advisories: dev-latest
- symfony/maker-bundle: ^v1.59.1
This package is auto-updated.
Last update: 2024-11-07 22:50:18 UTC
README
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, Cycle 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 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)
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/