How camiamaya451-cmd/freysi works
FREY STUDIO is a PHP/MySQL shop-management starter for makeup retail. The main workflow is staff sign-in, navigating the dashboard, and recording a sale that checks stock, saves sale details and payment, then reduces inventory in a transaction. Product, customer, and supplier management are separate capabilities. The supplied tree is flatter than the README’s described layout, and some referenced directories are absent; edges therefore reflect relationships visible in the excerpts, not a verified runnable deployment. The database schema is documented as a product component, but its SQL was not excerpted.
Main entry points: index.php Page router · database.php PDO connection · dashboard.php Dashboard indicators · products.php Products and categories
Components 10
Access and overview
- Page router
index.php - Login and roles
bootstrap.php - Dashboard indicators
dashboard.php
Shop records
- Products and categories
products.php - Customer records
clients.php - Supplier records
providers.php
Sales operations
- Sales and payments
sales.php
Persistence
- PDO connection
database.php - Shop database
database.sql
Other components
- Staff
Connections 14
- Staff → Page router: opens pages
index.php - Page router → Login and roles: checks access
index.php - Page router → Dashboard indicators: renders
index.php - Page router → Products and categories: routes saves and views
index.php - Page router → Customer records: routes saves and views
index.php - Page router → Supplier records: routes saves and views
index.php - Page router → Sales and payments: routes saves and views
index.php - Page router → PDO connection: queries users
index.php - Dashboard indicators → PDO connection: queries metrics
dashboard.php - Products and categories → PDO connection: reads and writes
products.php - Customer records → PDO connection: reads and writes
clients.php - Supplier records → PDO connection: reads and writes
providers.php - Sales and payments → PDO connection: records transactions
sales.php - PDO connection → Shop database: connects to