Download the PHP package websonette/web-application without Composer
On this page you can find all versions of the php package websonette/web-application. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download websonette/web-application
More information about websonette/web-application
Files in websonette/web-application
Package web-application
Short Description Framework-independent page context, breadcrumbs, and shared web application state.
License MIT
Informations about the package web-application
Websonette Web Application
Framework-independent request-scoped state shared by Websonette application adapters.
The package is currently being prepared and does not have a stable public API yet.
Scope
The package contains data and operations only. It does not depend on Nette, Latte, React, HTML, sessions, or a particular response format.
Websonette\WebApplication\Breadcrumbs\Breadcrumbsmanages an ordered breadcrumb trail identified by URL.Websonette\WebApplication\Page\PageContextdescribes the current page and exposes a serializable SPA-friendly contract.
Rendering and framework integration belong to adapter packages such as websonette/latte-application and the Nette/Contributte Apitte plus React adapter websonette/react-spa-application.
The repository also carries development tooling without coupling it to the runtime:
contracts/contains versioned JSON Schemas for PageContext, breadcrumbs, and their SPA application envelope;docs/standards/defines standards common to all Websonette web projects;skills/contains adapter-neutral Cursor workflows for creating, updating, and auditing projects;- adapter repositories own their project profiles and framework-specific references.
See Project profiles. The dependency direction remains project -> adapter -> web-application.
Breadcrumbs
Page context
Both services provide toArray() output suitable for a framework-specific JSON response.
For an SPA response, use the versioned envelope defined by contracts/application-context.schema.json:
Installation
After the first release and Packagist registration:
License
Websonette Web Application is licensed under the MIT License.