PHPackages                             ebaschiera/pvoutput - 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. ebaschiera/pvoutput

ActiveLibrary[API Development](/categories/api)

ebaschiera/pvoutput
===================

PVOutput.org API implementation

v1.2.0(10y ago)045GPL-2.0PHPPHP &gt;=5.3.0

Since Mar 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ebaschiera/PVOutput)[ Packagist](https://packagist.org/packages/ebaschiera/pvoutput)[ RSS](/packages/ebaschiera-pvoutput/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

PVOutput
========

[](#pvoutput)

Implementation of PVOutput.org API. For more information, see

Methods currently implemented are:

- [Add Output](http://www.pvoutput.org/help.html#api-addoutput)
- [Get Output](http://www.pvoutput.org/help.html#api-getoutput)
- [Add Status](http://www.pvoutput.org/help.html#api-addstatus)

This is a simple PHP class that can be used in a larger project to delegate communication with PVOutput. It is not a monitoring application.

Please note that not all API parameters are handled by this class methods. Parameters coverage is:

- Add Output
- `d`
- `g`
- `e`
- `pp`
- `pt`
- `c`
- Get Output
- `df`
- `dt`
- `a`
- `limit`
- `tid`
- `sid1`
- Add Status
- `d`
- `t`
- `v2`
- `v4`

Missing parameters will be implemented in the future.

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

[](#installation)

### Composer

[](#composer)

From the Command Line:

```
composer require ebaschiera/pvoutput:1.1.*

```

In your `composer.json`:

```
{
    "require": {
        "ebaschiera/pvoutput": "1.1.*"
    }
}
```

### Manually

[](#manually)

Just download the release package, put `src/PVOutput.php` inside your project tree and you are set.

Basic usage
-----------

[](#basic-usage)

Please note that not all API method parameters are handled by this class.

```
//during the day
$pvoutput = new \PVOutput\PVOutput($system_id, $api_key);
$pvoutput->addStatus(2500, 1500); //sends instant generation and consumption

//at the end of the day
$pvoutput = new \PVOutput\PVOutput($system_id, $api_key);
$pvoutput->addOutput(NULL, 9000, 3100, $peak_output_datetime, 8000, 1000);
//sends generated energy, peak generation power, peak generation datetime, consumed energy, exported energy

//get a full month aggregated output
$start_date = \DateTime::createFromFormat('Ymd', '20150401');
$end_date = \DateTime::createFromFormat('Ymd', '20150430');
$pvoutput = new \PVOutput\PVOutput($system_id, $api_key);
$pvoutput->getOutput($start_date, $end_date, 'm');

```

License
-------

[](#license)

This software is provided as is, according to GPL-2. See the `LICENSE` file for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~33 days

Recently: every ~50 days

Total

7

Last Release

3879d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57fe3dd92187b2bdf92e7bf6ad1eb3ce3750daf1b83c37f2bdd837868bdd2dd7?d=identicon)[ebaschiera](/maintainers/ebaschiera)

---

Top Contributors

[![ebaschiera](https://avatars.githubusercontent.com/u/5667462?v=4)](https://github.com/ebaschiera "ebaschiera (15 commits)")

### Embed Badge

![Health badge](/badges/ebaschiera-pvoutput/health.svg)

```
[![Health](https://phpackages.com/badges/ebaschiera-pvoutput/health.svg)](https://phpackages.com/packages/ebaschiera-pvoutput)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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