{"id":20679729,"url":"https://github.com/ricardofiorani/duino-coin-php-miner","last_synced_at":"2025-04-19T23:52:34.175Z","repository":{"id":42472468,"uuid":"367480984","full_name":"ricardofiorani/duino-coin-php-miner","owner":"ricardofiorani","description":"A proof of concept of a PHP Miner that can mine DuinoCoin","archived":false,"fork":false,"pushed_at":"2022-04-04T09:01:00.000Z","size":21,"stargazers_count":11,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T23:52:29.344Z","etag":null,"topics":["concept","cryptocurrencies","docker","duinocoin","miner","php","php-miner","worker"],"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/ricardofiorani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-14T21:14:59.000Z","updated_at":"2025-04-02T08:25:16.000Z","dependencies_parsed_at":"2022-08-13T06:21:13.478Z","dependency_job_id":null,"html_url":"https://github.com/ricardofiorani/duino-coin-php-miner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardofiorani%2Fduino-coin-php-miner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardofiorani%2Fduino-coin-php-miner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardofiorani%2Fduino-coin-php-miner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardofiorani%2Fduino-coin-php-miner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardofiorani","download_url":"https://codeload.github.com/ricardofiorani/duino-coin-php-miner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249830852,"owners_count":21331357,"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","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":["concept","cryptocurrencies","docker","duinocoin","miner","php","php-miner","worker"],"created_at":"2024-11-16T21:27:19.123Z","updated_at":"2025-04-19T23:52:34.124Z","avatar_url":"https://github.com/ricardofiorani.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duino Coin - PHP Miner\nThis is a proof of concept.\nThis miner is provided as is, with no guarantee it will work as intended for you.\nI don't intend to actively maintain this miner.\nI'm also not responsible for how you use it.\n\n## Why did you do it?\nI only made this to have some fun and to prove that [PHP 8 is indeed faster than python](https://scand.com/company/blog/php-vs-python/#:~:text=Some%20years%20ago%2C%20Python%20was,speed%20may%20greatly%20improve%20performance.).\n\n# Requirements\nEither Docker (v20) or PHP 8 \u0026 Composer installed locally.\n\n# How to use\nFirst, add your username into the configuration section in the `miner.php` file.\n  \n### If you use docker\nRun composer install and then run the miner:\n```bash\n$ docker run --rm --interactive --tty \\\n  --volume $PWD:/app \\\n  composer install\n  \n$ docker compose up\n```\n\n### If you have PHP 8 installed\nInstall dependencies with composer:\n`$ composer install`  \nRun the miner:\n`$ php miner.php`\n\n# Multi-thread improvements\nIf you have a good computer and want to improve the performance you can run multiple workers/miners at once.\nFor this you have to be using docker.\n\nSimply run:  \n`$ docker compose up --scale miner=32`  \nWhere the number \"32\" is the amount of workers you will be running.\n\n\u003e Keep in mind that the maximum amount of allowed workers is 50.\n\u003e I'm not responsible for any bad usage of this that might get you banned from the Duino pool.\n\n# Future improvements\nThere are MANY possibilities of improvements to have a higher hashrate, however, due to the nature of DuinoCoin and its mission to allow everyone to mine, I don't intend to seek such improvements in this lib.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardofiorani%2Fduino-coin-php-miner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardofiorani%2Fduino-coin-php-miner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardofiorani%2Fduino-coin-php-miner/lists"}