Download the PHP package fissible/verdict-storefront without Composer

On this page you can find all versions of the php package fissible/verdict-storefront. 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 verdict-storefront

verdict-storefront

A clone-and-run storefront support agent demonstrating correct fissible/verdict wiring end-to-end — models propose, applications authorize. This app is the executable form of Verdict's adoption guide: when a question arises about how a piece fits, the answer is a file in this repo.

Spec: fissible/verdict#237. Build history: PROJECT.md. CI runs the exact clone-and-run path below on every push and fails on any verdict:validate advisory.

Five-minute start

PHP 8.3+ and Composer are the only requirements. No Node, no model API key, no database server.

The five walkthroughs

Every page carries a mode banner — check it first: in replay mode the model's proposals are recorded fixtures and everything downstream (Verdict, approvals, evidence) is live. Each walkthrough ends at a visible evidence row.

Start at http://127.0.0.1:8000 and sign in as Alice Storey.

1. An allowed owned-order read. In chat, click "Where is my order ORD-1001?". The agent's turn shows the proposed tool call (LookupOrderTool({"order_number":"ORD-1001"})) and the reply describes Alice's delivered order. Open evidence: the top rows are orders.lookup / permit at the proposal and execution stages, with target strategy refresh ✓ — the executor acted on a re-loaded row, resolved inside Alice's own orders. The model's argument was a filter within her authority, never a global key.

2. A denied cross-principal read. Click "Show me the details of order ORD-2001." (Bruno's order). The reply refuses. In evidence: orders.lookup / deny with reason "Capability target could not be resolved." — outside Alice's scope the target does not resolve, so the denial happened before the policy layer was even needed, and it was recorded, not swallowed.

3. A denied injected-argument redirect. Open try to break it and send Injected-argument redirect. The proposed tool call visibly carries the injected number (ORD-2002) — and evidence shows orders.refund / deny, with no refund row anywhere. An injected instruction can influence what is proposed, never what is reachable.

4. Confirmation pause → approval → exactly-once completion. In chat, click "Please refund order ORD-1001 — it arrived damaged." The chat shows the action waiting for human approval and nothing has moved (no refund row in evidence — but a pending approval receipt). Sign out, sign in as Sam Reyes (reviewer), open approvals: the challenge shows the capability, the binding reason, and the application's display context. Click Approve — the decision passes Verdict's required per-receipt authorizer (app/Support/VerdictApprovalAuthorizer.php, verdict#305): the receipt carries the customer binding captured at proposal time, and a non-reviewer — or a receipt with no binding — is refused with an unauthorized outcome before the receipt is touched. Back as Alice: the conversation has resumed and completed. In evidence: the receipt is consumed by user:<sam>, orders.refund shows permit rows through the approval phases, and there is exactly one refund. Submitting the decision a second time reports an outcome error — never a second refund.

5. A filtered permit on a set-returning search. Open try to break it and send Cross-principal order search. The prompt carries a filter, not an ID — "every order containing the Aurora Desk Lamp" — and both Alice's ORD-1002 and Bruno's ORD-2001 contain that lamp. There is nothing to deny: the tool runs. In evidence: orders.search / permit with target source context — the target is a search scope resolved from Alice's session before the model's filter was applied inside it. The reply lists only ORD-1002; Bruno's order is simply absent. (In the recorded fixture the model then calls ORD-1002 "Bruno's" — its own confabulation, over the only data it was given. A model can be wrong; it cannot be wrong about another customer's order.) This is the set-shaped pattern from verdict#251: app/Capabilities/Orders/SearchCapability.php resolves an OrderSearchScope via Capability::usingPolicyForContextTarget(), OrderSearchScopePolicy authorizes the scope, and the executor applies it as the query predicate.

Two modes, one integrity rule

Replay is never presented as live: every page carries a mode banner, and replay fixtures carry provenance (what produced the recorded proposal, when, and under what prompt). This app demonstrates Verdict's boundary and its evidence, not model susceptibility — susceptibility numbers live in Verdict's docs/evaluation.md and are not restated here.

Running live

The provider wiring is ordinary laravel/ai configuration (config/ai.php) — the replay gateway is simply not installed when DEMO_MODE=live. Two caveats, both inherited from Verdict's evaluation notes:

Demo scope

This app does not demonstrate the review lane (requireReview), write-ahead intents (the #160 lever), or attested issuance (the ADR 0038 strict tier). The keyed consumed-binding guard is outside the scope of this demo — enabling it is a deployment decision, and this app leaves the guard at its keyless defaults. These are demo boundaries, not Verdict limitations. Rate limits are demonstrated by orders.search (#28): 10 searches per customer per 60 seconds, keyed by the authenticated actor so model-supplied arguments can never mint a fresh quota. Run php artisan test --filter=SearchRateLimitTest to see the demonstration. The walkthrough chat cannot hit the limit in replay mode — recorded conversations don't loop.

On a fresh database, verdict:validate reports the expected INFO message: "Verdict wiring audit found no applicable capability configuration." Capability configurations are recorded when capabilities first run — before that, there is no recorded configuration for the wiring audit to inspect.

Live mode is not exercised in CI — the clone-and-run bar requires PHP and Composer only, with no model API key or local model server. To validate live behavior, run DEMO_MODE=live php artisan demo:record-replays with the provider configuration described above to re-record and validate the fixtures against a live model.

Versioning

This app pins tagged Verdict releases only — never dev-main. Each Verdict release includes bumping this app, which is what makes it an upgrade-path fixture. Current pin: see composer.json for the live Verdict requirement.

License

MIT — see LICENSE.md.


All versions of verdict-storefront with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
fissible/verdict Version ^0.18.0
laravel/framework Version ^12.0
laravel/tinker Version ^2.10.1
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 fissible/verdict-storefront contains the following files

Loading the files please wait ...