jawaraegov / laravel-api-managers
Api Manager untuk aplikasi Bantenprov
dev-master
2019-07-18 18:22 UTC
Requires
- php: ~5.6|~7.0
- guzzlehttp/guzzle: ^6.3
- illuminate/support: ~5.1
- jawaraegov/workflows: dev-master
- that0n3guy/transliteration: 2.0.x
This package is auto-updated.
Last update: 2025-03-19 06:39:56 UTC
README
Documents
Ini adalah package yang di gunakan untuk laravel api manager pemprov banten, dan package ini masih versi beta, found some bugs, create a patch or pull request. update pull
Note:
- Package ini masih dalam tahap pengembangan.
- package ini di gunakan untuk mengelola API KEY Provinsi Banten.
- Package ini untuk laravel 5.4 keatas.
- Install Package Wokrflow managment sebelum menginstall package ini.
Workflow
API Key Management ini dilengkapi dengan workflow management yang digunakan untuk melakukan proses permintaan sampai persetujuan API Key. See Wokrflow managment
Workflow State
- Propose
- Request
- Approved
- Rejected
- Needs completed document
- Document submitted
Workflow Trasition
- Propose to Propose
- Propose to Request
- Request to Approved
- Request to Rejected
- Approved to Rejected
- Rejected to Approved
- Request to Needs completed document
- Needs completed document to Document submitted
- Document submitted to Approved
- Document submitted to Rejected
Install package
$ composer require jawaraegov/laravel-api-managers:dev-master
edit file config/app.php
tambahan class ini pada file config/app.php
Jawaraegov\LaravelApiManagers\LaravelApiManagersServiceProvider::class,
running script vendor:publish
running vendor publish
php artisan vendor:publish
hasilnya
Copied Directory [/vendor/Jawaraegov/laravel-api-managers/src/config] To [/config] Copied Directory [/vendor/Jawaraegov/laravel-api-managers/src/views] To [/resources/views/api_manager] Copied Directory [/vendor/Jawaraegov/laravel-api-managers/src/controller] To [/app/Http/Controllers] Copied Directory [/vendor/Jawaraegov/laravel-api-managers/src/models] To [/app] Copied Directory [/vendor/Jawaraegov/laravel-api-managers/src/migrations] To [/database/migrations] Copied Directory [/vendor/laravel/framework/src/Illuminate/Mail/resources/views] To [/resources/views/vendor/mail] Publishing complete.
tambahkan route
running script
php artisan laravel-api-managers:add-route
hasilnya akan menambahkan route resource di routes/web.php
Route::resource('api-manager', 'ApiManagerController');
Migrasi database
running script
php artisan migrate
Running Modul
browse dari browser anda
http://your_domain.dev/api-manager
Running Modul
tambahkan pada .env anda parameter berikut
URL_APIMANAGER=api.bantenprov.go.id
untuk production site