Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nguyenanhung/template-backend-package

Structure Repository Template for Backend API Service Package
https://github.com/nguyenanhung/template-backend-package

api backend jwt php rest service

Last synced: 3 months ago
JSON representation

Structure Repository Template for Backend API Service Package

Awesome Lists containing this project

README

        

[![Latest Stable Version](https://img.shields.io/packagist/v/nguyenanhung/template-backend-package.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/template-backend-package)
[![Total Downloads](https://img.shields.io/packagist/dt/nguyenanhung/template-backend-package.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/template-backend-package)
[![Daily Downloads](https://img.shields.io/packagist/dd/nguyenanhung/template-backend-package.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/template-backend-package)
[![Monthly Downloads](https://img.shields.io/packagist/dm/nguyenanhung/template-backend-package.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/template-backend-package)
[![License](https://img.shields.io/packagist/l/nguyenanhung/template-backend-package.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/template-backend-package)
[![PHP Version Require](https://img.shields.io/packagist/dependency-v/nguyenanhung/template-backend-package/php)](https://packagist.org/packages/nguyenanhung/template-backend-package)

# Template start Backend API Package

Template for repository Backend API - Basic, Simple and Lightweight

## 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

```json
{
"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": "[email protected]",
"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 & Support

If any question & request, please contact following information

| Name | Email | Skype | Facebook |
|-------------|----------------------|------------------|---------------|
| Hung Nguyen | [email protected] | nguyenanhung5891 | @nguyenanhung |

From Vietnam with Love <3