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();
You can install the package via composer:
composer require rexlabs/epc-generator
This package has been built on top of Khaled Elmahdi's EPC generator.