PHPackages                             nguyenanhung/template-backend-package - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nguyenanhung/template-backend-package

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

nguyenanhung/template-backend-package
=====================================

Structure Repository Template for Backend API Service Package

v1.0.6(1y ago)241MITPHPPHP ^5.6 || ^7.0 || ^8.0

Since Jul 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nguyenanhung/template-backend-package)[ Packagist](https://packagist.org/packages/nguyenanhung/template-backend-package)[ Docs](https://github.com/nguyenanhung/template-backend-package)[ RSS](/packages/nguyenanhung-template-backend-package/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/91e5882dd4c4387c703e794d85219800a349454c14bcee5c6a71df122c49ad44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e677579656e616e68756e672f74656d706c6174652d6261636b656e642d7061636b6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-backend-package)[![Total Downloads](https://camo.githubusercontent.com/fdd3bfc9aa63f1ab4646aedf5bf2466b9a87f5a06c2d80c411ae0edef0dd1040/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e677579656e616e68756e672f74656d706c6174652d6261636b656e642d7061636b6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-backend-package)[![Daily Downloads](https://camo.githubusercontent.com/e1eb3625928404af405a1c3fdd11ad0b315e2c5b0dbf47c180c03251000e8bd4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f6e677579656e616e68756e672f74656d706c6174652d6261636b656e642d7061636b6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-backend-package)[![Monthly Downloads](https://camo.githubusercontent.com/14d85ce97cf928f12d800a8252aef7e55c9038e48dfbd9161a941e1b68f5f4dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e677579656e616e68756e672f74656d706c6174652d6261636b656e642d7061636b6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-backend-package)[![License](https://camo.githubusercontent.com/d6dcd233ccad8693dbf22113e1d86038630619187eeef41c9ee2c68ebffab95b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e677579656e616e68756e672f74656d706c6174652d6261636b656e642d7061636b6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/template-backend-package)[![PHP Version Require](https://camo.githubusercontent.com/d1dfa398ccfc1288bdaf866d765ddd58a3aa9def6aeb1a5fff5d8ca01b7d3f01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6e677579656e616e68756e672f74656d706c6174652d6261636b656e642d7061636b6167652f706870)](https://packagist.org/packages/nguyenanhung/template-backend-package)

Template start Backend API Package
==================================

[](#template-start-backend-api-package)

Template for repository Backend API - 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-backend-package/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-backend-package",
    "description": "Structure Repository Template for Backend API Service Package",
    "keywords": [
        "backend",
        "helper",
        "library",
        "php"
    ],
    "homepage": "https://github.com/nguyenanhung/template-backend-package",
    "license": "MIT",
    "minimum-stability": "stable",
    "authors": [
        {
            "name": "Nguyen An Hung",
            "email": "dev@nguyenanhung.com",
            "homepage": "https://nguyenanhung.com",
            "role": "Developer"
        }
    ],
    "require": {
        "php": "^5.6 || ^7.0 || ^8.0",
        "ext-curl": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "nguyenanhung/framework": "^1.0",
        "lcobucci/jwt": "^4.1 || ^4.0 || ^3.4.6"
    },
    "require-dev": {
        "nguyenanhung/seo": "^3.0 || ^2.0",
        "nguyenanhung/image": "^3.0 || ^2.0",
        "nguyenanhung/upload": "^2.0",
        "nguyenanhung/mailer-sdk": "^3.0",
        "tramtro/make-some-noise": "^1.0"
    },
    "autoload": {
        "psr-4": {
            "nguyenanhung\\Backend\\Your_Project\\": "src/"
        },
        "files": [
            "helpers/helpers.php"
        ]
    }
}
```

Replace name space `REPLACE_FOR_YOUR` to Project Backend space, example: `Google`. After change namespace, project namespace same `"nguyenanhung\\Backend\\Google\\": "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

30

—

LowBetter than 62% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~135 days

Recently: every ~202 days

Total

7

Last Release

649d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.1.3

v1.0.5PHP ^5.6 || ^7.0 || ^8.0

### 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 (12 commits)")[![nguyenanhung](https://avatars.githubusercontent.com/u/9348255?v=4)](https://github.com/nguyenanhung "nguyenanhung (1 commits)")

---

Tags

apibackendjwtphprestservicephphelperlibrarybackend

### Embed Badge

![Health badge](/badges/nguyenanhung-template-backend-package/health.svg)

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

###  Alternatives

[litesaml/lightsaml

SAML 2.0 PHP library

1076.3M22](/packages/litesaml-lightsaml)[maicol07/flarum-ext-sso

SSO for Flarum

468.7k](/packages/maicol07-flarum-ext-sso)

PHPackages © 2026

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