PHPackages                             towerhouse/healthmeasures-laravel - 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. towerhouse/healthmeasures-laravel

ActiveProvider

towerhouse/healthmeasures-laravel
=================================

This library works as a laravel or lumen interface for the package towerhouse/healthmeasures.

1.0.4(9y ago)14MITPHP

Since Feb 5Pushed 9y ago3 watchersCompare

[ Source](https://github.com/towerhouse/Healthmeasures-Laravel)[ Packagist](https://packagist.org/packages/towerhouse/healthmeasures-laravel)[ RSS](/packages/towerhouse-healthmeasures-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Health Measures Laravel Provider
================================

[](#health-measures-laravel-provider)

[![towerhousestudio](https://camo.githubusercontent.com/c115f3bbcd32c456631f33be88654c4b8ad7b0b51683cb18d663bd25e2a8c9f4/687474703a2f2f746f776572686f75736573747564696f2e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031362f30342f6e7565766f2d6c6f676f2d746f776572686f757365322d31732d333030783239362e706e67)](http://towerhousestudio.com)

- This is a laravel/lumen provider for the library
- The provider is on HealthmeasuresServiceProvider.php
- It provides a healthmeasures-routes.php with the format of a REST/API
- You can consult what each function does on HealthmeasuresController.php
- Responses are formatted following the standard from

### Tech

[](#tech)

Health Measures only uses one library to work properly:

- \[towerhouse/healthmeasures\] &gt;= 1.3.\*

### Installation

[](#installation)

- composer require towerhouse/healthmeasures-laravel
- Laravel: on the file config/app.php include
- Lumen: on the file bootstrap/app.php include

```
$app->register(Healthmeasures\Laravel\HealthmeasuresServiceProvider::class);
```

- The library generates pictures, create a folder healthmeasures under the public folder with write permissions, currently you're responsible for cleaning the folder. There isn´t other storage to use by the moment.

### Example of use

[](#example-of-use)

Call a url as declared on healthmeasures-routes.php for instance, if (your vhost is called mbhealth-api.local) and it will render all the measures from the database

### Tests

[](#tests)

There are unit tests for each action except for the upload files actions. I have not found a way to do them yet.

### ToDos

[](#todos)

Limit with query parameters the number of results (pagination)

### Html report generation

[](#html-report-generation)

- Laravel: php artisan vendor:publish
- Lumen or Laravel: create the folder resources/views/healthmeasures/ and copy by hand report.blade.php inside there. Then you are free to modify the view.

### Lumen provider

[](#lumen-provider)

During the implementation of this package I found some difficulties that I documented here:

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Total

4

Last Release

3377d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelhealthdatalumen

### Embed Badge

![Health badge](/badges/towerhouse-healthmeasures-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/towerhouse-healthmeasures-laravel/health.svg)](https://phpackages.com/packages/towerhouse-healthmeasures-laravel)
```

###  Alternatives

[shiftonelabs/laravel-cascade-deletes

Adds application level cascading deletes to Eloquent Models.

163632.1k2](/packages/shiftonelabs-laravel-cascade-deletes)[palanik/lumen-cors

Cross-origin resource sharing (CORS) middleware for Lumen micro-framework.

101237.4k](/packages/palanik-lumen-cors)[matthewbdaly/laravel-sms

A Laravel and Lumen integration for matthewbdaly/sms-client to enable sending SMS messages

3529.8k](/packages/matthewbdaly-laravel-sms)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)

PHPackages © 2026

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