Skip to content

About

Architecture contracts, static analysis purity rules, and AI agent instructions for 8fold PHP web apps.

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

8fold Architecture for PHP

PHP conventions (strict)

  • MethodScopeConventionRule: Enforces strict self::, parent::, and $this-> scoping conventions on method calls.
  • DataObjectPurityRule: Enforces strict immutable, property-only rules for class instances.
  • RecordPurityRule: Enforces strict immutable, property-only Data Object rules applied to database row representation.

PHP conventions (default with options)

  • ClassMustBeFinalRule: Enforces classes are declared final by default. Use the AllowInheritance to explicitly allow class extension.
  • Data Objects are PHP classes

About

Architecture contracts, static analysis purity rules, and AI agent instructions for 8fold PHP web apps.

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages