Download the PHP package waaseyaa/waaseyaa without Composer
On this page you can find all versions of the php package waaseyaa/waaseyaa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download waaseyaa/waaseyaa
More information about waaseyaa/waaseyaa
Files in waaseyaa/waaseyaa
Package waaseyaa
Short Description Waaseyaa CMS project skeleton
License GPL-2.0-or-later
Informations about the package waaseyaa
Waaseyaa Application
A Waaseyaa CMS application.
New project
These five phases describe development setup, and they are ordered. Before
production serving, complete Production activation.
Passing composer site-verify does not prove production readiness.
What each phase does
| Phase | Command | What it produces | What breaks if you skip it |
|---|---|---|---|
| 1. Create | composer create-project |
The application tree, .env, and installed dependencies. |
— |
| 2. Site contract | site:init |
.waaseyaa/site.yaml, the governed artifact set, and bin/maintenance/site-verify. |
Verification has nothing to verify: composer site-verify exits 3 and tells you to run this. |
| 3. Install | install:init |
The migration ledger, the entity storage schema, and the active configuration generation. | The site has no active configuration generation, so runtime entity writes fail and the site cannot boot outside explicit development mode — even though verification may pass. |
| 4. Verify | composer site-verify |
A strict site-contract diagnosis plus the generated acceptance tests. Read-only: it never opens or creates the database. | — |
| 5. Serve | composer run dev |
FrankenPHP on http://127.0.0.1:8080. |
— |
install:init is the single schema/configuration materialization step; it subsumes migrate and
schema:sync and is the only command that activates the configuration
generation. It is idempotent, so re-run it after any later site:init.
composer site-verify is the portable entry point. Its materially equivalent
Linux and native Windows behavior is exercised by Framework CI; this is not a
macOS evidence claim. The .ci/site-verify shell adapter is a POSIX-only
convenience that calls the same implementation.
The generated verifier is a regular PHP file (mode 0644), so ordinary Git
staging on Windows preserves its contract on Linux. Invoke it through Composer
or php bin/maintenance/site-verify, not as a directly executable file.
For an existing alpha.306 project whose generated metadata still records
0755, run git add bin/maintenance/site-verify and then
git update-index --chmod=+x bin/maintenance/site-verify before committing from
Windows. Do not hand-edit generated metadata to silence a verification failure.
After a reviewed framework upgrade and regeneration adopt 0644, stage the file
and use git update-index --chmod=-x bin/maintenance/site-verify to clear any old
executable index entry. See the
generated verification upgrade notes.
The full native Linux/Windows entrypoint boundary, including generated maintenance commands, test launchers, local AI, and MCP launchers, is in the native host support contract.
Production activation
Work in the final, unserved application directory as the intended runtime user.
Install the reviewed dependency lock, configure the actual local SQLite path
and synchronization path, set a valid production application secret, and set
APP_ENV=production, APP_DEBUG=false and development account fallback false
in the application's environment. Keep secret values out of logs. The CLI and
Apache/PHP-FPM processes must receive the same production configuration and the
required PHP extensions. Follow the
S1 serving contract.
After site:init, initialize schema and the configuration generation, then run
the restricted names-only field-access scan:
The scan is read-only by default. Retain its complete JSON, exit status and
framework/lock, classification and schema identities. Continue only when it
exits zero with ready: true and empty blocker inventories. Unclassified fields,
metadata conflicts, legacy drivers or payloads require their owning correction;
do not guess a Public classification to make the scan green. The first-party
published-content recipe explicitly classifies its summary/body fields Public;
other application fields need their own reviewed declarations. See the
field-read boundary.
Only after the read-only scan is ready, publish its deployment artifact:
This command is the sole producer of .waaseyaa/field-access-preflight.json.
install:init does not generate it. Never hand-write it or edit its readiness
flag. Normal production boot refuses missing, stale, malformed or blocker-bearing
evidence. Regenerate through preflight after changing the lock, classifications,
definitions or entity schema; an artifact from another installation is not proof
for this one.
Run ordinary production CLI and real Apache/PHP-FPM HTTP checks before serving
traffic. Verify the application-owned Twig template on cold, warm and restarted
GET /, plus required configuration/database and access refusals. A green
offline composer site-verify checks site contracts and generated acceptance
tests; it does not qualify database activation, field-access readiness or HTTP.
Repeat activation and HTTP in a separate composer install --no-dev
installation using the same locked production packages and that installation's
actual inputs. Run development/build verification before this boundary; production
requests must not depend on PHPUnit or other development tools. For a later
immutable release directory, run installation and preflight in that final
directory before traffic switches: configuration authority includes project and
synchronization paths, so an existing database/schema is insufficient proof.
The standard skeleton includes CLI and Bimaaji through waaseyaa/framework.
A deliberately smaller consumer must include waaseyaa/cli in the installation/
activation tool environment. Bimaaji supplies maintained agent guidance and
introspection; it is not an HTTP activation bypass. After activation, use the
Bimaaji skill-install workflow
when setting up framework-maintained instructions for development agents.
Use ./vendor/bin/waaseyaa for the CLI. Optional path-linked waaseyaa/* checkouts: copy composer.local.json.example to composer.local.json (see docs/local-dev.md).
site:init records the site's product decisions and generates supported
content, subscription, and governed-authoring integrations. The page builder
is one shared revisioned service used by both the generic Admin SPA and an
enabled Anokii shell. High-volume Updates, Events, Jobs, and Announcements use
their faster typed content forms and can be placed on pages through governed
listing blocks.
composer site-verify is the local, provider-neutral verification boundary. The
included GitHub workflow merely calls it; another hosted or local runner can do
the same without changing the application contract.
Before customizing the application, read Application anatomy and ownership. It maps common framework concepts to their supported application extension points and makes the security boundary explicit.
Directory Structure
The skeleton ships only what a fresh application needs to boot (#2438): no
empty placeholder directories. src/Access/, src/Controller/, src/Domain/,
src/Entity/, src/Ingestion/, src/Search/, src/Seed/, src/Support/,
tests/Integration/, and migrations/ are not scaffolded up front — each
appears the moment something writes a real file into it, whether that is a
generator (make:content-type creates src/Entity/ and src/Provider/
together; make:migration creates migrations/) or your own first file in
that role. See Application anatomy for the full
ownership map and the path each area is created on.
Domain Rules
Bounded contexts go under Domain/<ContextName>/ with optional subdirectories:
Service/, ValueObject/, Workflow/, Assembler/, Ranker/, Mapper/.
Support Rules
Cross-cutting utilities (validators, slug generators, normalizers, distance
calculators) belong in Support/.
Namespace Rules
Namespaces must match PSR-4 directory structure. Update namespaces in files and all references when moving code.
Commands
Required PHP extensions
This app defaults to a SQLite database (storage/waaseyaa.sqlite), so the PHP
runtime must have pdo_sqlite and sqlite3 (and sodium). These are
declared in composer.json, so composer install flags a runtime missing them.
The S1 production topology is one application node and one authoritative local
SQLite file. File-backed connections verify WAL, foreign keys, and a bounded
5000 ms busy timeout. Do not configure a database DSN, UNC/network share,
replica, or :memory: production database. A separate search database, when
configured, is only a non-authoritative rebuildable projection and obeys the
same local SQLite connection contract.
Serving with FrankenPHP (composer run dev)
composer run dev runs the app on FrankenPHP — the real
concurrent runtime — in classic per-request mode, bound to loopback on a
non-privileged port (no privileged-port or HTTPS-certificate prompt):
The first run downloads the FrankenPHP binary for you (via the optional
waaseyaa/frankenphp package, installed by default in the skeleton) — so there
is nothing to download or place by hand. If the binary isn't present yet,
composer run dev offers to fetch it; you can also do it up front:
The implementation targets Windows, macOS, and Linux with zero PATH setup,
but the Framework's current native Windows CI does not exercise FrankenPHP
serving; see the
native host support contract
for the evidence boundary. composer run dev routes to the waaseyaa dev
command via Composer's own PHP (@php), which resolves the frankenphp binary
to an absolute path and execs it directly — you never add the FrankenPHP
directory to PATH.
Do NOT put the FrankenPHP directory on
PATH. The official Windows release is a full PHP SDK that bundles its ownphp.exewith OpenSSL disabled — onPATHit shadows your system PHP and breaks Composer (TLS to Packagist fails).waaseyaa devsidesteps this entirely: it execsfrankenphpby absolute path and never invokes the bundledphp.exe.
Binary resolution order: FRANKENPHP_BIN (an absolute path) → the managed
install from frankenphp:install (under vendor/bin/) → a known install location
(%USERPROFILE%\.frankenphp\frankenphp.exe on Windows; /usr/local/bin,
/usr/bin, /opt/homebrew/bin, ~/.frankenphp on macOS/Linux) → frankenphp on
PATH. If none resolve, composer run dev prints exactly what to do (and offers
to install). Override the listen address with WAASEYAA_DEV_LISTEN, or point at a
custom binary:
Classic mode uses FrankenPHP's built-in SQLite — no php.ini hack needed.
./vendor/bin/waaseyaa serve remains the zero-dependency php -S dev server (no
FrankenPHP required); it is fine for quick edits but is not the right runtime
for the admin SPA's live /api/broadcast SSE connection or for production.
Worker mode (advanced). For the warm, worker-mode runtime (best for heavy
SSE), run FrankenPHP natively against the committed config/frankenphp/:
The committed Caddy worker block sets WAASEYAA_FRANKENPHP_WORKER=1 only in
the worker process. The front controller never infers worker mode from
frankenphp_handle_request() existing, because classic FrankenPHP exposes that
function too. Classic php-server, PHP-FPM, and php -S therefore always use
the single-request path.
Use PHP_INI_SCAN_DIR (additive), never PHPRC — PHPRC replaces the
runtime's bundled php.ini, which on shared-extension builds (e.g. the official
Windows release) strands pdo_sqlite/sqlite3 and 500s every request with
could not find driver. The committed php.ini does not enable those extensions
itself (mainstream builds already provide them); uncomment its extension= lines
only for a custom build that genuinely lacks SQLite.
Upgrading the framework
This skeleton requires waaseyaa/framework with a caret constraint
(^0.1.0-alpha.NNN), so a plain composer update waaseyaa/framework takes the
next point release. Keep it a caret:
Avoid
composer require waaseyaa/framework:0.1.0-alpha.NNN— an exact version writes a pinned constraint, and thencomposer updatesilently does nothing on later releases. Usecomposer require waaseyaa/framework:^0.1.0-alpha.NNN(with the caret) if you ever re-add it.
First 60 Seconds
composer run dev serves the whole app on FrankenPHP — including the prebuilt
admin SPA at /admin (served from public/; no separate build step). Open
http://127.0.0.1:8080.
Optional: Admin SPA hot-reload (HMR)
The admin SPA ships as a prebuilt bundle, so most apps need nothing extra. If you
are developing a custom Nuxt admin, run its dev server in a second terminal
alongside composer dev:
Set WAASEYAA_ADMIN_PATH (or extra.waaseyaa.admin_path in composer.json) to a
Nuxt admin package outside this skeleton if admin:dev cannot find one.
Configuration
config/waaseyaa.php— Framework configurationconfig/entity-types.php— Custom entity typesconfig/services.php— Service overrides- Production web-server examples — Apache, nginx, and Caddy front-controller configuration
License
GPL-2.0-or-later
All versions of waaseyaa with dependencies
ext-sqlite3 Version *
php Version >=8.5
symfony/dotenv Version ^8.0
waaseyaa/framework Version ^0.1.0-alpha.310