PHPackages                             sukohi/postern - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. sukohi/postern

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

sukohi/postern
==============

PHP class that mainly developed for Laravel to sign in to user page easily in development environment.

2.0.5(8y ago)075MITPHP

Since Mar 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/Postern)[ Packagist](https://packagist.org/packages/sukohi/postern)[ RSS](/packages/sukohi-postern/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (10)Used By (0)

Postern
=======

[](#postern)

PHP class that mainly developed for Laravel to sign in to user page easily in development environment.
(This is for Laravel 5+. [For Laravel 4.2](https://github.com/SUKOHI/Postern/tree/1.0))

Installation
============

[](#installation)

Execute composer command.

```
composer require sukohi/postern:2.*

```

If your Laravel's version is 5.5+, the installation is done!

Register the service provider in app.php

```
'providers' => [
    ...Others...,
    Sukohi\Postern\PosternServiceProvider::class,
]

```

Also alias

```
'aliases' => [
    ...Others...,
    'Postern'   => Sukohi\Postern\Facades\Postern::class
]

```

Usage
=====

[](#usage)

**Minimal Way (in View)**

```

{!! \Postern::form('form_name')
        ->credentials('Link Text', ['input_email_name' => 'admin@example.com', 'input_password_name' => 'admin'])
        ->render()
!!}

```

**Other Way (in View)**

```
{!! \Postern::form('form_name')
        ->credentials('Admin Login', ['email' => 'admin@example.com', 'password' => 'admin'])
        ->credentials('User Login', ['email' => 'user@example.com', 'password' => 'user'])
        ->localOnly($boolean = true)    // optional
        ->render()
!!}

```

- You can repeatedly use credentials().
- If you'd like to use this package in production environment, set localOnly(false).

License
=======

[](#license)

This package is licensed under the MIT License.

Copyright 2015 Sukohi Kuhoh

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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

Recently: every ~241 days

Total

9

Last Release

3006d ago

Major Versions

1.0.0 → 2.0.02015-03-10

1.0.x-dev → 2.0.32017-05-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/2980d59b309d45df3f2e6e51b1d336614da063240b8f76f873f287cd745ec5db?d=identicon)[Sukohi](/maintainers/Sukohi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sukohi-postern/health.svg)

```
[![Health](https://phpackages.com/badges/sukohi-postern/health.svg)](https://phpackages.com/packages/sukohi-postern)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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