Download the PHP package anis-saied/user-core-php without Composer
On this page you can find all versions of the php package anis-saied/user-core-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anis-saied/user-core-php
More information about anis-saied/user-core-php
Files in anis-saied/user-core-php
Download anis-saied/user-core-php
More information about anis-saied/user-core-php
Files in anis-saied/user-core-php
Vendor anis-saied
Package user-core-php
Short Description Core user domain logic (framework agnostic)
License MIT
Package user-core-php
Short Description Core user domain logic (framework agnostic)
License MIT
Please rate this library. Is it a good library?
Informations about the package user-core-php
User-Core-PHP
Core domain User en PHP, framework-agnostic, basé sur DDD et SOLID.
- Core user domain logic, framework agnostic.
- package core agnostique
Principles
- Clean Architecture
- DDD (light)
- PSR standards
- No framework dependency
📦 Installation
Architecture
- Domain : logique métier pure
- Application : cas d’usage
- Infrastructure : implémentations techniques
- tests : unitaires et intégration
- docs : diagrammes UML (PlantUML)
User
- le role de user dans ce package (user-core) est métier et non pas technique
- donc il ne doit pas mentionner des détails technique comme
- les timestamps (created_at, updated_at)
- le domaine doit etre pure business logic, pas persistence
- dans laravel/Symphony, on pourra ajouter timestamps coté model/ORM
- le core doit rester agnostique
Installation
Usage
Tests
- Tes tests sont déjà présents pour Unit et Integration
- Vérifie que :
- Chaque méthode publique est couverte
- Les criteria,
listByCriteriaetmatchingsont testés - Les tests peuvent tourner sur CI/CD (GitHub Actions par ex.)
- apply the tests by
Analyse statique
PHPStan sert à détecter les erreurs dans ton code PHP sans l’exécuter. C’est ce qu’on appelle de l’analyse statique.
Documentation / PHPDoc / UML
- Les diagrammes PlantUML sont là (
user-domain.puml+.png) - Assure-toi que toutes les classes et méthodes ont un docblock PHPDoc
- Tu peux générer la doc HTML avec phpDocumentor ou Sami pour fournir un site de documentation complet
All versions of user-core-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package anis-saied/user-core-php contains the following files
Loading the files please wait ...