PHP without a framework

From Rixort Wiki
Jump to navigation Jump to search

Instructions

Initialise composer project:

composer init

Create skeleton front controller at public/index.php

<?php
declare(strict_types=1);

require_once '../vendor/autoload.php';