PHPackages                             ceytek-labs/54grad-de-services-lite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ceytek-labs/54grad-de-services-lite

ActiveLibrary[API Development](/categories/api)

ceytek-labs/54grad-de-services-lite
===================================

A PHP library for integrating 54grad.de's vehicle labeling services.

v1.6.2(1y ago)146.5k—0.2%MITPHPPHP ^7.0|^8.0

Since Oct 24Pushed 1y agoCompare

[ Source](https://github.com/ceytek-labs/54grad-de-services-lite)[ Packagist](https://packagist.org/packages/ceytek-labs/54grad-de-services-lite)[ Docs](https://github.com/ceytek-labs/54grad-de-services-lite)[ RSS](/packages/ceytek-labs-54grad-de-services-lite/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelogDependenciesVersions (32)Used By (0)

 [![54grad.de Services Lite](https://raw.githubusercontent.com/ceytek-labs/54grad-de-services-lite/refs/heads/1.x/art/banner.png)](https://raw.githubusercontent.com/ceytek-labs/54grad-de-services-lite/refs/heads/1.x/art/banner.png)

 [![Total Downloads](https://camo.githubusercontent.com/efadbc6554656cae5dfb1c84f4b7da66640594650834c7055016502cfda3899d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63657974656b2d6c6162732f3534677261642d64652d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/54grad-de-services-lite) [![Latest Version](https://camo.githubusercontent.com/6ad300dfe6c73f9fab8fb6b21e81958a08d89431e0c71a5a36a94a023447ac6d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63657974656b2d6c6162732f3534677261642d64652d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/54grad-de-services-lite) [![Size](https://camo.githubusercontent.com/149edcf90fc3589e44ff7c715df1e420becd293b80c1f3d0f1764f946864f458/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f63657974656b2d6c6162732f3534677261642d64652d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/54grad-de-services-lite) [![License](https://camo.githubusercontent.com/741858731593776e977733d362885b3b955f68f8c82896647670d5572ab432f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63657974656b2d6c6162732f3534677261642d64652d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/54grad-de-services-lite)

---

54grad.de Services Lite
=======================

[](#54gradde-services-lite)

**54grad.de** is a company that offers vehicle labeling, customer management, and software solutions.

This package is designed to integrate the services provided by **54grad.de** into PHP projects, allowing for seamless use of vehicle labeling data and other related functionalities within a PHP-based environment.

> **Disclaimer:** This package is not an official product of 54grad.de. The developers accept no responsibility for any issues, discrepancies, or damages that may arise from its use.

Requirements
------------

[](#requirements)

- PHP 7.0 or higher (including PHP 8)

Installation
------------

[](#installation)

You can add this package to your projects via Composer:

```
composer require ceytek-labs/54grad-de-services-lite
```

Services
--------

[](#services)

- [PKW Label](#pkw-label)
    - [PKW Label Electric](#pkw-label-electric)
        - [Generate Filename](#pkw-label-electric-generate-filename)
        - [Generate Filename with Path](#pkw-label-electric-generate-filename-with-path)
        - [Create PDF](#pkw-label-electric-create-pdf)
        - [Create and Display PDF](#pkw-label-electric-create-and-display-pdf)
        - [Display Already Created PDF](#pkw-label-electric-display-already-created-pdf)
        - [Ensure PDF Exists and Print](#pkw-label-electric-ensure-pdf-exists-and-print)
    - [PKW Label Fuel](#pkw-label-fuel)
        - [Generate Filename](#pkw-label-fuel-generate-filename)
        - [Generate Filename with Path](#pkw-label-fuel-generate-filename-with-path)
        - [Create PDF](#pkw-label-fuel-create-pdf)
        - [Create and Display PDF](#pkw-label-fuel-create-and-display-pdf)
        - [Display Already Created PDF](#pkw-label-fuel-display-already-created-pdf)
        - [Ensure PDF Exists and Print](#pkw-label-fuel-ensure-pdf-exists-and-print)
    - [PKW Label Hybrid](#pkw-label-hybrid)
        - [Generate Filename](#pkw-label-hybrid-generate-filename)
        - [Generate Filename with Path](#pkw-label-hybrid-generate-filename-with-path)
        - [Create PDF](#pkw-label-hybrid-create-pdf)
        - [Create and Display PDF](#pkw-label-hybrid-create-and-display-pdf)
        - [Display Already Created PDF](#pkw-label-hybrid-display-already-created-pdf)
        - [Ensure PDF Exists and Print](#pkw-label-hybrid-ensure-pdf-exists-and-print)
    - [PKW Label Hydrogen](#pkw-label-hydrogen)
        - [Generate Filename](#pkw-label-hydrogen-generate-filename)
        - [Generate Filename with Path](#pkw-label-hydrogen-generate-filename-with-path)
        - [Create PDF](#pkw-label-hydrogen-create-pdf)
        - [Create and Display PDF](#pkw-label-hydrogen-create-and-display-pdf)
        - [Display Already Created PDF](#pkw-label-hydrogen-display-already-created-pdf)
        - [Ensure PDF Exists and Print](#pkw-label-hydrogen-ensure-pdf-exists-and-print)
    - [PKW Label Outdated](#pkw-label-outdated)
        - [Generate Filename](#pkw-label-outdated-generate-filename)
        - [Generate Filename with Path](#pkw-label-outdated-generate-filename-with-path)
        - [Create PDF](#pkw-label-outdated-create-pdf)
        - [Create and Display PDF](#pkw-label-outdated-create-and-display-pdf)
        - [Display Already Created PDF](#pkw-label-outdated-display-already-created-pdf)
        - [Ensure PDF Exists and Print](#pkw-label-outdated-ensure-pdf-exists-and-print)

PKW Label
---------

[](#pkw-label)

The PKW Label allows car dealerships to automate the calculation and generation of vehicle labels required by the EnVKV (German Energy Consumption Labeling Ordinance for Passenger Cars). This API is designed to simplify the process of creating standardized labels that display important vehicle information such as fuel consumption and CO2 emissions, ensuring compliance with regulatory standards.

In essence, it streamlines the creation of these labels, reducing manual work and ensuring accuracy.

**[⬆ Back to services](#services)**

PKW Label Electric
------------------

[](#pkw-label-electric)

The **PKW Label Electric** allows users to generate energy labels for electric vehicles, including key information such as electric consumption, driving range, and vehicle identification numbers (FIN). It automates the process of creating legally required labels under the EnVKV (German Energy Consumption Labeling Ordinance), making it easier for dealerships and vehicle manufacturers to comply with regulations.

### Example Usage

[](#example-usage)

Here are a few examples of how you can use the **PKWLabelElectric** class in your PHP projects to generate and display electric vehicle labels.

**[⬆ Back to services](#services)**

#### PKW Label Electric: Generate Filename

[](#pkw-label-electric-generate-filename)

This example generates the filename for the PDF without creating the actual file:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelElectric;

$pkwLabelFilename = PKWLabelElectric::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setElectricConsumption('15')
    ->setElectricConsumptionCity('16.3')
    ->setElectricConsumptionSuburban('15.9')
    ->setElectricConsumptionRural('14.2')
    ->setElectricConsumptionHighway('14')
    ->setRange('350')
    ->setFin('1234567891011')
    ->generateFilename();

echo $pkwLabelFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Electric: Generate Filename with Path

[](#pkw-label-electric-generate-filename-with-path)

If you want to include the output directory in the filename:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelElectric;

$pkwLabelFilenameAsPath = PKWLabelElectric::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setElectricConsumption('15')
    ->setElectricConsumptionCity('16.3')
    ->setElectricConsumptionSuburban('15.9')
    ->setElectricConsumptionRural('14.2')
    ->setElectricConsumptionHighway('14')
    ->setRange('350')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->generateFullFilename();

echo $pkwLabelFilenameAsPath;
```

**[⬆ Back to services](#services)**

#### PKW Label Electric: Create PDF

[](#pkw-label-electric-create-pdf)

This example shows how to create the PDF and save it to the output directory:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelElectric;

PKWLabelElectric::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setElectricConsumption('15')
    ->setElectricConsumptionCity('16.3')
    ->setElectricConsumptionSuburban('15.9')
    ->setElectricConsumptionRural('14.2')
    ->setElectricConsumptionHighway('14')
    ->setRange('350')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Electric: Create and Display PDF

[](#pkw-label-electric-create-and-display-pdf)

This example creates the PDF and displays it directly in the browser:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelElectric;

PKWLabelElectric::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setElectricConsumption('15')
    ->setElectricConsumptionCity('16.3')
    ->setElectricConsumptionSuburban('15.9')
    ->setElectricConsumptionRural('14.2')
    ->setElectricConsumptionHighway('14')
    ->setRange('350')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf()
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Electric: Display Already Created PDF

[](#pkw-label-electric-display-already-created-pdf)

If the PDF is already created, you can directly display it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelElectric;

PKWLabelElectric::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setElectricConsumption('15')
    ->setElectricConsumptionCity('16.3')
    ->setElectricConsumptionSuburban('15.9')
    ->setElectricConsumptionRural('14.2')
    ->setElectricConsumptionHighway('14')
    ->setRange('350')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Electric: Ensure PDF Exists and Print

[](#pkw-label-electric-ensure-pdf-exists-and-print)

This function checks if the PDF already exists. If not, it generates the PDF and displays it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelElectric;

PKWLabelElectric::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setElectricConsumption('15')
    ->setElectricConsumptionCity('16.3')
    ->setElectricConsumptionSuburban('15.9')
    ->setElectricConsumptionRural('14.2')
    ->setElectricConsumptionHighway('14')
    ->setRange('350')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->ensurePdfAndPrint();
```

**[⬆ Back to services](#services)**

PKW Label Fuel
--------------

[](#pkw-label-fuel)

The **PKW Label Fuel** is designed to automate the creation of energy labels for fuel-powered vehicles. This API supports the generation of standardized labels that display essential vehicle details, such as fuel consumption, CO2 emissions, and engine capacity. The labels created by this API comply with the EnVKV (German Energy Consumption Labeling Ordinance), making it easier for car dealerships and manufacturers to meet regulatory requirements.

By automating the generation of these labels, the API reduces manual effort and ensures accuracy for fuel-powered vehicles.

### Example Usage

[](#example-usage-1)

Here are a few examples of how you can use the **PKWLabelFuel** class in your PHP projects to generate and display electric vehicle labels.

**[⬆ Back to services](#services)**

#### PKW Label Fuel: Generate Filename

[](#pkw-label-fuel-generate-filename)

This example generates the filename for the PDF without creating the actual file:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelFuel;

$pkwLabelFilename = PKWLabelFuel::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('diesel')
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setCo2Combined(136)
    ->setCubicCapacity(1997)
    ->setFin('1234567891011')
    ->generateFilename();

echo $pkwLabelFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Fuel: Generate Filename with Path

[](#pkw-label-fuel-generate-filename-with-path)

If you want to include the output directory in the filename:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelFuel;

$pkwLabelFullFilename = PKWLabelFuel::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('diesel')
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setCo2Combined(136)
    ->setCubicCapacity(1997)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->generateFullFilename();

echo $pkwLabelFullFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Fuel: Create PDF

[](#pkw-label-fuel-create-pdf)

This example shows how to create the PDF and save it to the output directory:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelFuel;

PKWLabelFuel::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('diesel')
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setCo2Combined(136)
    ->setCubicCapacity(1997)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Fuel: Create and Display PDF

[](#pkw-label-fuel-create-and-display-pdf)

This example creates the PDF and displays it directly in the browser:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelFuel;

PKWLabelFuel::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('diesel')
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setCo2Combined(136)
    ->setCubicCapacity(1997)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf()
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Fuel: Display Already Created PDF

[](#pkw-label-fuel-display-already-created-pdf)

If the PDF is already created, you can directly display it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelFuel;

PKWLabelFuel::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('diesel')
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setCo2Combined(136)
    ->setCubicCapacity(1997)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Fuel: Ensure PDF Exists and Print

[](#pkw-label-fuel-ensure-pdf-exists-and-print)

This function checks if the PDF already exists. If not, it generates the PDF and displays it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelFuel;

PKWLabelFuel::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('diesel')
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setCo2Combined(136)
    ->setCubicCapacity(1997)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->ensurePdfAndPrint();
```

**[⬆ Back to services](#services)**

PKW Label Hybrid
----------------

[](#pkw-label-hybrid)

The **PKW Label Hybrid** allows for automated generation of energy labels for hybrid vehicles. It provides comprehensive details, including fuel consumption, electric consumption, CO2 emissions, and driving range. The generated labels meet the requirements set by the EnVKV (German Energy Consumption Labeling Ordinance), making it easier for car dealerships and manufacturers to comply with regulatory standards.

This API reduces the need for manual label creation, ensuring accuracy and consistency for hybrid vehicle data.

### Example Usage

[](#example-usage-2)

Here are a few examples of how you can use the **PKWLabelHybrid** class in your PHP projects to generate and display electric vehicle labels.

**[⬆ Back to services](#services)**

#### PKW Label Hybrid: Generate Filename

[](#pkw-label-hybrid-generate-filename)

This example generates the filename for the PDF without creating the actual file:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHybrid;

$pkwLabelFilename = PKWLabelHybrid::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('benzin')
    ->setWeightedConsumption(4)
    ->setElectricWeightedConsumption(8)
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setElectricConsumption(15)
    ->setElectricConsumptionCity(16)
    ->setElectricConsumptionSuburban(15)
    ->setElectricConsumptionRural(14.5)
    ->setElectricConsumptionHighway(14.5)
    ->setCo2Combined(95)
    ->setCo2Discharged(125)
    ->setCubicCapacity(1987)
    ->setRangeEaer(350)
    ->setFin('1234567891011')
    ->generateFilename();

echo $pkwLabelFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Hybrid: Generate Filename with Path

[](#pkw-label-hybrid-generate-filename-with-path)

If you want to include the output directory in the filename:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHybrid;

$pkwLabelFullFilename = PKWLabelHybrid::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('benzin')
    ->setWeightedConsumption(4)
    ->setElectricWeightedConsumption(8)
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setElectricConsumption(15)
    ->setElectricConsumptionCity(16)
    ->setElectricConsumptionSuburban(15)
    ->setElectricConsumptionRural(14.5)
    ->setElectricConsumptionHighway(14.5)
    ->setCo2Combined(95)
    ->setCo2Discharged(125)
    ->setCubicCapacity(1987)
    ->setRangeEaer(350)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->generateFullFilename();

echo $pkwLabelFullFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Hybrid: Create PDF

[](#pkw-label-hybrid-create-pdf)

This example shows how to create the PDF and save it to the output directory:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHybrid;

PKWLabelHybrid::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('benzin')
    ->setWeightedConsumption(4)
    ->setElectricWeightedConsumption(8)
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setElectricConsumption(15)
    ->setElectricConsumptionCity(16)
    ->setElectricConsumptionSuburban(15)
    ->setElectricConsumptionRural(14.5)
    ->setElectricConsumptionHighway(14.5)
    ->setCo2Combined(95)
    ->setCo2Discharged(125)
    ->setCubicCapacity(1987)
    ->setRangeEaer(350)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Hybrid: Create and Display PDF

[](#pkw-label-hybrid-create-and-display-pdf)

This example creates the PDF and displays it directly in the browser:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHybrid;

PKWLabelHybrid::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('benzin')
    ->setWeightedConsumption(4)
    ->setElectricWeightedConsumption(8)
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setElectricConsumption(15)
    ->setElectricConsumptionCity(16)
    ->setElectricConsumptionSuburban(15)
    ->setElectricConsumptionRural(14.5)
    ->setElectricConsumptionHighway(14.5)
    ->setCo2Combined(95)
    ->setCo2Discharged(125)
    ->setCubicCapacity(1987)
    ->setRangeEaer(350)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf()
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Hybrid: Display Already Created PDF

[](#pkw-label-hybrid-display-already-created-pdf)

If the PDF is already created, you can directly display it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHybrid;

PKWLabelHybrid::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('benzin')
    ->setWeightedConsumption(4)
    ->setElectricWeightedConsumption(8)
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setElectricConsumption(15)
    ->setElectricConsumptionCity(16)
    ->setElectricConsumptionSuburban(15)
    ->setElectricConsumptionRural(14.5)
    ->setElectricConsumptionHighway(14.5)
    ->setCo2Combined(95)
    ->setCo2Discharged(125)
    ->setCubicCapacity(1987)
    ->setRangeEaer(350)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Hybrid: Ensure PDF Exists and Print

[](#pkw-label-hybrid-ensure-pdf-exists-and-print)

This function checks if the PDF already exists. If not, it generates the PDF and displays it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHybrid;

PKWLabelHybrid::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setFuel('benzin')
    ->setWeightedConsumption(4)
    ->setElectricWeightedConsumption(8)
    ->setConsumption(8.5)
    ->setConsumptionCity(9.3)
    ->setConsumptionSuburban(8.9)
    ->setConsumptionRural(8)
    ->setConsumptionHighway(7.2)
    ->setElectricConsumption(15)
    ->setElectricConsumptionCity(16)
    ->setElectricConsumptionSuburban(15)
    ->setElectricConsumptionRural(14.5)
    ->setElectricConsumptionHighway(14.5)
    ->setCo2Combined(95)
    ->setCo2Discharged(125)
    ->setCubicCapacity(1987)
    ->setRangeEaer(350)
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->ensurePdfAndPrint();
```

**[⬆ Back to services](#services)**

PKW Label Hydrogen
------------------

[](#pkw-label-hydrogen)

The **PKW Label Hydrogen** enables the automatic creation of energy labels for hydrogen-powered vehicles. This API is designed to provide critical information, including fuel consumption across various driving conditions (such as city, suburban, rural, and highway), along with other essential details like vehicle identification (FIN). This labeling functionality is tailored to meet the EnVKV (German Energy Consumption Labeling Ordinance) requirements, simplifying regulatory compliance for dealerships and vehicle manufacturers.

This tool allows you to efficiently create accurate and standardized labels for hydrogen vehicles with minimal manual intervention.

### Example Usage

[](#example-usage-3)

Here are a few examples of how you can use the **PKWLabelHydrogen** class in your PHP projects to generate and display electric vehicle labels.

**[⬆ Back to services](#services)**

#### PKW Label Hydrogen: Generate Filename

[](#pkw-label-hydrogen-generate-filename)

This example generates the filename for the PDF without creating the actual file:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHydrogen;

$pkwLabelFilename = PKWLabelHydrogen::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setConsumption('8.5')
    ->setConsumptionCity('9.3')
    ->setConsumptionSuburban('8.9')
    ->setConsumptionRural('8')
    ->setConsumptionHighway('7.2')
    ->setFin('1234567891011')
    ->generateFilename();

echo $pkwLabelFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Hydrogen: Generate Filename with Path

[](#pkw-label-hydrogen-generate-filename-with-path)

If you want to include the output directory in the filename:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHydrogen;

$pkwLabelFullFilename = PKWLabelHydrogen::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setConsumption('8.5')
    ->setConsumptionCity('9.3')
    ->setConsumptionSuburban('8.9')
    ->setConsumptionRural('8')
    ->setConsumptionHighway('7.2')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->generateFullFilename();

echo $pkwLabelFullFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Hydrogen: Create PDF

[](#pkw-label-hydrogen-create-pdf)

This example shows how to create the PDF and save it to the output directory:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHydrogen;

PKWLabelHydrogen::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setConsumption('8.5')
    ->setConsumptionCity('9.3')
    ->setConsumptionSuburban('8.9')
    ->setConsumptionRural('8')
    ->setConsumptionHighway('7.2')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Hydrogen: Create and Display PDF

[](#pkw-label-hydrogen-create-and-display-pdf)

This example creates the PDF and displays it directly in the browser:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHydrogen;

PKWLabelHydrogen::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setConsumption('8.5')
    ->setConsumptionCity('9.3')
    ->setConsumptionSuburban('8.9')
    ->setConsumptionRural('8')
    ->setConsumptionHighway('7.2')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf()
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Hydrogen: Display Already Created PDF

[](#pkw-label-hydrogen-display-already-created-pdf)

If the PDF is already created, you can directly display it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHydrogen;

PKWLabelHydrogen::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setConsumption('8.5')
    ->setConsumptionCity('9.3')
    ->setConsumptionSuburban('8.9')
    ->setConsumptionRural('8')
    ->setConsumptionHighway('7.2')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Hydrogen: Ensure PDF Exists and Print

[](#pkw-label-hydrogen-ensure-pdf-exists-and-print)

This function checks if the PDF already exists. If not, it generates the PDF and displays it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelHydrogen;

PKWLabelHydrogen::make('')
    ->setManufacturer('Škoda')
    ->setModel('Octavia Combi RS')
    ->setConsumption('8.5')
    ->setConsumptionCity('9.3')
    ->setConsumptionSuburban('8.9')
    ->setConsumptionRural('8')
    ->setConsumptionHighway('7.2')
    ->setFin('1234567891011')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->ensurePdfAndPrint();
```

**[⬆ Back to services](#services)**

PKW Label Outdated
------------------

[](#pkw-label-outdated)

> The European Union updated its energy label system on March 1, 2021, moving from the complex A+, A++, and A+++ ratings to a simpler A-to-G scale. This change aimed to make energy efficiency classifications clearer for consumers, aligning with the EU's sustainability and transparency goals. The new scale improves the understanding of energy consumption and supports the transition to greener technologies by promoting clarity for both consumers and manufacturers.

The **PKW Label Outdated** enables the generation of vehicle labels based on the former EU energy classification system, including ratings like A+, A++, and A+++. This class is intended for projects that still require these legacy labels, providing compatibility with the older EU scale where applicable.

### Example Usage

[](#example-usage-4)

Here are a few examples of how you can use the **PKWLabelOutdated** class in your PHP projects to generate and display electric vehicle labels.

**[⬆ Back to services](#services)**

#### PKW Label Outdated: Generate Filename

[](#pkw-label-outdated-generate-filename)

This example generates the filename for the PDF without creating the actual file:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelOutdated;

$pkwLabelFilename = PKWLabelOutdated::make('')
    ->setManufacturer('Skoda')
    ->setModel('Octavia III 1.9 TDI Elegance')
    ->setPower('84')
    ->setFuelType('supere10')
    ->setMass('1484')
    ->setCo2Emission('148')
    ->setEngineCapacity('1998')
    ->setConsumption('7.2')
    ->setConsumptionCity('n/a')
    ->setConsumptionHighway('n/a')
    ->generateFilename();

echo $pkwLabelFilename;
```

**[⬆ Back to services](#services)**

#### PKW Label Outdated: Generate Filename with Path

[](#pkw-label-outdated-generate-filename-with-path)

If you want to include the output directory in the filename:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelOutdated;

$pkwLabelFilenameAsPath = PKWLabelOutdated::make('')
    ->setManufacturer('Skoda')
    ->setModel('Octavia III 1.9 TDI Elegance')
    ->setPower('84')
    ->setFuelType('supere10')
    ->setMass('1484')
    ->setCo2Emission('148')
    ->setEngineCapacity('1998')
    ->setConsumption('7.2')
    ->setConsumptionCity('n/a')
    ->setConsumptionHighway('n/a')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->generateFullFilename();

echo $pkwLabelFilenameAsPath;
```

**[⬆ Back to services](#services)**

#### PKW Label Outdated: Create PDF

[](#pkw-label-outdated-create-pdf)

This example shows how to create the PDF and save it to the output directory:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelOutdated;

PKWLabelOutdated::make('')
    ->setManufacturer('Skoda')
    ->setModel('Octavia III 1.9 TDI Elegance')
    ->setPower('84')
    ->setFuelType('supere10')
    ->setMass('1484')
    ->setCo2Emission('148')
    ->setEngineCapacity('1998')
    ->setConsumption('7.2')
    ->setConsumptionCity('n/a')
    ->setConsumptionHighway('n/a')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Outdated: Create and Display PDF

[](#pkw-label-outdated-create-and-display-pdf)

This example creates the PDF and displays it directly in the browser:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelOutdated;

PKWLabelOutdated::make('')
    ->setManufacturer('Skoda')
    ->setModel('Octavia III 1.9 TDI Elegance')
    ->setPower('84')
    ->setFuelType('supere10')
    ->setMass('1484')
    ->setCo2Emission('148')
    ->setEngineCapacity('1998')
    ->setConsumption('7.2')
    ->setConsumptionCity('n/a')
    ->setConsumptionHighway('n/a')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->createPdf()
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Outdated: Display Already Created PDF

[](#pkw-label-outdated-display-already-created-pdf)

If the PDF is already created, you can directly display it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelOutdated;

PKWLabelOutdated::make('')
    ->setManufacturer('Skoda')
    ->setModel('Octavia III 1.9 TDI Elegance')
    ->setPower('84')
    ->setFuelType('supere10')
    ->setMass('1484')
    ->setCo2Emission('148')
    ->setEngineCapacity('1998')
    ->setConsumption('7.2')
    ->setConsumptionCity('n/a')
    ->setConsumptionHighway('n/a')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->displayPdf();
```

**[⬆ Back to services](#services)**

#### PKW Label Outdated: Ensure PDF Exists and Print

[](#pkw-label-outdated-ensure-pdf-exists-and-print)

This function checks if the PDF already exists. If not, it generates the PDF and displays it:

```
use CeytekLabs\FiftyFourGradDeServicesLite\EnVKV\PKWLabelOutdated;

PKWLabelOutdated::make('')
    ->setManufacturer('Skoda')
    ->setModel('Octavia III 1.9 TDI Elegance')
    ->setPower('84')
    ->setFuelType('supere10')
    ->setMass('1484')
    ->setCo2Emission('148')
    ->setEngineCapacity('1998')
    ->setConsumption('7.2')
    ->setConsumptionCity('n/a')
    ->setConsumptionHighway('n/a')
    ->setOutputDirectory(__DIR__ . '/pdfs')
    ->ensurePdfAndPrint();
```

Contributing
------------

[](#contributing)

Feel free to submit a **pull request** or report an issue. Any contributions and feedback are highly appreciated!

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

31

Last Release

567d ago

PHP version history (2 changes)v1.0.0PHP ^7.0

v1.6.0PHP ^7.0|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd04f7a68c28475cb5493f3d841a7ae95ad200188efb658e1a37e30a5f2ba6db?d=identicon)[ceyhun-celik](/maintainers/ceyhun-celik)

---

Top Contributors

[![ceyhun-celik](https://avatars.githubusercontent.com/u/112348956?v=4)](https://github.com/ceyhun-celik "ceyhun-celik (31 commits)")

---

Tags

54gradcar-labelsenergy-labelsenvkvphppkwpkw-labelvehicle-labelingphp54grad.devehicle labelingenergy labelscar labelsenvkvpkwpkw label

### Embed Badge

![Health badge](/badges/ceytek-labs-54grad-de-services-lite/health.svg)

```
[![Health](https://phpackages.com/badges/ceytek-labs-54grad-de-services-lite/health.svg)](https://phpackages.com/packages/ceytek-labs-54grad-de-services-lite)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
