PHPackages                             oefenweb/cakephp-uni-login-webservice - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. oefenweb/cakephp-uni-login-webservice

ActiveCakephp-plugin[Authentication &amp; Authorization](/categories/authentication)

oefenweb/cakephp-uni-login-webservice
=====================================

A UNI•Login (Web Service) Plugin for CakePHP

v1.0.0(7y ago)111.5k3[1 issues](https://github.com/Oefenweb/cakephp-uni-login-webservice/issues)MITPHPPHP &gt;=7.0.0

Since Dec 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Oefenweb/cakephp-uni-login-webservice)[ Packagist](https://packagist.org/packages/oefenweb/cakephp-uni-login-webservice)[ Docs](http://github.com/Oefenweb/cakephp-uni-login-webservice)[ RSS](/packages/oefenweb-cakephp-uni-login-webservice/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (1)Versions (22)Used By (0)

UniLoginWebservice plugin for CakePHP
=====================================

[](#uniloginwebservice-plugin-for-cakephp)

[![Build Status](https://camo.githubusercontent.com/25aad635375b9e68d5f0cca3ecbdaf2cb22741d39245e131f0400a3120da6c10/68747470733a2f2f7472617669732d63692e6f72672f4f6566656e7765622f63616b657068702d756e692d6c6f67696e2d776562736572766963652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Oefenweb/cakephp-uni-login-webservice)[![PHP 7 ready](https://camo.githubusercontent.com/04066f15423e6830f1ad1fc0b4e5b44bd39588d1a8d712de651b8ada632e5c92/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f4f6566656e7765622f63616b657068702d756e692d6c6f67696e2d776562736572766963652f62616467652e737667)](https://travis-ci.org/Oefenweb/cakephp-uni-login-webservice)[![Coverage Status](https://camo.githubusercontent.com/4855f73bc8e6951c554721804058aa8d5fc87a4d270307e9801d171b6dfe99ae/68747470733a2f2f636f6465636f762e696f2f67682f4f6566656e7765622f63616b657068702d756e692d6c6f67696e2d776562736572766963652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Oefenweb/cakephp-uni-login-webservice)[![Packagist downloads](https://camo.githubusercontent.com/ed8b479474893899efc014c0c377e4b72f9f01ba4bb225deb21ab2f6e2c42d50/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4f6566656e7765622f63616b657068702d756e692d6c6f67696e2d776562736572766963652e737667)](https://packagist.org/packages/oefenweb/cakephp-uni-login-webservice)[![Code Climate](https://camo.githubusercontent.com/7ba27b165cd90298755c41f63970bf1f40eba72086c564e40b23c8e27794ecf0/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4f6566656e7765622f63616b657068702d756e692d6c6f67696e2d776562736572766963652f6261646765732f6770612e737667)](https://codeclimate.com/github/Oefenweb/cakephp-uni-login-webservice)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/23c839e3ef6e6a35a723156cd8606ada2ba57eddf9e38ed22033006dbe12b5da/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4f6566656e7765622f63616b657068702d756e692d6c6f67696e2d776562736572766963652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Oefenweb/cakephp-uni-login-webservice/?branch=master)

This plugin communicates with the UNI•Login webservice (WS-02). This webservice provides basic information of UNI•Login users (by institution). This service doesn't require a signed agreement of the institution.

Requirements
------------

[](#requirements)

- CakePHP 2.9.0 or greater.
- PHP 7.0.0 or greater.

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

[](#installation)

Clone/Copy the files in this directory into `app/Plugin/UniLoginWebservice`

Configuration
-------------

[](#configuration)

Ensure the plugin is loaded in `app/Config/bootstrap.php` by calling:

```
CakePlugin::load('UniLoginWebservice');

```

Ensure to configure the following lines in `app/Config/bootstrap.php`:

```
Configure::write('UniLoginWebservice.wsBrugerid', 'wsBrugerid');
Configure::write('UniLoginWebservice.wsPassword', 'wsPassword');

```

Ensure to configure the following lines in `app/Config/database.php`:

```
public $uniLoginWebservice = [
	'datasource' => 'UniLoginWebservice.SoapSource',
	'wsdl' => 'https://ws02.infotjeneste.uni-c.dk/infotjeneste-ws/ws?WSDL'
];

```

Usage
-----

[](#usage)

### Make UniLogin webservice available

[](#make-unilogin-webservice-available)

```
public $uses = ['UniLoginWebservice.UniLogin'];

```

### Make a "helloWorld" call

[](#make-a-helloworld-call)

```
$this->UniLogin->helloWorld();

```

### Make a "helloSOAPFaultDemo" call

[](#make-a-hellosoapfaultdemo-call)

```
$this->UniLogin->helloSOAPFaultDemo();

```

### Retrieve data of employees by calling "hentAnsatte"

[](#retrieve-data-of-employees-by-calling-hentansatte)

```
$employees = $this->UniLogin->getEmployees($instid);

```

### Retrieve detailed data of employees by calling "hentAnsatte" and "hentPerson" for every employee

[](#retrieve-detailed-data-of-employees-by-calling-hentansatte-and-hentperson-for-every-employee)

```
$employees = $this->UniLogin->getEmployeesWithDetails($instid);

```

### Retrieve data of an institution by calling "hentInstitution"

[](#retrieve-data-of-an-institution-by-calling-hentinstitution)

```
$institution = $this->UniLogin->getInstitution($instid);

```

### Retrieve data of institutions where the user "brugerid" has a relation by calling "hentInstitutionsliste"

[](#retrieve-data-of-institutions-where-the-user-brugerid-has-a-relation-by-calling-hentinstitutionsliste)

```
$institutions = $this->UniLogin->getInstitutions($brugerid);

```

### Retrieve data of a person by calling "hentPerson"

[](#retrieve-data-of-a-person-by-calling-hentperson)

```
$person = $this->UniLogin->getPerson($brugerid);

```

### Retrieve data of students by calling "hentAlleElever"

[](#retrieve-data-of-students-by-calling-hentalleelever)

```
$students = $this->UniLogin->getStudents($instid);

```

### Retrieve detailed data of students by calling "hentAlleElever" and "hentPerson" for every student

[](#retrieve-detailed-data-of-students-by-calling-hentalleelever-and-hentperson-for-every-student)

```
$students = $this->UniLogin->getStudentsWithDetails($instid);

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 52% 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 ~75 days

Recently: every ~164 days

Total

21

Last Release

2766d ago

Major Versions

v0.3.5 → v1.0.02019-01-23

PHP version history (3 changes)v0.1.0PHP &gt;=5.3.10

v0.2.0PHP &gt;=5.4.16

v1.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4697819?v=4)[Oefenweb.nl](/maintainers/oefenweb)[@Oefenweb](https://github.com/Oefenweb)

---

Top Contributors

[![tersmitten](https://avatars.githubusercontent.com/u/3392962?v=4)](https://github.com/tersmitten "tersmitten (39 commits)")[![mvdriel](https://avatars.githubusercontent.com/u/408052?v=4)](https://github.com/mvdriel "mvdriel (34 commits)")[![mvbeek-oefenweb](https://avatars.githubusercontent.com/u/10832465?v=4)](https://github.com/mvbeek-oefenweb "mvbeek-oefenweb (2 commits)")

---

Tags

cakephpcakephp2phppluginuni-loginunilogin-login-procedurewebserviceweb servicecakephp

### Embed Badge

![Health badge](/badges/oefenweb-cakephp-uni-login-webservice/health.svg)

```
[![Health](https://phpackages.com/badges/oefenweb-cakephp-uni-login-webservice/health.svg)](https://phpackages.com/packages/oefenweb-cakephp-uni-login-webservice)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[rainlab/user-plugin

User plugin for October CMS

11855.3k17](/packages/rainlab-user-plugin)[markstory/acl_extras

Additional tools for managing DB ACL in CakePHP applications.

154315.4k](/packages/markstory-acl-extras)[webtechnick/cakephp-facebook-plugin

CakePHP Facebook Plugin

43612.3k](/packages/webtechnick-cakephp-facebook-plugin)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

226.7k](/packages/pressbooks-pressbooks-book)

PHPackages © 2026

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