novaconium/README.md

1.4 KiB

Novaconium PHP

Novaconium PHP: A PHP Framework Built from the Past

NovaconiumPHP is a high-performance PHP framework designed with inspiration from classic coding principles.

Pronounced: Noh-vah-koh-nee-um

Packagist: https://packagist.org/packages/4lt/novaconium Master Repo: https://git.4lt.ca/4lt/novaconium

Getting Started

Novaconium is heavly influenced by docker, but you can use composer outside of docker.
You can learn more about how novaconium works with composer.

PROJECTNAME=novaproject;
mkdir -p $PROJECTNAME/novaconium;
cd $PROJECTNAME;

docker run --rm --interactive --tty --volume ./novaconium/:/app composer:latest require 4lt/novaconium;

cp -R novaconium/vendor/4lt/novaconium/skeleton/. .;

# Edit .env
# Edit novaconium/App/config.php

docker compose up -d

Documentation

How it works

htaccess

htaccess ensures that all requests are sent to index.php

index.php

index.php does two things:

  1. Allows you to turn on error reporting (off by default)
  2. Loads the novaconium bootstrap file novaconium.php

novaconium.php

What happens here:

  1. Autoload composer
  2. Loads configurations