brightery/framework

Cache-first, SEO-first, AI-native PHP application framework.

Maintainers

Package info

github.com/Brightery/brightery-framework

pkg:composer/brightery/framework

Transparency log

Statistics

Installs: 9

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-08-05 15:46 UTC

This package is auto-updated.

Last update: 2026-08-05 18:29:43 UTC


README

Brightery is a cache-first, SEO-first, AI-native PHP application framework built for explicit, compiled, inspectable applications rather than runtime magic.

Install

composer require brightery/framework "^1.0"

For a complete application:

composer create-project brightery/app my-project "^1.0"

Stable 1.x contract

Stable classes registered in an application's api-surface.php are covered by the 1.x backward-compatibility policy. Public parameter names are included because PHP named arguments make renaming a parameter a source-breaking change.

php vendor/bin/brightery api:snapshot storage/release/api-surface.json
php vendor/bin/brightery api:check previous-api-surface.json
php vendor/bin/brightery support:policy --json

Production workflow

php vendor/bin/brightery app:install
php vendor/bin/brightery optimize
php vendor/bin/brightery runtime:soak --iterations=5000 --json
php vendor/bin/brightery release:check --production --json

Design principles

  • PHP 8.4 minimum with strict types;
  • manual routes and constructor injection;
  • deterministic production compilation;
  • request scopes for persistent workers;
  • secure defaults and fail-closed optional integrations;
  • JSON table schemas and explicit data tasks;
  • provider-neutral queues, storage, mail, notifications, realtime, and telemetry;
  • AI output treated as untrusted structured input;
  • no controller scanning, automatic endpoint exposure, or request-specific static state.

Review the stable release notes, support policy, security policy, architecture, and upgrade guide before production deployment.