Sistema Básico de Facturación en PHP y MySQL

Basic Billing System in PHP and MySQL

This Basic Billing System in PHP and MySQL allows you to dynamically generate an invoice, entering the product codes, product id, price, percentage of taxes and the amount paid by the customer.

The system consists of a login, which you can access with the usual credentials, in the applications of this blog at PHP, Python and Javascript

If you require more information about the login process in PHP you can see the publication below (in spanish):

Commissioning of the Basic Billing System in PHP and MySQL on a local server

Previous Applications

To install the application on a local server, I recommend the prior installation of the following applications:

XAMPP, Git, Visual Studio Code

XAMPP is the application in charge of implementing a apache server for them to work scripts PHP on a local computer.

Git is the world's most widely used repository manager, with which you can cleanly download code from GitHub.

Visual Studio Code is the world's most popular code editor, which I highly recommend in virtually every post on this blog.

Download GitHub App

The following is the GitHub repository download link for the application that allows you to define the difference between two dates on a local server:

Basic Billing System in PHP and MySQL

Configuration of the Basic Billing System in PHP and MySQL for its operation on your computer

You must install the mentioned applications, with all the default parameters, after this procedure, from Visual Studio Code, you must open the following location:


From this location in Visual Studio Code, click View, Terminal. Inside the Terminal you choose the Git Bash option and copy the following code:

git clone

The folder will be created factura-sencilla, inside the htdocs folder. Next, you must open XAMPP on your computer, activate the Apache and MySQL services, and access the following URL, to create the invoice database:


Database of the Basic Billing System

For the application to work correctly, from phpmyadmin, you must create the database with the name factura, later from accessing the SQL section and paste the code found in the following link:

Database Link

After this you can access the following URL and the application will be ready for use:


Upload of the Basic Billing system to a hosting

Due to the simplicity of the application, I will not address the issue directly, in the following related video (spanish), I explain the process at a general level:

Upload page with PHP + Database (MYSQL) to a Hosting

If you still have doubts about the process of setting up the application on a local server

How to Install PHP Applications on a Local Server

Any questions I remain pending, if you require more PHP applications, in Python or JavaScript I recommend you subscribe to my content on Youtube and be on the lookout for any changes, that I make.

One comment

Leave a Reply

Your email address will not be published.