eInvoice is a web-based invoicing application built with PHP. This project allows users to generate and manage invoices with features such as JSON/XML generation and API key testing. Note: This application is for development and testing purposes only and is not intended for production use.
• USE ONLY GENERATE JSON/XML, TEST YOUR API KEYS, NOT MEANT FOR PRODUCTION.

- Requirements
- Installation
- Configuration
- Running the Application
- Usage
- Contributing
- License
- LHDN References
- Acknowledgment
Before you begin, ensure you have met the following requirements:
- Windows operating system.
- XAMPP with PHP 8.1 or higher installed.
- Composer installed for PHP dependency management.
- Download and install XAMPP from the official website.
- Ensure that PHP 8.1 or higher is included in your XAMPP installation.
After installing XAMPP, verify the PHP installation:
- Open the Command Prompt or PowerShell.
- Navigate to the PHP directory within XAMPP:
cd C:\xampp\php
- Check the PHP version by running:
You should see the PHP version displayed.
php -v
- Download Composer from the official website.
- Run the installer and follow the prompts to install Composer.
- Verify the Composer installation:
composer -V
- Fork the original repository to your GitHub account.
- Clone your forked repository:
git clone https://github.com/yourusername/eInvoice.git
- Navigate to the project directory:
cd eInvoice
- Open the
php.inifile located in the XAMPP installation directory:C:\xampp\php\php.ini
- Enable the following extensions by removing the semicolons (
;) at the beginning of their lines:extension=intl extension=xsl extension=sodium extension=zip
- Save the
php.inifile. - Restart Apache using the XAMPP Control Panel.
- Install the necessary PHP dependencies using Composer:
composer install
- If you encounter any issues with the lock file, you can update the dependencies:
composer update
- In the project directory, rename the
.env.examplefile to.env:mv .env.example .env
- Generate an application key:
php artisan key:generate
- Start the development server:
php artisan serve
- Open your web browser and navigate to
http://localhost:8000to access the application.
The eInvoice application allows you to:
- Generate JSON/XML representations of invoices.
- Test your API keys.
Note: This application is intended for development and testing purposes only and is not suitable for production use.
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
This repository is a fork of the original eInvoice project by [irvine48]. I have made some changes and improvements to better suit my needs. All credit for the original work goes to the original author.