Find framework reference pages for handlers, routes, middleware, modules, database, views, and security.

Reference search

Results for "install"

Reference results link to the matching section. Follow its prerequisites before using a code extract.

From the matching guide

Install PHP Dependencies

Install Composer dependencies from the project root: This installs the PHP packages needed by the framework and creates the Composer autoloader.

composer install

Install PHP Dependencies

Install Composer dependencies from the project root: This installs the PHP packages needed by the framework and creates the Composer autoloader.

Requirements And Installation

...Install Node.js with npm, then install the project's locked dependencies: For a new project or when adding packages: The wrapper runs npm in nodejs . Do not include another npm word in the command. Check its exit status in CI.

Frontend Tooling

The wrapper runs Node commands in nodejs and propagates failures to scripts/CI. Available scripts depend on your nodejs/package.json ; the released starter provides the build scripts above.

A Typical Request

...Start with Installation , Routing , and Views . Existing 0.3.x and older apps need the Upgrade Guide .

Build A Working Custom Module

...Follow Installation first. Use a new learning database: the migration below creates a posts table and inserts sample data. PostRepository is a class you create, not a built-in framework feature. The starter's Composer mapping "App\\": "src/...

Add A Working Interaction

Create a page at src/Views/counter/index.get.php : Create src/Views/counter/index.ts beside it: Build from the project root: Visit /counter . The framework includes public/assets/js/pages/counter/index.js automatically. Do not add a manual ...

Environment And Dependencies

...Install production Composer dependencies and build assets before serving traffic. Run tests in CI before installing without development packages.