$licenseText = "App Builder Portal — Core Platform & Starter Template\n"
    . "Copyright (c) " . date('Y') . " Neil Dun & Nate Allen. All rights reserved.\n\n"
    . "The core architecture, portal shell, database schema, and utilities are the joint\n"
    . "intellectual property of Neil Dun and Nate Allen. No part of this codebase may be\n"
    . "redistributed, resold, or sublicensed without prior written permission.\n\n"
    . "Bundled third-party open-source libraries (including React and ReactDOM) remain\n"
    . "the property of their respective authors under their original licences (e.g. MIT).\n";

$zip->addFromString('LICENSE.txt', $licenseText);
$packedFiles[] = 'LICENSE.txt';