Set up the documentation site
Это содержимое пока не доступно на вашем языке.
These instructions maintain this documentation repository. To create a Yii application, use Installing Yii.
Requirements
Section titled “Requirements”Use Node 22.23.4 or newer, npm 9.6.5 or newer, Git, PHP 8.3 or newer, and Composer 2.
The reference generator requires mbstring; the FilePond demos also use fileinfo and GD.
Live demos use the PHP requirements of their package dependencies. Check tools/composer.json and
tools/demos/composer.json before changing the PHP version.
Install and preview
Section titled “Install and preview”From this repository’s root:
npm cicomposer install --working-dir toolsnpm run buildnpm run previewThe preview is available at http://localhost:4321/docs/. The build imports upstream guides and package sources,
generates the PHP API reference and widget demos, builds the site, and checks its internal links and bundle sizes.
It does not publish the result.
To use existing package checkouts at the localPath locations declared in the manifests:
SYNC_LOCAL=1 npm run buildLocal mode reads their working trees and exports the framework’s configured branch without changing any checkout.
Use npm run dev after generation for interactive documentation edits. Keep generated guides, catalogs and skills
out of version control; see source ownership and validation.