Newer
Older
gnexus-auth-client-php / EXTRACTION.md
@Eugene Sukhodolskiy Eugene Sukhodolskiy 12 hours ago 1 KB Initial auth client package scaffold

Extraction Checklist

This package currently lives inside the gnexus-auth repository only as a temporary development location.

Target state:

  • separate private git repository;
  • package root becomes the repository root;
  • Composer install through private vcs repository.

Extraction Steps

  1. Create a new private repository for the package.
  2. Copy contents of packages/auth-client into the new repository root.
  3. Keep package name gnexus/auth-client.
  4. Keep namespace GNexus\GAuth.
  5. Run package tests in the new repository.
  6. Add CI for:
    • syntax lint
    • PHPUnit
  7. Tag the first private version.
  8. Connect consuming services through Composer repositories.type = vcs.

Before First Extraction

Recommended cleanup before moving:

  • add package changelog;
  • add stricter test coverage for HTTP mapping and webhook parsing edge cases;
  • decide first stable constructor signatures;
  • add at least one real PSR-18 integration test path;
  • document minimal supported PSR implementations for consumers.