{"id":16467275,"url":"https://github.com/irfaardy/esh-dompet","last_synced_at":"2026-04-20T13:34:55.970Z","repository":{"id":56993424,"uuid":"292150838","full_name":"irfaardy/esh-dompet","owner":"irfaardy","description":"🚀 Lightweight E-Wallet for Laravel.","archived":false,"fork":false,"pushed_at":"2021-01-03T00:45:45.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T15:13:20.592Z","etag":null,"topics":["composer","esh-dompet","php","pin"],"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/irfaardy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"irfa","ko_fi":"irfaardy","custom":["buymeacoff.ee/irfaardy"]}},"created_at":"2020-09-02T01:47:51.000Z","updated_at":"2024-07-04T03:16:34.000Z","dependencies_parsed_at":"2022-08-21T13:20:38.187Z","dependency_job_id":null,"html_url":"https://github.com/irfaardy/esh-dompet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/irfaardy/esh-dompet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fesh-dompet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fesh-dompet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fesh-dompet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fesh-dompet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irfaardy","download_url":"https://codeload.github.com/irfaardy/esh-dompet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fesh-dompet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32049032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","esh-dompet","php","pin"],"created_at":"2024-10-11T11:46:49.743Z","updated_at":"2026-04-20T13:34:55.940Z","avatar_url":"https://github.com/irfaardy.png","language":"PHP","funding_links":["https://patreon.com/irfa","https://ko-fi.com/irfaardy","buymeacoff.ee/irfaardy"],"categories":[],"sub_categories":[],"readme":"\n\n# 🔒 **ESH Dompet**\n\nPackage ini berfungsi untuk menyimpan saldo ke dompet digital\n\n\n\n\n\n\u003ch3\u003e🛠️ Installation with Composer \u003c/h3\u003e\n\n```php\ncomposer require irfa/dompet\n```\n\n\u003eYou can get Composer \u003ca href=\"https://getcomposer.org/download/\" target=\"_blank\"\u003ehere\u003c/a\u003e\n\n***\n\u003ch2\u003e🛠️ Laravel Setup \u003c/h2\u003e\n\n\u003ch3\u003e1. Add to config/app.php\u003c/h3\u003e\n\n```php\n'providers' =\u003e [\n      \t ....\n         Irfa\\Dompet\\DompetServiceProvider::class, \n     ];\n```\n\n\u003ch3\u003e2. Add to config/app.php\u003c/h3\u003e\n\n```php\n'aliases' =\u003e [\n         ....\n    \t'Dompet' =\u003e Irfa\\Dompet\\Saku\\Dompet::class,\n],\n```\n\n  \u003ch3\u003e3. Publish Vendor\u003c/h3\u003e\n\n\n    php artisan vendor:publish --tag=dompet\n\n\u003ch3\u003e4.Migrate Tables\u003c/h3\u003e\n\n```\nphp artisan migrate\n```\n\n\n\n\u003ch2\u003eBasic Usage\u003c/h2\u003e\n\n\u003chr\u003e\n\u003ch2\u003eCreate new PIN\u003c/h2\u003e\n\n```php\nuse Dompet;\n...\nDompet::make($user-\u003eid, 123456);\n//return boolean\n```\n\n\u003ch2\u003eUpdate PIN\u003c/h2\u003e\n\n```php\n...\nDompet::credential($userID,$pin)-\u003eupdate($new_pin);\n//return boolean\n```\n\n\n\n\u003ch2\u003eAdd Balance to account\u003c/h2\u003e\n\n```php\n... \nDompet::credential($userID,$pin)-\u003ebalance(20000)-\u003eadd(\"Some Transaction\",$transaction_id);\n//return boolean\n```\n\n\u003ch2\u003eReduce Balance to account\u003c/h2\u003e\n\n```php\n...\nDompet::credential($userID,$pin)-\u003ebalance(20000)-\u003ereduce(\"Some Transaction\",$transaction_id);\n//return boolean\n```\n\u003ch2\u003eGet total Balance\u003c/h2\u003e\n\n```php\n...\nDompet::credential($user-\u003eid)-\u003esumBalance();\n//result 5000\n//Formated number\nDompet::credential($user-\u003eid)-\u003esumBalance(true);\n// result 5,000\n```\n\n\u003ch2\u003eGet Transaction History\u003c/h2\u003e\n\n```php\n... \nforeach(Dompet::credential($userID)-\u003ehistory() as $d)\n {\n     echo $d-\u003eannotation.\" | \".$d-\u003ebalance.\"\u003cbr\u003e\";\n }\n```\n\n\n\n\u003ch2\u003eGet Message success or fail\u003c/h2\u003e\n\n```php\nif(Dompet::credential()-\u003ebalance(2000)-\u003eadd(\"Some Transaction\",$transaction_id))\n{\n     echo \"Succeded, \".Dompet::message();\n} else \n\t{\n     \techo \"Failed, \".Dompet::message();\n\t}\n\n```\n\n------\n\n## How to Contributing\n\n1. Fork it (\u003chttps://github.com/irfaardy/esh-dompet/fork\u003e)\n3. Commit your changes (`git commit -m 'Add some Feature'`)\n4. Push to the branch (`git push origin version`)\n5. Create a new Pull Request\n***\n\n**LICENSE**\u003cbr\u003e\n\u003ca href=\"https://github.com/irfaardy/lockout-account/blob/master/LICENSE\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/irfaardy/lockout-account?style=for-the-badge\"\u003e\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfaardy%2Fesh-dompet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firfaardy%2Fesh-dompet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfaardy%2Fesh-dompet/lists"}