kjgcoop/vikunja-api

Minimal PHP wrapper for the Vikunja REST API v1

Maintainers

Package info

github.com/kjgcoop/vikunja-api

pkg:composer/kjgcoop/vikunja-api

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-24 01:09 UTC

This package is auto-updated.

Last update: 2026-04-24 01:12:45 UTC


README

Vibe-coded library to hit a Vikunja instance; currently only supports /projects/{id}/views/{view}/tasks

Example CLI script that I generated with my brain and haven't run so it may be flawed. Hopefully you get the gist:

require_once "vendor/autoload.php";

use Kjgcoop\Vikunja\VikunjaClient;

if (!isset($argv[1]) || $argv[1] == '' || !isset($argv[2]) || $argv[2] == '') {
    die('Usage: '.$argv[0].' [project ID] [view ID]'.PHP_EOL);
} else {
    $projectId = $argv[1];
    $viewId = $argv[2];
}

$client = new VikunjaClient($config['vikunja_endpoint'], $config['vikunja_key']);

$buckets = $client->tasks()->forView($projectId, $viewId);

print_r($buckets);