nexphant/nexphant
Application skeleton for Nexphant projects. This is the starting point for all Nexphant applications.
Install
bash
composer create-project nexphant/nexphant my-appTemplate Selection
During setup, choose a template:
| Template | Description |
|---|---|
blank | Minimal — single app.php |
api | API structure with controllers |
mvc | MVC with views and routes |
Project Structure
my-app/
├── app/
│ ├── Controllers/
│ ├── Middleware/
│ └── Providers/
├── config/
│ ├── app.php
│ └── database.php
├── routes/
│ └── api.php
├── storage/
│ └── logs/
├── .env
├── app.php
└── nexphant.dev.phpsetup.php Behavior
On first run, setup.php initializes:
.envfrom.env.example- Storage directories
- Config cache
Composer Scripts
json
{
"scripts": {
"setup": "php setup.php",
"dev": "php nexphant.dev.php",
"serve": "php app.php",
"dump": "composer dump-autoload -o"
}
}Dev Reload
bash
composer run devWatches app/, config/, routes/ and restarts on change.
