Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robert430404/guzzleface
This is an annotation based guzzle client. Think Open Feign but for PHP.
https://github.com/robert430404/guzzleface
annotations composer guzzle guzzle-clients php7
Last synced: 10 days ago
JSON representation
This is an annotation based guzzle client. Think Open Feign but for PHP.
- Host: GitHub
- URL: https://github.com/robert430404/guzzleface
- Owner: Robert430404
- Created: 2018-10-25T04:17:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-13T13:17:22.000Z (21 days ago)
- Last Synced: 2025-01-13T14:26:15.266Z (21 days ago)
- Topics: annotations, composer, guzzle, guzzle-clients, php7
- Language: PHP
- Size: 58.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GuzzleFace
This is a library inspired by OpenFeign. It removes the need to write any concrete
implementations of guzzle clients and instead allows you to annotate an interface
with the functionality you want. It is then auto generated for you so you do not have
to write a single line of code for your HTTP client implementations.This has the benefits of abstracting away the guzzle version from you since the code
is handled for you and you just have to define an interface. It reduces the boiler
plate code you have to write in order to get your clients implemented. And it's always
cool to have the ability to just read documentation for your interfaces and have a
complete outline as to what your clients do.## Using The Library
There is documentation covering building your clients with the annotations using the
client builder. [You can find the documentation here.](./docs/GuzzleFace/index.md)