GithubHelp home page GithubHelp logo

ebuzzz / ubl-invoice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from num-num/ubl-invoice

0.0 0.0 0.0 172 KB

A modern object-oriented PHP library to create valid UBL files

License: MIT License

PHP 100.00%

ubl-invoice's Introduction

UBL-Invoice

A modern object-oriented PHP library to create valid UBL files. Please feel free to contribute if you are missing features or tags.

Installation and usage

This package requires PHP 7.0 or higher. Installation can be done through composer.

$ composer require num-num/ubl-invoice

Contributing

This library is not 100% UBL 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 add features or make breaking changes, please try to document these changes in the changelog/next-release.md file.

If you require additional UBL tags or extra functionality, please feel free to create a pull request to merge your code additions or changes. Please always follow the PSR-12 coding standard. You can use PHP_CodeSniffer in your editor to ensure you are following this standard, since a PSR-12 compliant phpcs.xml file is included in the source code.

Examples & documentation

This repository does not have a documentation website at this moment. For now, you can find a few simple code examples 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...

Unit testing

Although unit testing is included, this repository does not provide exhaustive unit testing for all possiblities, getters & setters that are included in the code. Please feel free to add new unit tests for new features that you write. Unit tests are to be created in the tests folder. can be run by running composer test in the repository root.

Running the unit tests

$ cd ubl-invoice
$ composer test

ubl-invoice's People

Contributors

bbrunekreeft avatar brtdv avatar homer8173 avatar it-can avatar japsen avatar karstennilsen avatar p1eterdeboer avatar rodehoed avatar stedekay avatar stormyy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.