Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/philipptrenz/kfm-connector

Keep track of all your Kirby CMS websites and other web services with the Kirby Fleet Manager
https://github.com/philipptrenz/kfm-connector

fleet-management kirby kirby-cms kirby-plugin

Last synced: 5 days ago
JSON representation

Keep track of all your Kirby CMS websites and other web services with the Kirby Fleet Manager

Awesome Lists containing this project

README

        

# Kirby Fleet Manager Connector

This is the official Kirby plugin to connect your [Kirby](https://getkirby.com) website to the [Kirby Fleet Manager](https://github.com/philipptrenz/kirby-fleet-manager).

## Installation

### Download

Download and copy this repository to `/site/plugins/kfm-connector`.

### Git submodule

```
git submodule add https://github.com/philipptrenz/kfm-connector.git site/plugins/kfm-connector
```

### Composer

```
composer require philipptrenz/kfm-connector
```

## Setup

Add the base url to your Kirby Fleet Manager instance as issuer to `site/config/config.php` (make sure to use a secure SSL connection):

```php
[
'issuer' => 'https://my-kirby-fleet-manager-instance.com',

'jwks_cache_duration' => 4320, // OPTIONAL; in minutes, defaults to 3 days
'ip_whitelist' => [ // OPTIONAL; limits access to listed IPs, if set
'::1',
'127.0.0.1'
]
],

# ...
];
```

## Test

```bash
./vendor/bin/phpunit --bootstrap ./tests/bootstrap.php --testdox ./tests/suites
```

## License

MIT

---

© 2023 Philipp Trenz