Download the PHP package 3neti/election-ceremonies without Composer

On this page you can find all versions of the php package 3neti/election-ceremonies. 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 election-ceremonies

Election Ceremonies

Research review runs

A ceremony profile may declare run_type: research. Research commissioning requires a signed source snapshot with readiness: research, a separately signed workstation assignment with role: research, and a matching research profile. The assignment lists the permitted ceremony IDs. Election-day commissioning continues to reject research bundles.

The host supplies a named ActorVerifier, a durable CeremonyStore, and the profile's pipes. Review decisions and run events live outside the immutable source bundle. A closed run may export a decision ledger and research-review-1 report; when both are included in a new signed bundle, the verifier checks the ledger hash and keeps readiness at research.

Research source snapshots use coverage: source_snapshot and readiness: research. Their signed manifest includes POP and CLC catalog hashes, and the ZIP includes reports/source-snapshot.json. The verifier checks the report against the manifest. The commissioner refuses research or pilot bundles for election-day runs. National coverage and election-day readiness remain unavailable until a complete reconciliation and authority review workflow is implemented.

3neti/election-ceremonies provides a country neutral, offline ceremony runner and signed election bundle format. It depends on 3neti/truth-qr for QR record projection. Election rules, registry importers, and ceremony profiles belong in a country package; application screens, devices, storage paths, and officer authentication belong in the host.

Election bundle v1

An election bundle is a ZIP with election.sqlite, profiles/ceremonies.yaml, profiles/truth-qr.yaml, manifest.json, and manifest.sig. The manifest lists every file's byte length and SHA-256 digest, a logical SQLite digest, election and bundle IDs, and pilot or national coverage. manifest.sig is an Ed25519 signature over the exact manifest bytes. The verifier rejects missing, extra, duplicate, unsafe, or changed entries, checks SQLite integrity and logical content, and validates both profiles. The authority public key must already be trusted on the offline device.

The site assignment is a separately signed JSON document binding the bundle archive digest to one device, role, jurisdiction, permitted sources, and ceremony IDs. Commissioning verifies both signatures and hashes before staging read-only bundle files. A pilot bundle is rejected when the run type is election_day.

The bundle is immutable. Corrections require a new bundle ID and signature. Local results, audit events, and ceremony state are outside the bundle. The authority private key is supplied explicitly to the builder and must remain on an offline authority machine; it is never derived from an application key.

Ceremony pipeline

CeremonyProfile::fromYaml() loads named stages and transitions. CeremonyRunner checks commissioned bundle and assignment identities, actor authorization, current stage, and idempotency before running registered CeremonyPipe implementations in profile order. Every required evidence item must exist before the transition is committed. FileCeremonyStore uses a lock and an append-only hash-linked event sequence. Hosts may implement CeremonyStore for another durable backend.

EmlProjectionPipe uses a host EmlProjector and requires schema and signature validation. TruthQrProjectionPipe uses Truth QR's RecordService and RecordPayload contract. When a profile lists eml_export before truth_qr_encode, the verified EML reference enters the working record before QR encoding. Hosts register both pipes and supply the record, profiles, and signing policies. A printed QR signature and the authority's bundle signature serve distinct purposes.

Pilot status

The current implementation supports local pilot packaging and verification. Nationwide deployment requires a complete POP/LOC source, reconciled jurisdiction coverage, production ceremony pipes and actor policies, provisioning of authority trust keys, and full device commissioning tests. The Philippine pilot profile is intentionally marked pilot and must not be used for election-day commissioning.


All versions of election-ceremonies with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-pdo_sqlite Version *
ext-sodium Version *
ext-zip Version *
3neti/truth-qr Version ^0.3
illuminate/container Version ^13.0
illuminate/pipeline Version ^13.0
symfony/yaml Version ^8.0
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 3neti/election-ceremonies contains the following files

Loading the files please wait ...