guides/Installation.md

Installation

Overview:

Install the Core package with Composer and include the autoloader. The framework classes are ready to use after autoloading.

Requirements:

Install:

composer require coesion/core

Bootstrap example:

<?php
require __DIR__ . '/vendor/autoload.php';

Route::on('/', function () {
  return 'Hello from Core!';
});

Route::dispatch();
Response::send();

Notes:

Performance:

Single-file deploy (optional):

FrankenPHP: