Structure Repository Template for Backend API Service Package
MIT License
Template for repository Backend API - Basic, Simple and Lightweight
First, you can Use this template
for new project: Use this template
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": "[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.
If any question & request, please contact following information
Name | Skype | ||
---|---|---|---|
Hung Nguyen | [email protected] | nguyenanhung5891 | @nguyenanhung |
From Vietnam with Love <3