Skip to content

Schleyer-EDV/fireapi-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fireapi-php-client

=======================

This PHP 8.1+ library allows you to communicate with the fireapi of 24fire GmbH.

PHP Version Require Latest Stable Version License

You can find the full API documentation here!

Getting Started

Recommended installation is using Composer!

In the root of your project execute the following:

$ composer require schleyer-edv/fireapi-php-client

Or add this to your composer.json file:

{
    "require": {
        "schleyer-edv/fireapi-php-client": "@stable"
    }
}

Then perform the installation:

$ composer install --no-dev

Examples

Creating the fireapi main object:

<?php
// Require the autoloader
require_once 'vendor/autoload.php';

// Use the library namespace
use fireapi\fireapi;

// Then simply pass your API-Token when creating the API client object.
$client = new fireapi('API-Token');

// Then you are able to perform a request
var_dump($client->vm()->getStatus('{vmid}'));
?>

About

A full-featured implementation of the fireapi of 24fire GmbH

Resources

License

Stars

6 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Languages