Download the PHP package fisafe/api-client without Composer
On this page you can find all versions of the php package fisafe/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fisafe/api-client
More information about fisafe/api-client
Files in fisafe/api-client
Package api-client
Short Description The `Fisafe Api Client` is a powerful PHP client designed to integrate seamlessly with the `fisafe.cloud` API.
License
Informations about the package api-client
Fisafe Api Client Documentation
The Fisafe Api Client
is a powerful PHP client designed to integrate seamlessly with the fisafe.cloud
API. This README provides a concise guide on setting up and using the client.
Installation
To install the Fisafe Api Client, use Composer:
Ensure you have the necessary dependencies installed and autoloaded.
Initialization
First, include the required files and use the necessary classes:
Initialize the client by passing the desired authentication details with your fisafe.cloud
credentials:
Specify used organization (tenant) domain
You can also change the url (organization context) if needed, but the user must be related to the organization.
Usage
Creating a User:
Creating an Identifier for a User:
You can associate a user with identifiers such as 'pin', 'rfid-tag', or 'licence-plate':
Listing Users:
Retrieve a list of users with a specific identifier:
Granting User Access (assuming function and context logic exists):
Conclusion
The Fisafe Api Client
provides a streamlined approach to interacting with the fisafe.cloud
API, simplifying the management of users, identifiers, and access rights. For more in-depth details, please refer to the full documentation or the official API documentation.
Note: Always handle exceptions and check return values appropriately in production code.