|
| 1 | +<div align="center"> |
| 2 | + <a href="https://openapi.com/"> |
| 3 | + <img alt="Openapi SDK for PHP" src=".github/assets/repo-header-a3.png" > |
| 4 | + </a> |
| 5 | + |
| 6 | + <h1>Openapi® client for PHP</h1> |
| 7 | + <h4>The perfect starting point to integrate <a href="https://openapi.com/">Openapi®</a> within your PHP project</h4> |
| 8 | + |
| 9 | +[](https://github.com/openapi/openapi-php-sdk/actions/workflows/php.yml) |
| 10 | +[](https://packagist.org/packages/openapi/openapi-sdk) |
| 11 | +[](https://packagist.org/packages/openapi/openapi-sdk) |
| 12 | +[](LICENSE) |
| 13 | +[](https://packagist.org/packages/openapi/openapi-sdk) |
| 14 | +<br> |
| 15 | +[](https://www.linuxfoundation.org/about/members) |
| 16 | +</div> |
| 17 | + |
| 18 | +## Overview |
| 19 | + |
| 20 | +A minimal and agnostic PHP SDK for Openapi, inspired by a clean client implementation. This SDK provides only the core HTTP primitives needed to interact with any Openapi service. |
| 21 | + |
| 22 | +## Pre-requisites |
| 23 | + |
| 24 | +Before using the Openapi PHP Client, you will need an account at [Openapi](https://console.openapi.com/) and an API key to the sandbox and/or production environment |
| 25 | + |
| 26 | +## Features |
| 27 | + |
| 28 | +- **Agnostic Design**: No API-specific classes, works with any OpenAPI service |
| 29 | +- **Minimal Dependencies**: Only requires PHP 8.0+ and cURL |
| 30 | +- **OAuth Support**: Built-in OAuth client for token management |
| 31 | +- **HTTP Primitives**: GET, POST, PUT, DELETE, PATCH methods |
| 32 | +- **Clean Interface**: Similar to the Rust SDK design |
| 33 | + |
| 34 | +## What you can do |
| 35 | + |
| 36 | +With the Openapi PHP Client, you can easily interact with a variety of services in the Openapi Marketplace. For example, you can: |
| 37 | + |
| 38 | +- 📩 **Send SMS messages** with delivery reports and custom sender IDs |
| 39 | +- 💸 **Process bills and payments** in real time via API |
| 40 | +- 🧾 **Send electronic invoices** securely to the Italian Revenue Agency |
| 41 | +- 📄 **Generate PDFs** from HTML content, including JavaScript rendering |
| 42 | +- ✉️ **Manage certified emails** and legal communications via Italian Legalmail |
| 43 | + |
| 44 | +For a complete list of all available services, check out the [Openapi Marketplace](https://console.openapi.com/) 🌐 |
| 45 | + |
| 46 | + |
| 47 | + |
1 | 48 |
|
2 | 49 | # OpenApi IT Python Client |
3 | 50 |
|
@@ -75,3 +122,52 @@ Please adhere to this project's `code of conduct`. |
75 | 122 |
|
76 | 123 | - [@maiku1008](https://www.github.com/maiku1008) |
77 | 124 | - [@openapi-it](https://github.com/openapi-it) |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | +## Contributing |
| 130 | + |
| 131 | +Contributions are always welcome! Whether you want to report bugs, suggest new features, improve documentation, or contribute code, your help is appreciated. |
| 132 | + |
| 133 | +See [docs/contributing.md](docs/contributing.md) for detailed instructions on how to get started. Please make sure to follow this project's [docs/code-of-conduct.md](docs/code-of-conduct.md) to help maintain a welcoming and collaborative environment. |
| 134 | + |
| 135 | +## Authors |
| 136 | + |
| 137 | +Meet the project authors: |
| 138 | + |
| 139 | +- L. Paderi ([@lpaderiAltravia](https://www.github.com/lpaderiAltravia)) |
| 140 | +- Openapi Team ([@openapi-it](https://github.com/openapi-it)) |
| 141 | + |
| 142 | +## Partners |
| 143 | + |
| 144 | +Meet our partners using Openapi or contributing to this SDK: |
| 145 | + |
| 146 | +- [Blank](https://www.blank.app/) |
| 147 | +- [Credit Safe](https://www.creditsafe.com/) |
| 148 | +- [Deliveroo](https://deliveroo.it/) |
| 149 | +- [Gruppo MOL](https://molgroupitaly.it/it/) |
| 150 | +- [Jakala](https://www.jakala.com/) |
| 151 | +- [Octotelematics](https://www.octotelematics.com/) |
| 152 | +- [OTOQI](https://otoqi.com/) |
| 153 | +- [PWC](https://www.pwc.com/) |
| 154 | +- [QOMODO S.R.L.](https://www.qomodo.me/) |
| 155 | +- [SOUNDREEF S.P.A.](https://www.soundreef.com/) |
| 156 | + |
| 157 | +## Our Commitments |
| 158 | + |
| 159 | +We believe in open source and we act on that belief. We became Silver Members |
| 160 | +of the Linux Foundation because we wanted to formally support the ecosystem |
| 161 | +we build on every day. Open standards, open collaboration, and open governance |
| 162 | +are part of how we work and how we think about software. |
| 163 | + |
| 164 | +## License |
| 165 | + |
| 166 | +This project is licensed under the [MIT License](LICENSE). |
| 167 | + |
| 168 | +The MIT License is a permissive open-source license that allows you to freely use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, provided that the original copyright notice and this permission notice are included in all copies or substantial portions of the software. |
| 169 | + |
| 170 | +In short, you are free to use this SDK in your personal, academic, or commercial projects, with minimal restrictions. The project is provided "as-is", without any warranty of any kind, either expressed or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. |
| 171 | + |
| 172 | +For more details, see the full license text at the [MIT License page](https://choosealicense.com/licenses/mit/). |
| 173 | + |
0 commit comments