PHPackages                             mechawrench/cafcp-hydrogen-station-fuel-status - 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. mechawrench/cafcp-hydrogen-station-fuel-status

ActiveLibrary

mechawrench/cafcp-hydrogen-station-fuel-status
==============================================

Retrieve H35/H70 fuel availability and quantity from CAFCP data source

v2.1.1(5y ago)041MITPHPPHP ^7.4

Since Oct 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mechawrench/cafcp-hydrogen-station-fuel-status)[ Packagist](https://packagist.org/packages/mechawrench/cafcp-hydrogen-station-fuel-status)[ Docs](https://github.com/mechawrench/cafcp-hydrogen-station-fuel-status)[ RSS](/packages/mechawrench-cafcp-hydrogen-station-fuel-status/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

CAFCP Hydrogen Station Fuel Status
==================================

[](#cafcp-hydrogen-station-fuel-status)

[![cafcp-hydrogen-station-fuel-status Package](https://camo.githubusercontent.com/baa51bede8d09db0c84c69cba7ab5ceccc118514c17741f9806ff91c8e34780a/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f63616663702d687964726f67656e2d73746174696f6e2d6675656c2d7374617475732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6d656368617772656e636825324663616663702d687964726f67656e2d73746174696f6e2d6675656c2d737461747573267061747465726e3d63616765267374796c653d7374796c655f31266465736372697074696f6e3d487964726f67656e2b6675656c2b617661696c6162696c6974792b66726f6d2b4341464350266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667 "cafcp-hydrogen-station-fuel-status Package")](https://camo.githubusercontent.com/baa51bede8d09db0c84c69cba7ab5ceccc118514c17741f9806ff91c8e34780a/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f63616663702d687964726f67656e2d73746174696f6e2d6675656c2d7374617475732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6d656368617772656e636825324663616663702d687964726f67656e2d73746174696f6e2d6675656c2d737461747573267061747465726e3d63616765267374796c653d7374796c655f31266465736372697074696f6e3d487964726f67656e2b6675656c2b617661696c6162696c6974792b66726f6d2b4341464350266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)

[![run-tests](https://github.com/mechawrench/cafcp-hydrogen-station-fuel-status/workflows/run-tests/badge.svg)](https://github.com/mechawrench/cafcp-hydrogen-station-fuel-status/workflows/run-tests/badge.svg)[![Latest Version on Packagist](https://camo.githubusercontent.com/f8714dc0a13ae4503e2d70cf047a135ee90f4e7110d797faa7db7d8a5f6ff4db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d656368617772656e63682f63616663702d687964726f67656e2d73746174696f6e2d6675656c2d7374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mechawrench/cafcp-hydrogen-station-fuel-status)[![Total Downloads](https://camo.githubusercontent.com/793f5c28e0d729a80dbb71c026ae9091413121db066f77fcc31d94b58d8d7b5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d656368617772656e63682f63616663702d687964726f67656e2d73746174696f6e2d6675656c2d7374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mechawrench/cafcp-hydrogen-station-fuel-status)

Retrieves the hydrogen station fuel availability status from CAFCP. Lists both H70 and H35 status and quantity. This package works with Laravel 7.x.

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

[](#installation)

You can install the package via composer:

```
composer require mechawrench/cafcp-hydrogen-station-fuel-status
```

Usage
-----

[](#usage)

```
// All station actions
$stations = CafcpHydrogenStationFuelStatus::getAllStations();

$stations_offline = $stations->where('statusH70', 'offline')->all();

// Single station actions
// Get Station names from https://cafcp.org/stationmap
$station = CafcpHydrogenStationFuelStatus::getStationStatus('Diamond Bar');

$station_name = $station->station;
$statusH70 = $station->statusH70;
$capacity70 = $station->capacity70;
$statusH35 = $station->statusH35;
$capacityH35 = $station->capacityH35;
```

Find all locations directly from CAFCP
--------------------------------------

[](#find-all-locations-directly-from-cafcp)

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Mechawrench](https://github.com/mechawrench)
- [All Contributors](../../contributors)

License
-------

[](#license)

[MIT](https://github.com/mechawrench/cafcp-hydrogen-station-fuel-status/blob/master/LICENSE.md)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2175d ago

Major Versions

v1.0.0 → v2.0.12020-05-27

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

v2.0.1PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/bd1505a6fe2cf7ed63b1ec6b44d2d520bf175abdf2e5332e7371f73f9666316b?d=identicon)[mechawrench](/maintainers/mechawrench)

---

Top Contributors

[![mechawrench](https://avatars.githubusercontent.com/u/7636463?v=4)](https://github.com/mechawrench "mechawrench (59 commits)")

---

Tags

cafcpcomposerfuelhydrogenlaravelstationmechawrenchcafcp-hydrogen-station-fuel-status

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mechawrench-cafcp-hydrogen-station-fuel-status/health.svg)

```
[![Health](https://phpackages.com/badges/mechawrench-cafcp-hydrogen-station-fuel-status/health.svg)](https://phpackages.com/packages/mechawrench-cafcp-hydrogen-station-fuel-status)
```

PHPackages © 2026

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