Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nguyenanhung/template-backend-package
- Owner: nguyenanhung
- License: mit
- Created: 2022-07-01T17:14:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T20:08:14.000Z (4 months ago)
- Last Synced: 2024-10-02T08:24:26.848Z (4 months ago)
- Topics: api, backend, jwt, php, rest, service
- Language: PHP
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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