Multi-tenant web app to publish and manage profiles (data, photos, links and reviews). It has a public reading/search area and an admin panel to create/edit profiles, upload images, generate sitemaps and launch LLM tasks.
Multi-tenant web application for profile management and publishing, developed in PHP with custom templates/partials. In production it runs behind Nginx + PHP-FPM; locally it uses Apache with .htaccess
.
Two operational areas:
The tenant is determined by HTTP_HOST
; each domain maps to its own local/<domain>/
folder and its own database.
Project root (site webroot):
index.php
, perfil.php
, login.php
, logout.php
, admin.php
(admin router), .htaccess
, robots.txt
(stub), adminer.php
config/
: config.php
(bootstrap; defines $g
, PDO, session, helpers), admin.php
(access flags), robots.php
(dynamic robots), php_errors.log
functions/
: functions.php
(general helpers, profile queries, gallery), admin.php
(image processing and backoffice utilities)parts/
: HTML fragments (head, header, etc.)styles/
: styles and assetsadmin/
: admin panel submodules (see §6)crons/
: workers/CLI (see §8)vendor/
: Composer dependencieslocal/<domain>/
(referenced in code; inside or outside webroot depending on deployment): tenant assets and DB credentials (db.php
), plus images/
and generated files (sitemaps)