PHPackages                             plc-xi/core - 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. plc-xi/core

ActiveProject

plc-xi/core
===========

Core Module for PLC XI Api Server

05PHP

Since Nov 27Pushed 3y agoCompare

[ Source](https://github.com/OnePlc/plc-xi-api-core)[ Packagist](https://packagist.org/packages/plc-xi/core)[ RSS](/packages/plc-xi-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

onePlace XI Api Core
====================

[](#oneplace-xi-api-core)

Core Module for onePlace XI Api Server.

How to start locally
--------------------

[](#how-to-start-locally)

- Enter Projekt directory, run `composer install`
- Create `config/autoload/local.php`
- Start Dev Server `php -S 0.0.0.0:8080 -t public public/index.php`
- The API is now running on localhost:8080

```
return [
    'db' => [
        'adapters' => [
            'api' => [
                'database' => 'nameOfYourDatabase',
                'driver' => 'PDO_Mysql',
                'username' => 'databaseUser',
                'password' => 'databasePassword',
            ],
        ],
    ],
    'api-tools-mvc-auth' => [
        'authentication' => [
            'adapters' => [
                'api' => [
                    'adapter' => \Laminas\ApiTools\MvcAuth\Authentication\OAuth2Adapter::class,
                    'storage' => [
                        'adapter' => \pdo::class,
                        'dsn' => 'mysql:dbname=nameOfYourDatabase;host=localhost;charset=utf8',
                        'route' => '/oauth',
                        'username' => 'databaseUser',
                        'password' => 'databasePassword',
                    ],
                ],
            ],
        ],
    ],
];
```

Configure Authentication
------------------------

[](#configure-authentication)

- Insert a new row into `oauth_clients` table
    - `client_id` is the username for your client
    - `client_secret` is the hashed password for your client
        - You can use `php .\vendor\laminas-api-tools\api-tools-oauth2\bin\bcrypt.php yourPassword` to generate a bcrypt hash

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1191736?v=4)[onePlace](/maintainers/onePlace)[@oneplace](https://github.com/oneplace)

---

Top Contributors

[![Praesidiarius](https://avatars.githubusercontent.com/u/24601980?v=4)](https://github.com/Praesidiarius "Praesidiarius (1 commits)")

### Embed Badge

![Health badge](/badges/plc-xi-core/health.svg)

```
[![Health](https://phpackages.com/badges/plc-xi-core/health.svg)](https://phpackages.com/packages/plc-xi-core)
```

PHPackages © 2026

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