nguyenanhung / template-backend-package
Structure Repository Template for Backend API Service Package
v1.0.6
2024-09-21 20:07 UTC
Requires
- php: ^5.6 || ^7.0 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- lcobucci/jwt: ^4.1 || ^4.0 || ^3.4.6
- nguyenanhung/framework: ^1.0
Requires (Dev)
- nguyenanhung/mailer-sdk: ^3.0
- nguyenanhung/upload: ^2.0
- tramtro/make-some-noise: ^1.0
README
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
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 & Support
If any question & request, please contact following information
From Vietnam with Love <3