PHP without a framework

From Rixort Wiki
Revision as of 13:30, 6 March 2021 by Paul (talk | contribs) (Created page with "== Instructions == Initialise composer project: composer init Create skeleton front controller at <code>public/index.php</code> <?php declare(strict_types=1); require...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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';