PHPackages                             kohkimakimoto/laravel-message-binder - 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. [Templating &amp; Views](/categories/templating)
4. /
5. kohkimakimoto/laravel-message-binder

ActiveLibrary[Templating &amp; Views](/categories/templating)

kohkimakimoto/laravel-message-binder
====================================

A little hack for Illuminate View to access flash messages easily.

v0.1.1(11y ago)1371MITPHPPHP &gt;=5.4.0

Since Aug 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/kohkimakimoto/LaravelMessageBinder)[ Packagist](https://packagist.org/packages/kohkimakimoto/laravel-message-binder)[ RSS](/packages/kohkimakimoto-laravel-message-binder/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Laravel Message Binder
======================

[](#laravel-message-binder)

A little hack for Illuminate View to access flash messages easily.

You can use the `withMessages` method like a laravel builtin method `withErrors` in a general purpose.

```
Route::get('register', function()
{
    return View::make('user.register');
});

Route::post('register', function()
{
    $rules = array(...);

    $validator = Validator::make(Input::all(), $rules);

    if ($validator->fails())
    {
        return Redirect::to('register')->withErrors($validator);
    }

    // You can use the `withMessages` method like a laravel builtin method `withErrors` in a general purpose.
    return Redirect::to('register')->withMessages(array('default' => 'Success!');
});
```

After redirection, you may utilize the automatically bound $messages variable in your view:

```

```

see also [laravel docs#validation](http://laravel.com/docs/validation#error-messages-and-views)

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

[](#installation)

Add dependency in `composer.json`

```
"require": {
    "kohkimakimoto/laravel-message-binder": "0.*"
}
```

Run `composer update` command.

```
$ composer update

```

Add `MessageBinderServiceProvider` to providers array in `app/config/app.php`

```
'providers' => array(
    ...
    'Kohkimakimoto\MessageBinder\MessageBinderServiceProvider',
),
```

LICENSE
-------

[](#license)

The MIT License

Author
------

[](#author)

Kohki Makimoto

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Every ~3 days

Total

2

Last Release

4332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/232e612dbf32e70978372a2249e28dd037f75eadafc547913375708571c65f9a?d=identicon)[kohkimakimoto](/maintainers/kohkimakimoto)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kohkimakimoto-laravel-message-binder/health.svg)

```
[![Health](https://phpackages.com/badges/kohkimakimoto-laravel-message-binder/health.svg)](https://phpackages.com/packages/kohkimakimoto-laravel-message-binder)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13046.3M2.1k](/packages/illuminate-view)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5452.7k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

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