Download the PHP package lofye/foundry-framework without Composer

On this page you can find all versions of the php package lofye/foundry-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package foundry-framework

Foundry Framework

Foundry is a production-minded, explicit, deterministic, LLM-first PHP framework for building feature-local web apps. Visit FoundryFramework.org for extensive documentation.

Core Foundry remains MIT-licensed and fully usable without restriction. Explain, generate, diagnostics, trace analysis, and graph diffing remain available without a license. The monetization system is opt-in, local-first, and isolated from core compile, inspect, verify, scaffold, and runtime flows.

It is optimized for:

Getting Started

Run:

Foundry behaves deterministically:

For meaningful framework-module work, canonical context lives in:

These paths mean:

For downstream application feature work, use:

For completed active framework execution specs, create or update the matching reconstruction note before reporting completion. Reconstruction notes describe what actually changed, not speculative implementation plans.

Execution spec IDs are ordered contracts within each feature. IDs must remain contiguous at every hierarchy level (001, 002, 003; 007.001, 007.002, ...), skipping numbers is forbidden, and agents must stop instead of planning, implementing, promoting, or logging specs when any numeric gap exists.

Use foundry verify context --feature=<feature> --json as the primary machine-readable proceed/fail gate. If canonical context is missing, create it first with foundry context init <feature> --json. If context verification fails, repair context before implementation.

Modules vs Features

Foundry framework capabilities are governed as Framework Modules under Modules/. Downstream business/application capabilities are governed as Application Features under Features/. Framework internals may remain layer-organized under src/*.

Reconstruction Notes

Foundry stores implementation reconstruction notes in each module's plans/ directory.

Specs define what must be true. Decision ledgers explain why architectural choices were made. Implementation logs record that a spec was completed. Reconstruction notes explain how the spec was actually implemented.

This gives future agents and developers enough context to resume work, audit behavior, or rebuild a module without relying on chat history.

Example:

For framework modules, completed specs are expected to have matching reconstruction notes.

Feature-Localized Layout

Foundry features are moving toward a localized structure where the feature directory is the primary context unit for LLMs:

Feature-specific runtime code and tests should live inside the owning feature directory once the localized feature layout is enabled. Shared framework files should contain registration glue only.

Use boundary verification when available:

Framework documentation under docs/ is canonical public documentation and is consumed by the foundryframework.org website. Application feature context belongs under Features/<Feature>/, not docs/features/<feature>/; feature runtime code belongs under Features/<Feature>/src/.

Shell Completion

Foundry can emit deterministic completion scripts for bash and zsh:

Static completion comes from the registered CLI surface, so command and subcommand suggestions stay aligned with help --json and CLI surface verification.

When completing foundry implement spec <feature> <id>, names and ids resolve from active execution specs, preferring canonical module/feature roots (Modules/*/specs and Features/*/specs) with legacy compatibility where applicable. Draft specs are excluded by default.

Install And First Run (Packagist)

Core Workflow for LLMs

  1. Read the canonical feature spec, state document, and decision ledger.
  2. Run foundry verify context --feature=<feature> --json.
  3. Repair context first if verification fails.
  4. Make the smallest necessary source-of-truth changes.
  5. Re-run verification and tests.

Clarification: feature-alignment-pass is a skill/workflow name, not a Foundry CLI command. Use ./foundry verify context --json as the canonical CLI command for context/alignment validation.

When claiming implementation completion, use this canonical machine gate:

Reference Pointers

For deeper architecture walkthroughs, use foundry explain <target> --deep --markdown --json. The explain system composes ExplainContribution sections through the contributor registry and related docs.

Browse runnable examples in docs/example-applications.md and examples/README.md.

Use AGENTS.md for the full contributor and agent workflow.


All versions of foundry-framework with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-json Version *
ext-pdo Version *
opis/json-schema Version ^2.6
symfony/yaml Version ^7.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lofye/foundry-framework contains the following files

Loading the files please wait ...