mindpowered / invoices
Create, edit, and track invoices as part of your app
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mindpowered/invoices
Requires
README
Create, edit, and track invoices as part of your app
Contents
Source Code and Documentation
- Source Code: https://github.com/mindpowered/invoices-php
- Documentation: https://mindpowered.github.io/invoices-php
About
An invoice lists the quantities and costs of the products or services provided by a seller to a buyer. The top of the invoice usually includes the:
- contact information of the seller
- contact information of the buyer
- date of the invoice
In the middle of the invoice is a list of products or services. A line item refers to a line from this list. The line item describes the product or service, quantity, rate, price, and taxes.
At the bottom of the invoice is a summary which usually includes:
- subtotal (before tax)
- total (with tax) amount
- payment terms.
This package aims to provide the tools to create and edit invoices. This is useful for sending by the seller or receiving by the buyer.
Requirements
- php >= 7
- php
mbstringextension - php
xmlextension
Third-party dependencies may have additional requirements.
Installation
You can get invoices using Composer. Composer manages dependencies for packages from Packagist and you can get it here: https://getcomposer.org/ .
Create a composer.json file in the top-most directory of your project and add mindpowered/invoices to the requirements:
{
"require": {
"mindpowered/invoices" : "*"
}
}
Now you can run the command to update composer: composer update. In order for composer to install the package dependencies you will need an archive manager such as zip installed. Composer requires use of the commands zip and unzip.
Usage
require __DIR__ . '/vendor/autoload.php'; use \mindpowered\invoices\Invoices; $inv = new Invoices(); $inv->Create("354", "2153", "2021-02-01", "2021-03-01", "Thanks for the business!");
Support
We are here to support using this package. If it doesn't do what you're looking for, isn't working, or you just need help, please Contact us.
There is also a public Issue Tracker available for this package.
Licensing
This package is released under the MIT License.