Developer documentation

Genelet for PHP

A Composer-based PHP framework for configuration-described applications, with PDO database access, Twig templates and component Filter and Model classes.

Application structure

A project configures its namespace, routes, roles, output tags, templates and database settings. Each component declares its actions, tables and keys in component.json. Application classes follow the project/component namespace convention.

Runtime and source

The Docker test harness uses PHP 8.3 and MySQL 8. Composer metadata does not declare an explicit minimum PHP version. Use the verified harness and dependency requirements instead of inventing a broad PHP compatibility claim.

The included samples/project-php application contains configuration, seed SQL, application classes, templates, PHP entrypoints and browser assets. It uses the framework through a local Composer path repository.

Start with the right example

The sample README says the former GraphQL helper and webonyx/graphql-php dependency are not included. Historical references to that feature should not be treated as instructions for the current sample.

Follow the PHP getting-started guide.

Source and license

guruperl/php, branch master. Current README · LGPL 2.1 (Composer: LGPL-2.1-only) license · Issues.

Source reviewed October 5, 2026. Commands and capabilities below are grounded in the repository; builds and application examples have not been executed as part of this content restoration. No supported-version lifecycle or production-readiness guarantee is implied.