PHPackages                             nguyenanhung/template-php-lib - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nguyenanhung/template-php-lib

ActiveLibrary[Templating &amp; Views](/categories/templating)

nguyenanhung/template-php-lib
=============================

Template for repository helper, library - Basic, Simple and Lightweight

v1.0.4(1y ago)22MITPHPPHP &gt;=5.6

Since Sep 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nguyenanhung/template-php-lib)[ Packagist](https://packagist.org/packages/nguyenanhung/template-php-lib)[ Docs](https://github.com/nguyenanhung/template-php-lib)[ RSS](/packages/nguyenanhung-template-php-lib/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/dc72d979a41328e68a8165bbfa3bd587bcb695a4505b4cab75191d8b92acd485/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e677579656e616e68756e672f74656d706c6174652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-php-lib)[![Total Downloads](https://camo.githubusercontent.com/bb2aecebb01e5a648dd478d72a6d71204ede7e4af4c953b2926e6f51d5593c0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e677579656e616e68756e672f74656d706c6174652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-php-lib)[![Daily Downloads](https://camo.githubusercontent.com/da6b1301ca1b8dac5f55910e1baeef0b2f58d8e5af387ff4356928379300d4d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f6e677579656e616e68756e672f74656d706c6174652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-php-lib)[![Monthly Downloads](https://camo.githubusercontent.com/eb196e250777f8fb3dc75ab1a7513dc3181e890cce449232e2662f59615bc499/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e677579656e616e68756e672f74656d706c6174652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-php-lib)[![License](https://camo.githubusercontent.com/101a67add187deed8daec84cb18ce5148755cadba33bda05c007499911682175/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e677579656e616e68756e672f74656d706c6174652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-php-lib)[![PHP Version Require](https://camo.githubusercontent.com/51e33a5a1125ed8c83f28fea28973d1d907d0bd1146675f37bd4e227b358371c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6e677579656e616e68756e672f74656d706c6174652d7068702d6c69622f706870)](https://packagist.org/packages/nguyenanhung/template-php-lib)

Template start helper, library
==============================

[](#template-start-helper-library)

Template for repository helper, library - Basic, Simple and Lightweight

Use this Template
-----------------

[](#use-this-template)

First, you can `Use this template` for new project: [Use this template](https://github.com/nguyenanhung/template-php-lib/generate)

Second, clone your project to your to path in your machine

Finally, your edit file `composer.json` in root folder of project

```
{
    "type": "library",
    "name": "nguyenanhung/template-php-lib",
    "description": "Template for repository helper, library - Basic, Simple and Lightweight",
    "keywords": [
        "template",
        "helper",
        "library",
        "php"
    ],
    "homepage": "https://github.com/nguyenanhung/template-php-lib",
    "license": "MIT",
    "minimum-stability": "stable",
    "authors": [
        {
            "name": "Nguyen An Hung",
            "email": "dev@nguyenanhung.com",
            "homepage": "https://nguyenanhung.com",
            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=5.6"
    },
    "autoload": {
        "psr-4": {
            "nguyenanhung\\Libraries\\REPLACE_FOR_YOUR\\": "src/"
        },
        "files": [
            "helpers/helpers.php"
        ]
    }
}
```

Replace name space `REPLACE_FOR_YOUR` to Library space, example: `JSON`. After change namespace, project namespace same `"nguyenanhung\\Libraries\\JSON\\": "src/"`

Finished, your can writing new awesome helper and library now time.

Contact &amp; Support
---------------------

[](#contact--support)

If any question &amp; request, please contact following information

NameEmailSkypeFacebookHung Nguyennguyenanhung5891@nguyenanhungFrom Vietnam with Love &lt;3

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~274 days

Total

5

Last Release

595d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3694ef9f3367ff9f6bcd668ca1d6726e3c55e6fd379cba9c2d4ab6a24595fbd8?d=identicon)[7135k13m](/maintainers/7135k13m)

---

Top Contributors

[![hungnguyenhp](https://avatars.githubusercontent.com/u/6778496?v=4)](https://github.com/hungnguyenhp "hungnguyenhp (9 commits)")[![nguyenanhung](https://avatars.githubusercontent.com/u/9348255?v=4)](https://github.com/nguyenanhung "nguyenanhung (1 commits)")

---

Tags

phphelperlibrarytemplate

### Embed Badge

![Health badge](/badges/nguyenanhung-template-php-lib/health.svg)

```
[![Health](https://phpackages.com/badges/nguyenanhung-template-php-lib/health.svg)](https://phpackages.com/packages/nguyenanhung-template-php-lib)
```

PHPackages © 2026

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