Skip to content

Commit

Permalink
Merge pull request #24 from Dropelikeit/feature/v5
Browse files Browse the repository at this point in the history
Improved documentation
  • Loading branch information
Dropelikeit authored Jan 17, 2023
2 parents d06d7c8 9065c97 commit 41ca2d6
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 26 deletions.
1 change: 0 additions & 1 deletion docs/discount-calculator.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,6 @@
* [Back To Root](../readme.md)
* [Price Calculator](price-calculator.md)
* [VAT Calculator](vat-calculator.md)
* [Discount Calculator](discount-calculator.md)
* [Unit Converter](unit-converter.md)
* [Entities](entities.md)
* [Price Formatter](price-formatter.md)
Expand Down
1 change: 0 additions & 1 deletion docs/entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,6 @@
* [VAT Calculator](vat-calculator.md)
* [Discount Calculator](discount-calculator.md)
* [Unit Converter](unit-converter.md)
* [Entities](entities.md)
* [Price Formatter](price-formatter.md)

# Entities
Expand Down
1 change: 0 additions & 1 deletion docs/price-calculator.md
Original file line number Diff line number Diff line change
@@ -1,6 1,5 @@
### Documentation
* [Back To Root](../readme.md)
* [Price Calculator](price-calculator.md)
* [VAT Calculator](vat-calculator.md)
* [Discount Calculator](discount-calculator.md)
* [Unit Converter](unit-converter.md)
Expand Down
1 change: 0 additions & 1 deletion docs/price-formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,6 @@
* [Discount Calculator](discount-calculator.md)
* [Unit Converter](unit-converter.md)
* [Entities](entities.md)
* [Price Formatter](price-formatter.md)

# Price Formatter

Expand Down
1 change: 0 additions & 1 deletion docs/unit-converter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,6 @@
* [Price Calculator](price-calculator.md)
* [VAT Calculator](vat-calculator.md)
* [Discount Calculator](discount-calculator.md)
* [Unit Converter](unit-converter.md)
* [Entities](entities.md)
* [Price Formatter](price-formatter.md)

Expand Down
1 change: 0 additions & 1 deletion docs/vat-calculator.md
Original file line number Diff line number Diff line change
@@ -1,7 1,6 @@
### Documentation
* [Back To Root](../readme.md)
* [Price Calculator](price-calculator.md)
* [VAT Calculator](vat-calculator.md)
* [Discount Calculator](discount-calculator.md)
* [Unit Converter](unit-converter.md)
* [Entities](entities.md)
Expand Down
25 changes: 5 additions & 20 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,11 1,3 @@
<style>
red { background: red; padding: 1%; }
green { background-color: green; padding: 1%; }

tr:nth-child(1) { background: green; }
tr:nth-child(2), tr:nth-child(3) { background: red; }
</style>

### Price calculator

[![Build Status](https://travis-ci.org/Dropelikeit/PriceCalculator.svg?branch=master)](https://travis-ci.org/Dropelikeit/PriceCalculator)
Expand All @@ -30,14 22,11 @@ You are also welcome to use the Issue Tracker to set bugs, improvements or upgra
composer require marcel-strahl/price-calculator
```
### Supported PHP Versions
| PHP | Package Version |
|:-----:|:---------------:|
| ^8.0 | v5.x.x |
| ^7.4 | v4.x.x |
| <^7.4 | <=v3.x.x |

<green>&nbsp;</green> = Current supported version.
<red>&nbsp;</red> = No longer supported.
| PHP | Package Version | Status |
|:-----:|:---------------:|:-------------:|
| ^8.0 | v5.x.x | Support |
| ^7.4 | v4.x.x | Not supported |
| <^7.4 | <=v3.x.x | Not supported |

### Documentation

Expand All @@ -47,7 36,3 @@ composer require marcel-strahl/price-calculator
* [Unit Converter](docs/unit-converter.md)
* [Entities](docs/entities.md)
* [Price Formatter](docs/price-formatter.md)

**The current version >= 4.0 can only be used with PHP 7.4 and higher, because the TypeHint for class properties was added.**

*If 7.4 is not or cannot be used, you need a version <= 4.0.*

0 comments on commit 41ca2d6

Please sign in to comment.