PHPackages                             kingstarter/invoiceplane-saml - 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. kingstarter/invoiceplane-saml

ActiveLibrary

kingstarter/invoiceplane-saml
=============================

A saml plugin for InvoicePlane 1.5

1.1.0(6y ago)2242MITPHPPHP &gt;=7.2

Since Aug 8Pushed 6y ago2 watchersCompare

[ Source](https://github.com/kingstarter/invoiceplane-saml)[ Packagist](https://packagist.org/packages/kingstarter/invoiceplane-saml)[ RSS](/packages/kingstarter-invoiceplane-saml/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

InvoicePlane SAML Authentication Plugin
=======================================

[](#invoiceplane-saml-authentication-plugin)

This package is planned as a plugin to integrate SAML to [InvoicePlane 1](https://github.com/InvoicePlane/InvoicePlane). Using the package let InvoicePlane act as an SAML SP (Service Provider). An IDP integration is currently not planned.

Description
-----------

[](#description)

SAML generally implements SingleSignOn (SSO) and SingleLogout (SLO) between different web applications. This package allows the implementation of SingleSignOn. Though configurations of SingleLogout are available, the SLO part has not been tested and might therefore not work correctly.

Automatic account creation has been added as well. When signing in via the IDP with an unknown account an adminstator user is created using both the given name and email and some standard configurations.

Installation and configuration
------------------------------

[](#installation-and-configuration)

Base for the package is not the zip-package of the website but the development stack from github. First load the git master branch from [github](https://github.com/InvoicePlane/InvoicePlane). Then install the package using `composer`:

```
git clone https://github.com/InvoicePlane/InvoicePlane.git
cd InvoicePlane
composer install
npm install
grunt build
composer require "kingstarter/laravel-saml":"dev-master"

```

Basically all that has to be done is calling the install script and configuring both the SP and the IDP for SAML authentication. The plugin install script will modify InvoicePlane to support SAML:

```
cd {ip-root-path}/
perl vendor/kingstarter/invoiceplane-saml/install-plugin.pl -v

```

### Configuring InvoicePlane as SP

[](#configuring-invoiceplane-as-sp)

After running the install script the general settings have been appended by a SAML entry. Login to InvoicePlane, go within system settings to the Saml settings. There are some sample settings given. Upon saving all settings will be added to the database. A metadata file is not needed.

### Configuring the IDP

[](#configuring-the-idp)

As `Entity ID / Issuer` the page address can be used, e.g. `https://invoiceplane.example.com`. The SAML-Response consumer URL (SP login destination) is the samlauth endpoint:

```
https://invoiceplane.example.com/index.php/sessions/samlauth

```

### Certificates

[](#certificates)

Certificates can be added using the integration settings. Alternatively they should be placed within the `/var/ip_certs` directory.

- SP Crt: `/var/ip_certs/ip-sp.crt`
- SP Key: `/var/ip_certs/ip-sp.crt`
- IDP Crt: Stored within database using the configuration page.

Troubleshooting
---------------

[](#troubleshooting)

### Note for CSRF protection

[](#note-for-csrf-protection)

Within `application/config/config.php` the samlauth API endpoint needs to be added within the `csrf_exclude_uris` array (should be done automatically by the install script). In case IP is blocking with an 403 forbidden error it might be necessary to check the config entry:

```
$config['csrf_exclude_uris'] = array(
    'sessions/samlauth'
);

```

Contributors
------------

[](#contributors)

- The package is redesigned using a fork of [Trajches Kanboard SAMLAuth Plugin](https://github.com/steve-ks/SamlAuth) as model.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~789 days

Total

2

Last Release

2411d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6

1.1.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/e0c7b7b7e285c598089a9b0ea90eed8a13bb23423a28e0e435eb383273b8fea3?d=identicon)[steve-ks](/maintainers/steve-ks)

---

Top Contributors

[![steve-ks](https://avatars.githubusercontent.com/u/25765482?v=4)](https://github.com/steve-ks "steve-ks (2 commits)")

---

Tags

samlSAML2onelogin

### Embed Badge

![Health badge](/badges/kingstarter-invoiceplane-saml/health.svg)

```
[![Health](https://phpackages.com/badges/kingstarter-invoiceplane-saml/health.svg)](https://phpackages.com/packages/kingstarter-invoiceplane-saml)
```

###  Alternatives

[aacotroneo/laravel-saml2

A Laravel package for Saml2 integration as a SP (service provider) for multiple IdPs, based on OneLogin toolkit which is much more lightweight than simplesamlphp.

5704.4M](/packages/aacotroneo-laravel-saml2)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)

PHPackages © 2026

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