PHPackages                             toetet/fileinput - 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. toetet/fileinput

ActiveLibrary

toetet/fileinput
================

Package for Simple File Input

0.0.1(5y ago)05MITPHP

Since Oct 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Toe-Tet/fileinput)[ Packagist](https://packagist.org/packages/toetet/fileinput)[ RSS](/packages/toetet-fileinput/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

File Input
==========

[](#file-input)

This package is written for simple file input. It allows to store in your local directory or cloudinary platform (online media storage).

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

[](#installation)

```
composer require toetet/fileinput
```

Publish configuration file

```
php artisan vendor:publish --provider="Toetet\FileInput\FileInputServiceProvider"
```

This will add new configuration file.

You can find

- config file at config/fileinput.php

In thease publish files, you are free to change them to anything to better match your application.

Documentation
-------------

[](#documentation)

#### Include File Input Filter Input

[](#include-file-input-filter-input)

In your blade file, you can get File Input filter input easily as below.

```
\Toetet\FileInput\Facades\Nrc::input();
```

#### Get File Input Input Data

[](#get-file-input-input-data)

```
Nrc::data($request);				// 		1/KaMaTa(N)849832

Nrc::stateRegion($request);			//		1

Nrc::citizen($request);				//		N

Nrc::township($request);			//		KaMaTa

Nrc::number($request);				//		849832
```

#### Get State Region, Township, Citizen, Number by File Input String

[](#get-state-region-township-citizen-number-by-file-input-string)

File Input string must be valid format. In the format, "/", "(", ")" characters are essential.

```
$nrc = 	"Kachin/KAMATA(NAING)849832";		//		{state_region}/{township}({citizen}){number}

$nrc = 	"ကချင်ပြည်နယ်/ကမတ(နိုင်)၈၄၉၈၃၂";		//		{state_region}/{township}({citizen}){number}

$nrc = 	"1/KaMaTa(N)849832";			//		{state_region}/{township}({citizen}){number}

Nrc::getStateRegion($nrc);			//		1

Nrc::getCitizen($nrc);				//		N

Nrc::getTownship($nrc);				//		KaMaTa

Nrc::getNumber($nrc);				//		849832
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT](https://choosealicense.com/licenses/mit/) license. You are free to use it in personal and commercial projects.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

2025d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/625f07a7cb06f5327557d989badcb1332d55f8f3f942150d3a6efc5b4fb4d02d?d=identicon)[Toe-Tet](/maintainers/Toe-Tet)

---

Top Contributors

[![Toe-Tet](https://avatars.githubusercontent.com/u/28482781?v=4)](https://github.com/Toe-Tet "Toe-Tet (27 commits)")

### Embed Badge

![Health badge](/badges/toetet-fileinput/health.svg)

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

PHPackages © 2026

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