Files
novaconium/README.md

58 lines
1.5 KiB
Markdown
Raw Normal View History

2025-03-20 18:49:46 -07:00
![Novaconium PHP](/_assets/novaconium-logo.png)
2024-08-29 21:04:31 -07:00
2024-08-29 21:50:55 -07:00
# 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
2024-08-31 15:28:13 -07:00
Packagist: https://packagist.org/packages/4lt/novaconium
Master Repo: https://git.4lt.ca/4lt/novaconium
2024-08-29 21:50:55 -07:00
## Getting Started
2025-06-08 18:19:12 -07:00
Novaconium is heavly influenced by docker, but you can use composer outside of docker.
You can [learn more about how novaconium works with composer](https://git.4lt.ca/4lt/novaconium/src/branch/master/docs/Install-Composer-On-Debian.md).
2024-08-29 21:50:55 -07:00
```bash
2025-06-08 18:27:32 -07:00
PROJECTNAME=novaproject;
2025-06-08 18:19:12 -07:00
mkdir -p $PROJECTNAME/novaconium;
cd $PROJECTNAME;
2025-04-25 19:36:56 -07:00
2025-06-08 18:27:32 -07:00
docker run --rm --interactive --tty --volume ./novaconium/:/app composer:latest require 4lt/novaconium;
2025-05-23 15:02:17 -07:00
2025-06-08 18:27:32 -07:00
cp -R novaconium/vendor/4lt/novaconium/skeleton/. .;
2025-06-08 18:19:12 -07:00
# Edit .env
2025-11-12 01:39:45 -08:00
# 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)
2025-06-08 18:19:12 -07:00
# Edit novaconium/App/config.php
docker compose up -d
2025-04-25 19:36:56 -07:00
```
2025-02-07 16:17:55 -08:00
## Documentation
2025-05-23 15:02:17 -07:00
* [Novaconiumm Official Repo](https://git.4lt.ca/4lt/novaconium)
* [CORXN Apache and PHP Container for Novaconium](https://git.4lt.ca/4lt/CORXN)
2025-11-07 14:45:13 -08:00
### 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
1. Loads configurations