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. [Utility &amp; Helpers](/categories/utility)
4. /
5. friendsofwebso/input

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

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 yesterday

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 26% 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

780d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57938377?v=4)[Kỹ thuật WEBSO](/maintainers/kythuatwebso)[@kythuatwebso](https://github.com/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)
```

###  Alternatives

[zhuzhichao/ip-location-zh

get the ip's location info with Chinese

632217.2k15](/packages/zhuzhichao-ip-location-zh)[spatie/array-functions

Some handy array helpers

24866.2k2](/packages/spatie-array-functions)

PHPackages © 2026

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