ROCKVIEW UNIVERSITY — HR WORKSPACE / STUDENT STUDIOS BACKEND

This package contains the PHP backend APIs used by the existing HR Workspace Flutter integration. It reuses the existing Student Studios backend architecture; it is not a new backend.

DEPLOYMENT
1. Back up the current server folder and database.
2. Upload the contents of this package's hr/ folder into the existing student_slps/ folder. Do not overwrite your live config/database.php.
3. Preserve the server's existing config/database.php. If needed, use config/database.php.example as a template.
4. Review and apply the SQL integration migration(s) in database/ to the Student Studios database, in the sequence described in API_INTEGRATION_README.txt. Do not re-import the base schema into a live database without a backup.
5. Confirm PHP extensions pdo_pgsql, fileinfo and mbstring are enabled and HTTPS is active.
6. Ensure uploads/ directories are writable by PHP and retain their .htaccess protection.
7. Verify the endpoints and actions in API_INTEGRATION_README.txt after deployment.

AUTHENTICATION
Authenticated requests use X-Studio-Session. Tokens are validated through the shared Student Studios session/authentication helper. Do not put database credentials in Flutter.

PACKAGE SAFETY
This deployment package deliberately excludes live config/database.php, API error logs and embedded ZIP archives. It includes the database.php.example template.

API AND MIGRATION NOTES
See API_INTEGRATION_README.txt for endpoint/action lists, migrations and integration coverage limitations.
