YOKO SANITARY PRODUCT STOCK MANAGEMENT SYSTEM
==============================================

WINDOWS / XAMPP - RECOMMENDED SETUP
-----------------------------------
1) Install XAMPP with PHP 8.2+ and MySQL/MariaDB.
2) Start MySQL from the XAMPP Control Panel.
3) Double-click: SETUP_WINDOWS_ONE_CLICK.bat

The setup will:
- Detect PHP automatically (PATH or C:\xampp\php\php.exe)
- Check and, when the DLL exists, enable pdo_mysql in the active php.ini
- Back up php.ini before changing it
- Create .env from .env.example when needed
- Create the sanitary_stock MySQL database automatically
- Install Composer dependencies when needed
- Generate the Laravel application key
- Run migrations and seeders
- Create the storage link
- Start the Laravel server

If your MySQL root user has a password, edit .env when the setup pauses and set:
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=sanitary_stock
DB_USERNAME=root
DB_PASSWORD=YOUR_PRIVATE_PASSWORD

Do not share your database password in chat.

COMPANY BRANDING
----------------
Company name: YOKO
Logo and favicon management are included in the application.

PORTALS
-------
Admin:      /admin/login
Salesman:   /sales/login
Warehouse:  /warehouse/login

LOCAL DEMO ACCOUNTS AFTER SEEDING
---------------------------------
Admin:      admin@example.com / password
Salesman:   salesman@example.com / password
Warehouse:  warehouse@example.com / password

Change all demo credentials before production use.

ENVIRONMENT CHECK ONLY
----------------------
Double-click CHECK_REQUIREMENTS.bat

IMPORTANT ABOUT PDO MYSQL
-------------------------
pdo_mysql is a PHP runtime extension. It cannot be embedded inside a Laravel project as application code.
This package includes a Windows helper that enables the extension automatically when your installed PHP/XAMPP already contains php_pdo_mysql.dll.
If that DLL is absent, repair/reinstall the PHP/XAMPP installation with MySQL support.
