num-num / ubl-invoice
A modern object-oriented PHP library to create valid UBL and Peppol BIS 3.0 files
Installs: 242 128
Dependents: 0
Suggesters: 0
Security: 0
Stars: 81
Watchers: 9
Forks: 70
Open Issues: 1
Requires
- php: ^7.3 || ^8.0
- sabre/xml: ^4.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.7
- dev-master
- v1.18.1
- v1.18
- v1.17
- v1.16
- v1.15.5
- v1.15.4
- v1.15.3
- v1.15.2
- v1.15.1
- v1.15
- v1.14
- v1.13
- v1.12
- v1.11
- v1.10.2
- v1.10.1
- v1.10
- v1.9.6
- v1.9.5
- v1.9.4
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.6
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8
- v1.7
- v1.6.2
- v1.6.1
- v1.6
- v1.5
- v1.4.2
- v1.4.1
- v1.4
- v1.3
- v1.2
- v1.1.1
- v1.1
- v1.0.0
- dev-pullrequest/68
This package is auto-updated.
Last update: 2024-11-20 10:04:33 UTC
README
A modern object-oriented PHP library to create valid UBL and Peppol BIS 3.0 files. Please feel free to contribute if you are missing features or tags.
Installation and usage
This package requires PHP 7.4 or higher and is fully compatible with PHP8. Installation can be done through composer.
$ composer require num-num/ubl-invoice
Contributing
This library is not 100% UBL/Peppol feature-complete, in the sense that it doesn't (yet) support all UBL XML tags & functionality. "Yet" being the keyword, since this definitely is the long-term goal. All common UBL tags that are required for most invoices are present in the library. This includes tags for discounts, cash discounts, special vat rates, etc...
If you are missing functionality, please feel free to add it :-) Adding additional tags & attributes is fairly straight-forward. Check out CONTRIBUTING.md for more information.
Examples & documentation
This repository does not have a documentation website at this moment. For now, please check out some code examples by checking the unit tests in the tests
folder.
Changelog
A changelog is available since version v1.9.0. If you are upgrading a minor version (1.x) or major version, please check the changelog to see if you need to implement any breaking changes...