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

ActiveLibrary

friendsofwebso/input
====================

kythuatwebso

v1.4.1(2y ago)07MITPHP

Since Sep 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kythuatwebso/input)[ Packagist](https://packagist.org/packages/friendsofwebso/input)[ RSS](/packages/friendsofwebso-input/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (7)Used By (0)

input
=====

[](#input)

Input Template

### Install

[](#install)

```
composer require friendsofwebso/input

```

### Method

[](#method)

Tên input

```
->name(string $name)

```

Label &amp; input 2 hàng

```
->horizontal(boolean $horizontal)

```

Alias -&gt;title()

```
->label(string $label)

```

Tiêu đề input

```
->title(string $title)

```

Mô tả cho input

```
->help(string $help)

```

Kích thước input (sm, md, lg)

```
->size(string $size)

```

Prefix input

```
->prepend(string $prepend)

```

Kiểu input (text, file, email, tel, ...)

```
->type(string $type)

```

class input

```
->class(string $class)

```

Placeholder input

```
->placeholder(string $placeholder)

```

Bắt buộc nhập

```
->required(boolean $required)

```

Giá trị của input

```
->value(mixed $value)

```

Suffix của input

```
->append(string $append)

```

Thêm icon cho input

```
->icon(string $iconClass)

```

Kiểu file đc phép chọn (chỉ áp dụng cho kiểu file)

```
->accept(string $fileType)

```

Set Class cho div row

```
->gutters(string $class)

```

hoặc

```
->rowClass(string $class)

```

Set data-\*

```
->dataAttr(string $key, mixed $value)

```

Set Attribute

```
->setAttr(string $key, mixed $value)

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Recently: every ~151 days

Total

6

Last Release

734d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/531b04c1a8720b0235c680790acbe7ce06a31ea5b7c53018aa79f2bf1c0fef16?d=identicon)[kythuatwebso](/maintainers/kythuatwebso)

---

Top Contributors

[![kythuatwebso](https://avatars.githubusercontent.com/u/57938377?v=4)](https://github.com/kythuatwebso "kythuatwebso (18 commits)")

### Embed Badge

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

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

PHPackages © 2026

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