Overview
Composer · CLI · Config
Start here: installation, environment variables, MVC/HMVC layout, CLI commands and deployment.
Composer · CLI · Config
Start here: installation, environment variables, MVC/HMVC layout, CLI commands and deployment.
public_html · APP_DIR · chmod
Shared hosting setup: System/ outside public_html, env keys, writable dirs, mod_rewrite/AllowOverride.
Load::view() · Add::link()
Razr views, templates, models, HMVC loading and cache-busted css/js/img URLs.
Route::get/post/group
Route registration, typed params, groups, middleware and security levels.
DB::query() · NSY_DB::connect()
Unified single-source database access, models and fetch styles.
Mig::createTable()
Chainable schema builder, DDL helpers and the run:migrate CLI runner.
Seeder::run() · factory() · run:seed
Fill the database with data: write a run() class, build rows with factories, run it with nsy run:seed.
nsy down/up · APP_MAINTENANCE
Take the site offline with a 503 page, allow-list your IP and toggle it from the CLI.
qb()->whereIn()->paginate()
Fluent SQL builder: where, joins, grouping, pagination and raw queries.
Route:: · Add:: · Mig::
Map short names and backwards-compatible namespaces to real classes via App.php:aliases and NSY_AliasManager.
Docs::render() · /docs/{slug}
Render docs/*.md as HTML inside the app: manifest, icons, categories and Markdown rules.
File · LanguageCodeCollection · Validate
File management, language codes, validation and Query Builder internals.
LogManager::channel() · PSR-3
Dependency-light PSR-3 file logger: channels, JSONL, rotation and retention.
Json::read() · Json::write()
Read/write JSON files atomically, plus encode/decode helpers.
Cookie::set() · Cookie::get()
Secure-by-default cookie helper (HttpOnly, SameSite, Secure).
Encryption::encrypt() · decrypt()
AES-256-GCM authenticated encryption with a versioned envelope.
Session::start() · Session::get()
Native session wrapper: start, get/set, regenerate and flash values.
Curl::get() · Curl::post()
Chainable ext-curl HTTP client with JSON auto-decode and secure defaults.
Validator::make() · validate()
Rule-based validation via rakit/validation, exposed as System\Libraries\Validator.
base_url() · is_filled()
URI, asset, config, string and array helpers — all env-aware.
url_title() · random_string()
27 compatibility helpers ported from CodeIgniter, available globally.
sanitizeInput() · ensureSession()
Input sanitization, session guard, security headers and CSRF basics.
composer install · show
Every Composer package NSY installs — runtime, dev and transitive.