Download the PHP package fjarfs/src-service without Composer
On this page you can find all versions of the php package fjarfs/src-service. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fjarfs/src-service
More information about fjarfs/src-service
Files in fjarfs/src-service
Download fjarfs/src-service
More information about fjarfs/src-service
Files in fjarfs/src-service
Vendor fjarfs
Package src-service
Short Description Core HTTP request for SRC environment
License MIT
Package src-service
Short Description Core HTTP request for SRC environment
License MIT
Please rate this library. Is it a good library?
Informations about the package src-service
SRC Service
SRC Service merupakan package yang digunakan oleh aplikasi SRC untuk request HTTP antar service dengan fitur authentication dan security access
Versi yang Didukung
Version | Laravel Version |
---|---|
< 0.1.8 | <=5.6 |
> 0.1.9 | >=5.7 |
Cara Install
-
composer require fjarfs/src-service
Laravel
- Otomatis terdaftar oleh
Laravel Package Discovery
Lumen
- Daftarkan service provider di
bootstrap/app.php
- Otomatis terdaftar oleh
Setting Konfigurasi
-
Buat file
config/srcservice.php
- Daftarkan file konfigurasi
Laravel
- Otomatis terdaftar
Lumen
- Daftarkan file konfigurasi di
app/bootstrap.php
- Otomatis terdaftar
Setting Middleware
-
Pastikan setiap request antar service menggunakan middleware
service
Laravel
- Daftarkan middleware service di
app/Http/Kernel.php
Lumen
- Daftarkan middleware service di
app/bootstrap.php
- Daftarkan middleware service di
- Contoh penggunaan middleware pada file
controller
Setting Service
- Buat folder pada path
app/Libraries/Services
-
Buat file
UserService.php
-
Buat file
AuthService.php
- Tambahkan
SERVICE_USER_URI
pada .env, dan atur URI dari masing-masing service
Cara Penggunaan
- Cara request ke service user /
UserService
All versions of src-service with dependencies
PHP Build Version
Package Version
Requires
php Version
^7|^8
The package fjarfs/src-service contains the following files
Loading the files please wait ....