PHPackages                             dsv-su/daisy-api-client-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dsv-su/daisy-api-client-php

ActiveLibrary[API Development](/categories/api)

dsv-su/daisy-api-client-php
===========================

Daisy API client for PHP

1.0.8(11mo ago)046MITPHPPHP &gt;=5.4.0CI failing

Since Sep 8Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/dsv-su/daisy-api-client-php)[ Packagist](https://packagist.org/packages/dsv-su/daisy-api-client-php)[ RSS](/packages/dsv-su-daisy-api-client-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (4)Versions (10)Used By (0)

Daisy API Client for PHP
========================

[](#daisy-api-client-for-php)

This library can be used to access the API provided by DSV's administrative system Daisy from PHP applications.

Installation
------------

[](#installation)

```
composer require dsv-su/daisy-api-client-php '~1.0'

```

Usage
-----

[](#usage)

Create a file `daisy_api.json` containing

```
{
    "url": "https://api.dsv.su.se/rest/",
    "user": "nisse",
    "pass": "password"
}
```

except with user and pass replaced by yours. Now you can use the library like this:

```
require 'vendor/autoload.php';
use DsvSu\Daisy;

$employees = Daisy\Employee::find(['department' => 4]);
foreach ($employees as $e) {
    $p = $e->getPerson();
    echo $p->getFirstName() . ' ' . $p->getLastName() . "\n";
}
```

If `daisy_api.json` exists in the current directory, it will be used automatically. Otherwise, you can specify its location with:

```
Daisy\Client::initUsingConfigFile(dirname(__FILE__) . '/daisy_api.json');
```

Documentation
-------------

[](#documentation)

Some functions are documented in the source code using phpdoc comments. The easiest way to understand how to use the library is to read the source and look at examples, e.g. .

Test suite
----------

[](#test-suite)

The library has a test suite which you should run before committing anything:

```
vendor/bin/phpunit

```

It is a good idea to add test cases when you modify the code.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance75

Regular maintenance activity

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 84.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~452 days

Recently: every ~428 days

Total

9

Last Release

333d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5a14e91d79f52c2ed51399aeaecbfc7843c00e7b7902f553da7f18e64d1fe5c?d=identicon)[pelle](/maintainers/pelle)

---

Top Contributors

[![polof](https://avatars.githubusercontent.com/u/419275?v=4)](https://github.com/polof "polof (95 commits)")[![booski](https://avatars.githubusercontent.com/u/1434152?v=4)](https://github.com/booski "booski (14 commits)")[![ahberg](https://avatars.githubusercontent.com/u/2561656?v=4)](https://github.com/ahberg "ahberg (2 commits)")[![pavelsokolov](https://avatars.githubusercontent.com/u/3234777?v=4)](https://github.com/pavelsokolov "pavelsokolov (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dsv-su-daisy-api-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/dsv-su-daisy-api-client-php/health.svg)](https://phpackages.com/packages/dsv-su-daisy-api-client-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
