PHPackages                             companyos/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. [API Development](/categories/api)
4. /
5. companyos/core

ActiveSymfony-bundle[API Development](/categories/api)

companyos/core
==============

CompanyOS Core Bundle - Eine modulare Plattform basierend auf DDD, CQRS und Event-Driven Architecture (Alpha Version)

0.1.152-alpha(10mo ago)081MITPHPPHP &gt;=8.2CI passing

Since Jun 25Pushed 10mo agoCompare

[ Source](https://github.com/BechsteinDigital/companyOSCoreBundle)[ Packagist](https://packagist.org/packages/companyos/core)[ Docs](https://github.com/companyos/core-bundle)[ RSS](/packages/companyos-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (28)Versions (150)Used By (0)

CompanyOS Core Bundle
=====================

[](#companyos-core-bundle)

Ein vollständiges Symfony-Bundle für das CompanyOS-System mit Plugin-Architektur, Authentifizierung, Benutzerverwaltung und API-First-Design.

[![Latest Version on Packagist](https://camo.githubusercontent.com/7ea244cadfc0bc23c6e5dba0397a71358ac8bab27066b6c9bc48c81faea69f14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6d70616e796f732f636f72652e737667)](https://packagist.org/packages/companyos/core)[![Total Downloads](https://camo.githubusercontent.com/49d720c649421c3b07975a567a15905eb1090eb584978f75f32de61918fe6ba5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6d70616e796f732f636f72652e737667)](https://packagist.org/packages/companyos/core)[![License](https://camo.githubusercontent.com/a21463fe3066b27fbb2bc335b6b9e800ac011e6eab3a090240607155594066e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6d70616e796f732f636f72652e737667)](https://packagist.org/packages/companyos/core)

⚠️ Alpha Version
----------------

[](#️-alpha-version)

\*\*Dies ist eine Alpha-Version (0.1.152-alpha

### Was funktioniert:

[](#was-funktioniert)

- ✅ Grundlegende Bundle-Struktur (DDD-Layer)
- ✅ Service-Konfiguration
- ✅ Doctrine-Mappings
- ✅ Routing-Grundstruktur
- ✅ Plugin-System-Architektur
- ✅ API-First-Design

### Was noch fehlt:

[](#was-noch-fehlt)

- ❌ Vollständige Controller-Implementierung
- ❌ Unit/Integration Tests
- ❌ Datenbank-Migrationen
- ❌ Vollständige Dokumentation
- ❌ Code Coverage

Architektur
-----------

[](#architektur)

Das CoreBundle folgt einer **API-First-Architektur**:

- **Reine API**: Keine UI, keine Assets, keine Templates
- **Business-Logik**: Domain-Logik, Application-Layer, Infrastructure
- **Plugin-Framework**: Event- und Service-Extension für Core und API
- **Modular**: Kann unabhängig vom BackendBundle verwendet werden

Features
--------

[](#features)

- **Plugin-System**: Dynamisches Laden und Verwalten von Plugins
- **OAuth2-Authentifizierung**: Vollständige OAuth2-Implementierung mit Password Grant
- **Benutzerverwaltung**: CRUD-Operationen für Benutzer
- **Rollen- und Berechtigungssystem**: Flexible Zugriffskontrolle
- **Webhook-System**: Event-basierte Webhook-Integration
- **Event-Driven Architecture**: Domain Events und Event Store
- **API-First**: Alle Funktionen über REST-API verfügbar

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

[](#installation)

### ⚠️ Nur für Entwickler und Tester

[](#️-nur-für-entwickler-und-tester)

```
composer require companyos/core:^0.1.152-alpha
```

### Bundle registrieren

[](#bundle-registrieren)

```
// config/bundles.php
return [
    // ... andere Bundles
    CompanyOS\CompanyOSCoreBundle::class => ['all' => true],
];
```

### Konfiguration

[](#konfiguration)

```
# config/packages/companyos_core.yaml
companyos_core:
    plugin:
        directories: 'custom/plugins,custom/static-plugins'
    auth:
        oauth2:
            enabled: true
            client_id: 'your-client-id'
            client_secret: 'your-client-secret'
```

Plugin-System
-------------

[](#plugin-system)

Das Plugin-System funktioniert vollständig über Services und erfordert **keine Kernel-Erweiterung**:

- **Automatisches Plugin-Loading**: Plugins werden beim Bundle-Boot geladen
- **Service-basierte Architektur**: Alle Plugin-Funktionen über Services
- **Dynamische Routen**: Plugin-Routen werden automatisch registriert
- **Service-Discovery**: Plugin-Services werden automatisch geladen

### Plugin erstellen

[](#plugin-erstellen)

```
