SATUSEHAT Integration Library Laravel Example Project
See SATUSEHAT Integration Library for more detailed feature or direct installation
Feature Demonstration - FHIR Controller
How to use
Option 1 : Use the library
- Install the library by running
composer require ivanwilliammd/satusehat-integration
- Setup your .env based on .env.example template
- See SATUSEHAT Integration Library for more detailed feature or direct installation
Option 2 : Use this project as-is (for KYC feature only)
Installation steps (optional for new project)
- Clone this repository
git clone
- Install dependencies by running
composer install
- Create composer autoload by running
composer dumpauto
- Setup your .env based on .env.example template
- If setting up sqlite, create database.sqlite at database folder
- If setting up mysql, create database and setup .env based on your database configuration
- If setting up postgres, create database and setup .env based on your database configuration
- Don't forget to setup your SATUSEHAT environment variable configuration at .env
- Run migration
php artisan migrate:fresh --seed
- Run the project
php artisan serve
- Access the main URL and kogin with first main user :
Email : [email protected]
Password : satueshatindonesia
- Change the email and password of main master user from menu
Ubah Kata Sandi
Get the most updated code and library
- Pull the latest change
git pull
- Update the library
composer update
KYC Feature (SATUSEHAT Production Only)
- Ensure that you have set your
SATUSEHAT_ENV at .env file with PROD
- Add new user from menu
Daftar Pengguna and create new user using valid NIK and Nama to be recorded as verificator SATUSEHAT Platform
- Login with the user you create, and you could access the KYC menu right now
Tips for setting up in local (Windows)
- Ensure your
php.ini already enabled php_openssl extension
- Ensure you already have your
OPENSSL_CONF pointing to openssl.cnf
- XAMPP openssl.cnf path
{XAMPP_INSTALLATION_DIRECTORY}phpextrassslopenssl.cnf