PHPackages                             dustycodecorp/laravel-dashboard-tmb-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. dustycodecorp/laravel-dashboard-tmb-tile

ActiveLibrary[Admin Panels](/categories/admin)

dustycodecorp/laravel-dashboard-tmb-tile
========================================

A TMB Bus tile for Spatie's Laravel dashboard

1.0.0(5y ago)241[1 issues](https://github.com/dustycodecorp/laravel-dashboard-tmb-tile/issues)MITPHPPHP ^7.4

Since May 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dustycodecorp/laravel-dashboard-tmb-tile)[ Packagist](https://packagist.org/packages/dustycodecorp/laravel-dashboard-tmb-tile)[ Docs](https://github.com/dustycodecorp/laravel-dashboard-tmb-tile)[ RSS](/packages/dustycodecorp-laravel-dashboard-tmb-tile/feed)WikiDiscussions master Synced 3d ago

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

TMB Bus tile for [Laravel Dashboard](https://docs.spatie.be/laravel-dashboard).
===============================================================================

[](#tmb-bus-tile-for-laravel-dashboard)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e07cf02250337d5d4a35c10252b7b4682fb8ae20cf9057f4eec9762765fc870f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6475737479636f6465636f72702f6c61726176656c2d64617368626f6172642d746d622d74696c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dustycodecorp/laravel-dashboard-tmb-tile)[![GitHub Tests Action Status](https://camo.githubusercontent.com/2d5b181519f8340ed85f431bf4d043f868be4a9366714701812babdbb825107a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6475737479636f6465636f72702f6c61726176656c2d64617368626f6172642d746d622d74696c652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/dustycodecorp/laravel-dashboard-tmb-tile/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/972ac1d96bc1ec44b1f156755a615c1d5fa93b858e5f03662859d0afd4836f58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6475737479636f6465636f72702f6c61726176656c2d64617368626f6172642d746d622d74696c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dustycodecorp/laravel-dashboard-tmb-tile)

This tile can display the bus status for a given bus stop of Barcelona

[![img](docs/tmb-tile.png)](docs/tmb-tile.png)

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

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

[](#installation)

You can install the package via composer:

```
composer require dustycodecorp/laravel-dashboard-tmb-tile
```

Usage
-----

[](#usage)

**NOTE:** In order for this tile to work you will need the `app_id` and `app_key` from the [TMB developer website](https://developer.tmb.cat/) the registration process is free and once you get the credentials you can ask for the information for as much stations as you want!.

In the `dashboard` config file, you must add this configuration in the `tiles` key.

```
// in config/dashboard.php

return [
    // ...
    'tiles' => [
        'tmb' => [
            'app_id' => 'Get this from the TMB developer web stie',
            'app_key' => 'Get this from the TMB developer web site',
            'refresh_interval_in_seconds' => 60,
            'stations' => [
                1103,
                1208
            ]
        ]
    ]
];
```

In app\\Console\\Kernel.php you should schedule the `Dustycode\TmbTile\ListenForTmbUpdatesCommand` to run. You can let in run every minute if you want. You could also run is less frequently if you fast updates on the dashboard aren’t that important for this tile.

```
// in app/console/Kernel.php

protected function schedule(Schedule $schedule)
{
    // ...
    $schedule->command(Dustycode\TmbTile\ListenForTmbUpdatesCommand::class)->everyMinute();
}

```

In your dashboard view you use the `livewire:tmb-tile` component.

```

```

The title attribute is optional

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [All Contributors](../../contributors)
- [TMB API Sevices](https://developer.tmb.cat/)

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

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

Unknown

Total

1

Last Release

2189d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5445566?v=4)[Jesus Ortega](/maintainers/jeop10)[@jeop10](https://github.com/jeop10)

---

Top Contributors

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

---

Tags

laravel-dashboard-tmb-tileTMB tileTMB bus tile

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[fidum/laravel-dashboard-chart-tile

Generic chart tiles for laravel dashboard

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

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)[resma/filament-awin-theme

A modern, responsive, and customizable theme for FilamentPHP, designed to elevate your admin panel with a sleek interface and seamless user experience.

1714.6k](/packages/resma-filament-awin-theme)

PHPackages © 2026

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