# KYN POS Master Base App v1 — Manifest

Generated from the four uploaded phase ZIP files.

## Audit summary

- Phase 4 was verified to be cumulative: it contains all files from Phase 1, Phase 2, and Phase 3.
- Master Base App v1 uses Phase 4 as the code base and adds master-level documentation/release notes.
- PHP syntax check passed for all PHP files in this package.
- Real credentials are not included. Only `inc/config.local.example.php` is included.

## File counts

| Type | Count |
|---|---:|
| Total files | 91 |
| PHP files | 72 |
| SQL files | 4 |

## Top-level structure

```text
public/       web-accessible entry points and public assets
inc/          bootstrap, config loader, security/session/router helpers
functions/    reusable procedural business helpers with top-of-file indexes
modules/      controllers/actions, separated from templates
install/      install/rebuild logic
templates/    designer-facing views/layouts/partials
sql/          migrations and seeds
storage/      logs and future generated local storage
docs/         project documentation
```

## Included SQL files

- `sql/migrations/001_foundation_schema.sql`
- `sql/migrations/002_core_pos_schema.sql`
- `sql/migrations/003_devices_kds_printers_offline_schema.sql`
- `sql/seeds/002_core_pos_seed_minimum.sql`

## Included PHP files

- `functions/audit.php`
- `functions/pos_checks.php`
- `functions/pos_devices.php`
- `functions/pos_kds.php`
- `functions/pos_location.php`
- `functions/pos_menu.php`
- `functions/pos_printers.php`
- `functions/pos_staff.php`
- `functions/pos_sync.php`
- `functions/pos_tables.php`
- `inc/auth.php`
- `inc/bootstrap.php`
- `inc/config.local.example.php`
- `inc/config.php`
- `inc/csrf.php`
- `inc/db.php`
- `inc/flash.php`
- `inc/html.php`
- `inc/logging.php`
- `inc/money.php`
- `inc/permissions.php`
- `inc/response.php`
- `inc/router.php`
- `inc/session.php`
- `inc/uuid.php`
- `inc/view.php`
- `install/install.php`
- `install/install_lib.php`
- `modules/dashboard/controller.php`
- `modules/kds/action_update_status.php`
- `modules/kds/index.php`
- `modules/pos/action_add_check_line.php`
- `modules/pos/action_open_check.php`
- `modules/pos/action_remove_draft_line.php`
- `modules/pos/action_send_check_line.php`
- `modules/pos/action_send_course.php`
- `modules/pos/action_update_check_line_quantity.php`
- `modules/pos/add_item.php`
- `modules/pos/check.php`
- `modules/pos/tables.php`
- `modules/schema/controller.php`
- `modules/setup/action_add_printer.php`
- `modules/setup/action_register_device.php`
- `modules/setup/action_test_printer.php`
- `modules/setup/devices.php`
- `modules/setup/printers.php`
- `modules/sync/api_push.php`
- `modules/sync/status.php`
- `modules/system/health.php`
- `modules/system/login.php`
- `modules/system/logout.php`
- `public/index.php`
- `public/install.php`
- `public/page.php`
- `templates/dashboard/index.php`
- `templates/errors/404.php`
- `templates/errors/500.php`
- `templates/kds/index.php`
- `templates/layouts/app.php`
- `templates/partials/flash.php`
- `templates/partials/footer.php`
- `templates/partials/sidebar.php`
- `templates/partials/topbar.php`
- `templates/pos/add_item.php`
- `templates/pos/check.php`
- `templates/pos/tables.php`
- `templates/schema/index.php`
- `templates/setup/devices.php`
- `templates/setup/printers.php`
- `templates/sync/status.php`
- `templates/system/health.php`
- `templates/system/login.php`

