afosto / io-sdk
Afosto IO SDK
Installs: 528
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:package
Requires
- dev-master
- 1.13.32
- 1.13.31
- 1.13.30
- 1.13.29
- 1.13.28
- 1.13.27
- 1.13.26
- 1.13.25
- 1.13.24
- 1.13.23
- 1.13.22
- 1.13.21
- 1.13.20
- 1.13.19
- 1.13.18
- 1.13.17
- 1.13.16
- 1.13.15
- 1.13.14
- 1.13.13
- 1.13.12
- 1.13.11
- 1.13.10
- 1.13.9
- 1.13.8
- 1.13.7
- 1.13.6
- 1.13.5
- 1.13.4
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13
- 0.0.12
- 0.0.11
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-dependabot/composer/symfony/serializer-4.4.35
This package is auto-updated.
Last update: 2024-11-25 03:30:17 UTC
README
The Afosto.io SDK for PHP makes it easy for developers to access and use afosto-io
services.
Getting Started
If you run into any problems please do not hesitate to open an issue at this repository.
Docs
API documentation can be found at https://developers.afosto.io.
Prerequisites
To get started you'll need:
- a free afosto.io account (signup here)
- make sure you have composer installed to get started quickly
- php 7
Installing
You can easily install the client through composer:
composer require afosto/io-sdk
Built with
- JanePHP - For generation the api client
- Swagger - API management tool
- Redoc - Great API documentation tool
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Example
Connecting with the SDK is easy. You instantiate the sdk with client credentials, and you are ready to make requests additionaly you can add the scopes you want you your request
$scopes = ['iam:users:create']; $client = new \Afosto\Sdk\Sdk("1234","123456",$scopes); $user = $client->getAuthorizedClient()->createUser( (new \Afosto\Sdk\Model\IamUserModel) ->setEmail("info@afosto.com") ->setFirstName("info") ->setLastName("afosto") ); //prints the created user id print_r($user->getId());
License
This project is licensed under the MIT License - see the LICENSE.md file for details