CorianderPHP
Find answers fast, then see them in a real app.
Use the framework reference for focused lookup: routes, controllers, middleware, views, database, modules, security, cache, and frontend tooling.
Start Here
CLI Guide
CLI Guide CorianderPHP provides a commandline interface accessible via php coriander for scaffolding, maintenance, and framework updates. Usage Invoke commands
Framework Concepts
Framework Concepts This page explains the moving pieces in a CorianderPHP application before you open the detailed reference pages. Routes Routes map URLs to co
Controller Guide
Controller Guide Controllers handle HTTP requests and live under src/Controllers or src/ApiControllers for API endpoints. Creating a Controller Generate a contr
Database Module Guide
Database Module Guide The database layer centralizes connection handling through DatabaseHandler instances registered in a service container and exposes helper
Documentation
Documentation Use this index as the recommended reading order for CorianderPHP documentation. Start Here 1. CLIcli.md 2. Routingrouting.md 3. Controllerscontrol
Middleware Guide
Middleware Guide Middleware handles crosscutting request behavior such as authentication, authorization, request checks, redirects, and response headers. Projec
Routing Module Guide
Routing Module Guide CorianderPHP's routing system maps incoming HTTP requests to callbacks, controllers, or views. By default, controller names and the builtin
View Guide
View Guide CorianderPHP views live in public/publicviews. Each view contains an index.php template and a metadata.php file for sitemap settings. Creating a View
Reference
Cache Command Guide
Cache Command Guide The cache command speeds up routing by precomputing controller file paths stored in cache/controllers.php. Usage Build the controller cache:
Environment Variables
Environment Variables CorianderPHP loads simple runtime variables from .env. When .env is missing and .envexample exists, the framework copies .envexample to .e
Custom Module Guide
Custom Module Guide Modules are reusable project services or packages. Usercreated modules should live in the appowned src/Modules directory so framework update
NodeJS Integration Guide
NodeJS Integration Guide CorianderPHP provides NodeJS tooling for compiling TypeScript and TailwindCSS assets. Requirements Install Node.js with npm before usin
Security Guide
Security Guide This page summarizes frameworklevel security behavior and recommended usage patterns. Routing and View Path Safety View rendering accepts only no
Sitemap Guide
Sitemap Guide CorianderPHP can generate sitemap.xml to improve SEO. Generating the Sitemap Script Create the public/sitemap.php helper via CLI: bash php coriand