{"id":20062904,"url":"https://github.com/ivanwilliammd/satusehat-laravel-example","last_synced_at":"2026-03-16T17:31:18.965Z","repository":{"id":195341048,"uuid":"692730733","full_name":"ivanwilliammd/satusehat-laravel-example","owner":"ivanwilliammd","description":"Example of SatusehatIntegration Laravel FHIR Library to Connect with SATUSEHAT","archived":false,"fork":false,"pushed_at":"2024-03-26T18:47:16.000Z","size":3921,"stargazers_count":28,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T17:32:08.712Z","etag":null,"topics":["composer","laravel10","php81","satusehat","satusehat-integration","satusehat-kyc"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivanwilliammd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-17T12:12:33.000Z","updated_at":"2025-04-23T12:31:25.000Z","dependencies_parsed_at":"2023-10-11T05:25:05.092Z","dependency_job_id":"17e5328d-c007-42e2-85f0-fef0079dbab6","html_url":"https://github.com/ivanwilliammd/satusehat-laravel-example","commit_stats":null,"previous_names":["ivanwilliammd/satusehat-fhir-library","ivanwilliammd/satusehat-laravel-example"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ivanwilliammd/satusehat-laravel-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanwilliammd%2Fsatusehat-laravel-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanwilliammd%2Fsatusehat-laravel-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanwilliammd%2Fsatusehat-laravel-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanwilliammd%2Fsatusehat-laravel-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanwilliammd","download_url":"https://codeload.github.com/ivanwilliammd/satusehat-laravel-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanwilliammd%2Fsatusehat-laravel-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266462997,"owners_count":23932887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","laravel10","php81","satusehat","satusehat-integration","satusehat-kyc"],"created_at":"2024-11-13T13:39:26.858Z","updated_at":"2026-03-16T17:31:18.917Z","avatar_url":"https://github.com/ivanwilliammd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SATUSEHAT Integration Library Laravel Example Project\nSee [SATUSEHAT Integration Library](https://github.com/ivanwilliammd/satusehat-integration/wiki#getting-started) for more detailed feature or direct installation\n\n## Feature Demonstration - [FHIR Controller](app/Http/Controllers/FhirController.php)\n- [x] OAuth2 (POST)\n- [x] KYC SATUSEHAT Platform\n- [x] Using Encounter FHIR Classes\n- [x] Using Condition FHIR Classes\n\n## How to use\n\n## Option 1 : Use the library\n1. Install the library by running ```composer require ivanwilliammd/satusehat-integration```\n2. Setup your .env based on .env.example template\n3. See [SATUSEHAT Integration Library](https://github.com/ivanwilliammd/satusehat-integration/wiki#getting-started) for more detailed feature or direct installation\n\n## Option 2 : Use this project as-is (for KYC feature only)\n\n### Installation steps (optional for new project)\n1. Clone this repository ```git clone```\n2. Install dependencies by running ```composer install```\n3. Create composer autoload by running ```composer dumpauto```\n4. Setup your .env based on .env.example template \u003cbr\u003e\n- If setting up **sqlite**, create database.sqlite at database folder\n- If setting up **mysql**, create database and setup .env based on your database configuration\n- If setting up **postgres**, create database and setup .env based on your database configuration\n- Don't forget to setup your SATUSEHAT environment variable configuration at .env\n5. Run migration ```php artisan migrate:fresh --seed```\n6. Run the project ```php artisan serve```\n7. Access the main URL and kogin with first main  user : \u003cbr\u003e\n```\nEmail : admin@satusehatlaravel.com\t\nPassword : satueshatindonesia\n```\n8. Change the email and password of main master user from menu ```Ubah Kata Sandi```\n\n### Get the most updated code and library\n1. Pull the latest change ```git pull```\n2. Update the library ```composer update```\n\n### KYC Feature (SATUSEHAT Production Only)\n1. Ensure that you have set your ```SATUSEHAT_ENV``` at .env file with ```PROD```\n2. Add new user from menu ```Daftar Pengguna``` and create new user using valid ```NIK``` and ```Nama``` to be recorded as verificator SATUSEHAT Platform\n3. Login with the user you create, and you could access the KYC menu right now\n\n\n### Tips for setting up in local (Windows)\n1. Ensure your ```php.ini``` already enabled ```php_openssl``` extension\n2. Ensure you already have your ```OPENSSL_CONF``` pointing to ```openssl.cnf``` \n3. XAMPP openssl.cnf path ```{XAMPP_INSTALLATION_DIRECTORY}\\php\\extras\\ssl\\openssl.cnf```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanwilliammd%2Fsatusehat-laravel-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanwilliammd%2Fsatusehat-laravel-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanwilliammd%2Fsatusehat-laravel-example/lists"}