HOW TO INSTALL PHPSPREADSHEET LIBRARY
====================================

Method 1: Using Composer (Recommended)
--------------------------------------
1. Open Command Prompt/Terminal
2. Navigate to the milk365 directory:
   cd c:\xampp\htdocs\milk365
3. Run the following command:
   composer require phpoffice/phpspreadsheet

Method 2: Using the provided batch file (Windows)
-------------------------------------------------
1. Double-click on "install_phpspreadsheet.bat"
2. Follow the on-screen instructions

Method 3: Manual installation
-----------------------------
1. Make sure you have Composer installed: https://getcomposer.org/
2. Open Command Prompt as Administrator
3. Navigate to the milk365 directory
4. Run: composer init (to create composer.json if it doesn't exist)
5. Run: composer require phpoffice/phpspreadsheet

PREREQUISITES:
--------------
- PHP 7.4 or higher
- Composer installed on your system

IF COMPOSER IS NOT INSTALLED:
-----------------------------
1. Download from: https://getcomposer.org/download/
2. Follow the installation instructions for your operating system
3. Restart your command prompt/terminal after installation

AFTER INSTALLATION:
-------------------
- The PhpSpreadsheet library will be available for use
- You will be able to upload both CSV and Excel (.xlsx, .xls) files
- The Excel upload feature will work fully with all file types

TROUBLESHOOTING:
----------------
If you encounter any issues:
1. Make sure your PHP version meets the requirements
2. Check that Composer is properly installed and in your system PATH
3. Ensure your server has write permissions to the project directory
4. Check the PHP error logs for specific error messages