Learn SqueHub v2.0.0 from the current development source. Start with installation, then build a route, view, model, and secure application flow.
Development documentation. v2.0.0 is not yet a published Composer release. Use a complete development source snapshot and follow the installation guide.
A practical starting point
Build your first SqueHub page
Install the complete development source, configure the application, then create a route and a View. The published Composer create-project flow awaits the v2 release.
Installation guide →composer install
Copy-Item .example.env .env
php squehub key:generate
# Set the printed value as APP_KEY in .env
php squehub doctor
php squehub startChoose a path
Application foundationsBuild a pageRoutes, controllers, Views, forms, and data.
APIsDesign an endpointRequests, responses, contracts, and verification.
Agent and AIConnect a local AI hostOptional MCP STDIO inspection and review-only plans under explicit capabilities.
OperationsCheck v2 statusRelease boundaries, qualified environments, and Package/Kit availability.
Continue with deployment, Health and Doctor, or the v1 upgrade guide.
Browse by topic
10 guidesGetting startedThese steps use a complete SqueHub v2.0.0 source tree. Select an exact v2 ref or matching archive and verify its contents before installing dependencies. An unversioned repository checkout or Composer package resolution can select a…14 guidesApplication and HTTPThe optional Application Contract is Application-owned. Application and package code may register schemas and outgoing Webhook descriptions, while route declarations can attach operation contracts. The OpenAPI compiler reads those…20 guidesViews and frontendApplication templates live in Project/Views. Published package templates live in Project/PackagesViews. Both use the existing .squehub.php extension and dot-separated logical names: Home.Welcome resolves to Home/Welcome.squehub.php under…12 guidesDatabase and ORMOptional Observability records bounded database operation counts and timings without SQL text, bindings, or row values. The development profiler can show those safe timings in completed work; neither feature changes QueryBuilder or Model…11 guidesIdentity and securityAn exported Application Contract can disclose path names, parameter names, schemas, and example data. Only explicitly contracted public operations are exported; review them and restrict access to generated artifacts. Never include real…13 guidesAPI and integrationSqueHub v2 can receive JSON, validate it, query Models, return explicitly selected resource fields, and render consistent API errors without manually reading php://input. This guide builds on API resources and API responses and errors…25 guidesServices and infrastructureA SqueHub Package is a reusable runtime capability under Project/Packages/ /. Small applications can continue using ordinary Project/ classes. Large applications can introduce Package boundaries gradually; Packages are never required for…18 guidesOperations and deploymentThese guides describe the SqueHub v2.0.0 source and its supported APIs. For installation, select an exact v2 ref or Composer version and verify the resolved package before following the installation guide. An unversioned composer…1 guidesUpgradeSqueHub v2 is a new generation. Migrate an application in a separate branch or copy, keep its data backup, and test each boundary before switching traffic. The v1.x guide remains the reference for v1 applications. There is no automatic…

