synergitech / epc-generator
Energy Performance Graph Generator
2.0.0
2023-08-10 05:01 UTC
Requires
- php: >=7.4 <8.3
- ext-gd: *
- intervention/image: ^2.4
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-12-07 10:37:12 UTC
README
A library to generate Energy Performance Graph.
Sample:
$report = (new EpcGenerator())
->setAddress('1 Test Address, Success street.')
->setReference('ABC123')
->setCurrentEnergyEfficiencyRating(40)
->setPotentialEnergyEfficiencyRating(50)
->setCurrentEnvironmentalImpactRating(60)
->setPotentialEnvironmentalImpactRating(70)
->stream();
Installation
You can install the package via composer:
composer require rexlabs/epc-generator
Credits
This package has been built on top of Khaled Elmahdi's EPC generator.