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

Install CorianderPHP

Start from a framework release when you want a normal CorianderPHP project. Do not use the documentation website repository as your application, and do not copy documentation-only files into a new app.

Download A Release

Open the CorianderPHP framework releases page and download the version you want to build with:

Use the latest stable release for a normal project. Use a prerelease only when you intentionally want to test the newest framework changes.

Prepare The Project Folder

Extract the release archive into your project folder. A release archive is the easiest path because it is meant to become an application.

If you use the GitHub source tree instead of a release archive, remove repository-only files before treating the folder as your app. These files are useful for maintaining the framework repository, but they are not needed to run a normal application.

You normally do not need:

.github/
docs/
AGENTS.md
LICENSE
readme.md

If a release contains extra project-maintenance files, treat them the same way: useful for the framework repository, but not required for a new app. When you are unsure, remove only files you recognize as repository metadata.

Install PHP Dependencies

Install Composer dependencies from the project root:

composer install

This installs the PHP packages needed by the framework and creates the Composer autoloader.

Install Frontend Dependencies

Install NodeJS dependencies through the framework command:

php coriander nodejs run install

This runs the NodeJS install command from the nodejs folder without making you manually move into that directory.

Configure Environment

Copy the example environment file:

cp .env-example .env

On Windows PowerShell:

Copy-Item .env-example .env

Update .env for your local URL, database, and public URL prefix.

If your server exposes the project root, keep:

PUBLIC_URL_PREFIX=/public

If your server document root is already the public/ folder, use:

PUBLIC_URL_PREFIX=

Build Frontend Assets

For production assets, run:

php coriander nodejs run build-prod

During development, use the NodeJS command documented in NodeJS Integration.

Next Steps

After installation, create your first route, controller, and view: