PHPackages                             spatie/laravel-dashboard-coffee-tile - 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. [Admin Panels](/categories/admin)
4. /
5. spatie/laravel-dashboard-coffee-tile

ActiveLibrary[Admin Panels](/categories/admin)

spatie/laravel-dashboard-coffee-tile
====================================

Coffee statistics for the Spatie office

3.0.0(2y ago)4324↓50%MITPHPPHP ^8.1CI failing

Since Nov 4Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/spatie/laravel-dashboard-coffee-tile)[ Packagist](https://packagist.org/packages/spatie/laravel-dashboard-coffee-tile)[ Docs](https://github.com/spatie/laravel-dashboard-coffee-tile)[ RSS](/packages/spatie-laravel-dashboard-coffee-tile/feed)WikiDiscussions main Synced 1mo ago

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

Coffee brewing statistics for the Spatie office
===============================================

[](#coffee-brewing-statistics-for-the-spatie-office)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d2a9b71dc43518e20ef1690f73470b184b3359e1b5474bf08cbef8cc82b49e9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6c61726176656c2d64617368626f6172642d636f666665652d74696c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-dashboard-coffee-tile)[![Total Downloads](https://camo.githubusercontent.com/5a49d721850d3fae7ddb051f7d57ef6100a2d9cd3f69a36da4665047a7f57f4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6c61726176656c2d64617368626f6172642d636f666665652d74696c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-dashboard-coffee-tile)

Over at Spatie we drink a lot of coffee. How much coffee? We had no idea until we created this dashboard tile.

Using a separate Raspberry Pi running [this Python script](https://github.com/spatie/dashboard-coffee-listener/) we can listen to the sounds our office coffee machine makes and update the dashboard tile with the latest statistics.

This tile can be used on [the Laravel Dashboard](https://docs.spatie.be/laravel-dashboard).

[![image](https://user-images.githubusercontent.com/6287961/140376262-2c257983-d38a-4fc0-ac61-518643111d77.png)](https://user-images.githubusercontent.com/6287961/140376262-2c257983-d38a-4fc0-ac61-518643111d77.png)

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/f9d06618cad55aa41c7714b8c433f0c25cfb40de85ec9fe402fbb85a79423f45/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d64617368626f6172642d736b656c65746f6e2d74696c652e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-dashboard-skeleton-tile)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation and usage
----------------------

[](#installation-and-usage)

You can install the package via composer:

```
composer require spatie/laravel-dashboard-coffee-tile
```

You will also need to publish and run the migrations:

```
php artisan vendor:publish --provider="Spatie\CoffeeTile\CoffeeTileServiceProvider" --tag="coffee-tile-migrations"
php artisan migrate
```

In your dashboard view you can add the `livewire:coffee-tile` component. The `total-offset` will offset the total amount of brewed coffees and is optional.

```

```

Finally, coffees are counted by POST requests to the included `CoffeeController`. Add the following route to your `routes/api.php` file. Endpoint authentication is up to you. Make sure to add a `auth` middleware to this route if you feel it's necessary.

```
Route::post('/coffee', \Spatie\CoffeeTile\Http\CoffeeController::class);
```

Additionally, you'll need something to hook up your coffee machine to this coffee endpoint. Your machine might have a very cool web UI that can send a webhook to the dashboard or you might need to get creative with an Arduino or Raspberry Pi.

Our set-up uses a Raspberry Pi to listen to the coffee machine noises to determine when a cup is brewing. This is a separate project that can be found [here](https://github.com/spatie/dashboard-coffee-listener).

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Alex Vanderbist](https://github.com/AlexVanderbist)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance43

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~349 days

Total

3

Last Release

953d ago

Major Versions

1.0.1 → 3.0.02023-10-03

PHP version history (2 changes)1.0.0PHP ^8.0|^7.4

3.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7535935?v=4)[Spatie](/maintainers/spatie)[@spatie](https://github.com/spatie)

---

Top Contributors

[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (21 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (4 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (2 commits)")

---

Tags

coffeedashboardlaravelphptilespatielaravel-dashboard-coffee-tile

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/spatie-laravel-dashboard-coffee-tile/health.svg)

```
[![Health](https://phpackages.com/badges/spatie-laravel-dashboard-coffee-tile/health.svg)](https://phpackages.com/packages/spatie-laravel-dashboard-coffee-tile)
```

###  Alternatives

[fidum/laravel-dashboard-chart-tile

Generic chart tiles for laravel dashboard

16234.7k1](/packages/fidum-laravel-dashboard-chart-tile)[a909m/filament-statefusion

Filament StateFusion is a powerful FilamentPHP plugin that seamlessly integrates Spatie Laravel Model States into the Filament admin panel. This package provides an intuitive way to manage model states, transitions, and filtering within Filament, enhancing the user experience and developer productivity.

3010.8k1](/packages/a909m-filament-statefusion)[spatie/laravel-dashboard-time-weather-tile

A tile for Laravel Dashboard that displays the time and the weather

1112.1k1](/packages/spatie-laravel-dashboard-time-weather-tile)

PHPackages © 2026

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