novaconium/README.md
2025-11-12 01:39:45 -08:00

1.5 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
# pwgen -cnsB1v 12 root password
# pwgen -cnsB1v 12 mysql user password (need in both config and env)
# pwgen -cnsB1v 64 framework key (need in config)
# 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