PHPackages                             lexiandev/laravel-motd - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lexiandev/laravel-motd

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

lexiandev/laravel-motd
======================

Display MOTD messages to your users.

1.0.1(2y ago)08[1 PRs](https://github.com/LexianDEV/laravel-motd/pulls)MITPHPPHP ^8.1

Since Mar 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/LexianDEV/laravel-motd)[ Packagist](https://packagist.org/packages/lexiandev/laravel-motd)[ Docs](https://github.com/lexiandev/laravel-motd)[ GitHub Sponsors](https://github.com/lexiandev)[ RSS](/packages/lexiandev-laravel-motd/feed)WikiDiscussions main Synced today

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

Display MOTD messages to your users.
====================================

[](#display-motd-messages-to-your-users)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0539df2ed864a31e8fa4d023928850cfad8fdc5c9fc17d1824287fa2e8c6bd65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c657869616e6465762f6c61726176656c2d6d6f74642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lexiandev/laravel-motd)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bbe3e8db012a68d36ae275da8aef7229f30f3fe1e84092c1d1686283817b1030/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c657869616e6465762f6c61726176656c2d6d6f74642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/lexiandev/laravel-motd/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/acb0557c1a7fa69ed38afc7413d02fe0bf4ece62e118a0e37cef9be780ddec59/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c657869616e6465762f6c61726176656c2d6d6f74642f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/lexiandev/laravel-motd/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e6467d5bf3411fa2e739f0354964e77e56a3834a671aff3db316231786defed3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c657869616e6465762f6c61726176656c2d6d6f74642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lexiandev/laravel-motd)

This is a simple package to display MOTD messages to your users, it can be used to display updates, maintenance messages, or any other message you want to display to your users.

When using the package, simply call the `get` method on the motd model and it'll return the **newest** message that is not expired.

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

[](#installation)

You can install the package via composer:

```
composer require lexiandev/laravel-motd
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="motd-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="motd-config"
```

This is the contents of the published config file:

```
return [
    /**
     * The default text that will be displayed if no MOTD is set.
     * Default: Null; no message will be returned.
     */
    'default_message' => null,
];
```

Usage
-----

[](#usage)

```
$motd = new Motd();
return $motd->get();
```

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 Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Lexian-droid](https://github.com/lexiandev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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 ~4 days

Total

2

Last Release

840d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/115455292?v=4)[LexianDEV](/maintainers/Lexiandev)[@LexianDEV](https://github.com/LexianDEV)

---

Top Contributors

[![Lexian-droid](https://avatars.githubusercontent.com/u/83799577?v=4)](https://github.com/Lexian-droid "Lexian-droid (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravellexiandevlaravel-motd

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/lexiandev-laravel-motd/health.svg)

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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