PHPackages                             gammadia/totem-php-wrapper - 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. gammadia/totem-php-wrapper

AbandonedArchivedLibrary

gammadia/totem-php-wrapper
==========================

PHP Wrapper for Totem

1.0.1(4y ago)289.1kproprietaryPHPPHP ^7.2 || &gt;=8.0.2

Since Mar 14Pushed 4y ago9 watchersCompare

[ Source](https://github.com/gammadia/totem-php-wrapper)[ Packagist](https://packagist.org/packages/gammadia/totem-php-wrapper)[ RSS](/packages/gammadia-totem-php-wrapper/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (11)Used By (0)

Standalone Totem PHP Client
===========================

[](#standalone-totem-php-client)

Files structures
----------------

[](#files-structures)

- src/Entity: contains the DTO ([https://en.wikipedia.org/wiki/Data\_transfer\_object](https://en.wikipedia.org/wiki/Data_transfer_object)) for the communication with Totem (ex: Entity/Person represents the POST request to create a user into Totem)
- src/Exception: contains the ApiException class and a wrapper to wrap some specific Error (401, 409, etc)
- src/Handler: used for serialisation of the DTO
- src/HttpClient: abstraction layer for Guzzle Http Client (+ middleware)
- src/Resources: configuration file for the serializer
- src/Security: security layer for authentication (used by HttpClient)
- src/Serializer: contains serializer builder
- src/Service: contains the services that wrap the different calls with the API (Totem) with methods (ex: `$servicePerson->createPerson($person);` )
- Client: base class that declare the different services (person atm.)
- ClientBuilder: Builder for Clients

Usages
------

[](#usages)

For each call we want to wrap/create, we must implements a method and place it in the correct service:

- If the call is relative to an existing service (like person), it must be placed it into this service.
- If the call is relative to a new "domain" like "sector", a new service "sector" should be created into the namespace Client\\Totem\\Service with a method that represents the call in it.

For all new method in service, or new services, the corresponding tests have to be written and placed in the /tests directory.

Test
----

[](#test)

To execute the tests, from Tipee root directory we have to `$ cd Client/Totem` and the execute the tests `$ vendors/bin/phpunit`

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~232 days

Recently: every ~87 days

Total

9

Last Release

1488d ago

Major Versions

0.0.8 → 1.0.02021-06-10

PHP version history (3 changes)0.0.2PHP &gt;=7.2

0.0.8PHP ^7.2|^8.0

1.0.1PHP ^7.2 || &gt;=8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/71b8363baf8edb1c301d4e8424e32c8f829952ffe6cac401a1a757df2cc8c403?d=identicon)[Gammadia](/maintainers/Gammadia)

---

Top Contributors

[![gnutix](https://avatars.githubusercontent.com/u/310134?v=4)](https://github.com/gnutix "gnutix (11 commits)")[![ZHB](https://avatars.githubusercontent.com/u/219280?v=4)](https://github.com/ZHB "ZHB (3 commits)")[![BastienClement](https://avatars.githubusercontent.com/u/167511?v=4)](https://github.com/BastienClement "BastienClement (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gammadia-totem-php-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/gammadia-totem-php-wrapper/health.svg)](https://phpackages.com/packages/gammadia-totem-php-wrapper)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)

PHPackages © 2026

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