PHPackages                             danger2k7/cakephp-soap-auth - 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. danger2k7/cakephp-soap-auth

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

danger2k7/cakephp-soap-auth
===========================

CakePHP plugin for authenticating for stateless connexions

1.0(9y ago)03.5k↓100%MITPHP

Since Mar 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dynweb-org/cakephp-soap-auth)[ Packagist](https://packagist.org/packages/danger2k7/cakephp-soap-auth)[ Docs](https://github.com/danger2k7/cakephp-soap-auth)[ RSS](/packages/danger2k7-cakephp-soap-auth/feed)WikiDiscussions master Synced 1mo ago

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

CakePHP SOAP Authenticate plugin
================================

[](#cakephp-soap-authenticate-plugin)

[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)

Plugin containing AuthComponent's authenticate class for authenticating using headers.

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

[](#requirements)

- CakePHP 3.5+

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

[](#installation)

```
composer require dynweb-org/cakephp-soap-auth
```

Usage
-----

[](#usage)

In your app's `config/bootstrap.php` add:

```
// In config/bootstrap.php
Plugin::load('Dynweb/SoapAuth');
```

or using cake's console:

```
./bin/cake plugin load Dynweb/SoapAuth
```

Configuration:
--------------

[](#configuration)

Setup `AuthComponent`:

```
    // In your controller, for e.g. src/Api/AppController.php
```

Working
-------

[](#working)

The authentication class checks for the token in two locations:

- `HTTP_AUTHORIZATION` environment variable:

    It first checks if token is passed using `Authorization` request header. The value should be of form `Bearer `. The `Authorization` header name and token prefix `Bearer` can be customzied using options `header` and `prefix`respectively.

    **Note:** Some servers don't populate `$_SERVER['HTTP_AUTHORIZATION']` when `Authorization` header is set. So it's upto you to ensure that either `$_SERVER['HTTP_AUTHORIZATION']` or `$_ENV['HTTP_AUTHORIZATION']` is set.

    For e.g. for apache you could use the following:

    ```
    RewriteEngine On
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

    ```
- The query string variable specified using `parameter` config:

    Next it checks if the token is present in query string. The default variable name is `token` and can be customzied by using the `parameter` config shown above.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3340d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b220b80f0068faa1f97a5f51c2ba823ba45764a5d222b6c6f989be9eedacbb1?d=identicon)[danger2k7](/maintainers/danger2k7)

---

Top Contributors

[![danger2k7](https://avatars.githubusercontent.com/u/193291?v=4)](https://github.com/danger2k7 "danger2k7 (9 commits)")

---

Tags

Authenticationcakephpsoapauthenticatestareless

### Embed Badge

![Health badge](/badges/danger2k7-cakephp-soap-auth/health.svg)

```
[![Health](https://phpackages.com/badges/danger2k7-cakephp-soap-auth/health.svg)](https://phpackages.com/packages/danger2k7-cakephp-soap-auth)
```

###  Alternatives

[admad/cakephp-jwt-auth

CakePHP plugin for authenticating using JSON Web Tokens

160680.3k8](/packages/admad-cakephp-jwt-auth)[cakedc/users

Users Plugin for CakePHP

524897.0k16](/packages/cakedc-users)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

129228.6k10](/packages/dereuromark-cakephp-tinyauth)[cakedc/auth

Auth objects for CakePHP

31630.0k2](/packages/cakedc-auth)[aura/auth

Provides a unified interface to authenticate a user with local or remote authentication systems.

138238.7k12](/packages/aura-auth)[xety/cake3-cookieauth

A simple Cake3 plugin to authenticate users with Cookies.

1954.7k2](/packages/xety-cake3-cookieauth)

PHPackages © 2026

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