PHPackages                             mrkatz/input - 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. mrkatz/input

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

mrkatz/input
============

html, input generation

0.0.2(6y ago)011MITPHPCI failing

Since Feb 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mrkatz/input)[ Packagist](https://packagist.org/packages/mrkatz/input)[ Docs](https://github.com/mrkatz/input)[ RSS](/packages/mrkatz-input/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

input
=====

[](#input)

[![Latest Version on Packagist](https://camo.githubusercontent.com/72eb38e02039457ca20d9a21825cf788e1b39831373e82c9724dd511e776eec8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d726b61747a2f696e7075742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mrkatz/input)[![Total Downloads](https://camo.githubusercontent.com/bca154e7ed122f4f1b0705d340025482aabf3a2449e46cf9cb06756b4b256aa8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d726b61747a2f696e7075742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mrkatz/input)[![Build Status](https://camo.githubusercontent.com/b32fec4b34d5e48cc24135b2780e52a21c8932737ab562ac888efca5406a505d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d726b61747a2f696e7075742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/mrkatz/input)[![StyleCI](https://camo.githubusercontent.com/7340213b3fbed041b6bef9f46ff93a7b604ec220b317ce461d71f53a7e57a931/68747470733a2f2f7374796c6563692e696f2f7265706f732f3234303636383039352f736869656c64)](https://github.styleci.io/repos/240668095)

A html generator for Inputs. See Below.

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

[](#installation)

Via Composer

```
$ composer require mrkatz/input
```

Usage
-----

[](#usage)

```
{!! input()->text('name','value') !!}
```

```

```

```
{!! input()->text('name','value')->wrap('div','form-group')->label('My Input')->id('idName') !!}
```

```

    My Input

```

```
{!! input()
        ->select('DaysOfWeek',['1' => 'Monday','2' => 'Tuesday', '3' => 'Wednesday'])
        ->label('Choose a Day')
        ->placeholder('Choose A Day')
        ->wrap(null,'form-group','{label}{input}') !!}
```

```

        Choose a Day

            Choose A Day
            Monday
            Tuesday
            Wednesday

```

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Adam Kaczocha](https://github.com/mrkatz)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% 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 ~1 days

Total

2

Last Release

2282d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a3d3c1e3e518d9d21d6cc1bf1bb51e00e176d682cf4ed1c19c362bf6190173c?d=identicon)[mrkatz](/maintainers/mrkatz)

---

Top Contributors

[![mrkatz](https://avatars.githubusercontent.com/u/12110409?v=4)](https://github.com/mrkatz "mrkatz (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelinput

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mrkatz-input/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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