{"id":25293672,"url":"https://github.com/simplefoc/simple_php_ardubadge","last_synced_at":"2026-04-29T01:34:13.360Z","repository":{"id":247898151,"uuid":"827167861","full_name":"simplefoc/simple_php_ardubadge","owner":"simplefoc","description":"A simple PHP based arduino library badge generator","archived":false,"fork":false,"pushed_at":"2024-07-23T11:25:22.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T19:54:37.039Z","etag":null,"topics":["arduino","badge","php","shield"],"latest_commit_sha":null,"homepage":"https://ardubadge.simplefoc.com","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/simplefoc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-11T06:17:10.000Z","updated_at":"2024-07-27T14:52:42.000Z","dependencies_parsed_at":"2024-07-11T08:42:17.792Z","dependency_job_id":null,"html_url":"https://github.com/simplefoc/simple_php_ardubadge","commit_stats":null,"previous_names":["askuric/simple_arduino_badge","askuric/simple_php_ardubadge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplefoc/simple_php_ardubadge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplefoc%2Fsimple_php_ardubadge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplefoc%2Fsimple_php_ardubadge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplefoc%2Fsimple_php_ardubadge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplefoc%2Fsimple_php_ardubadge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplefoc","download_url":"https://codeload.github.com/simplefoc/simple_php_ardubadge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplefoc%2Fsimple_php_ardubadge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: 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":["arduino","badge","php","shield"],"created_at":"2025-02-13T01:55:16.897Z","updated_at":"2026-04-29T01:34:13.346Z","avatar_url":"https://github.com/simplefoc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple PHP based Arduino library badge generator\n\n\nMake sure to check out [ArduBadge](https://github.com/gilmaimon/ArduBadge) from [@gilmaimon](https://github.com/gilmaimon) which is an awesome repo that has \ndone this many years ago, but is recently fallen out of maintenance ( Jul 2024 ). \nThis repo is not really a fork of that project nor does it use the same approach, \nbut it is inspired by it and reults in the same output.\n\nI still invite you to test the [ArduBadge](https://github.com/gilmaimon/ArduBadge) repo first, before using this project :D\n\n## What is this?\n\nThis is a simple PHP based Arduino library badge generator. \nIt generates a badge for your Arduino library by fetching the data from the\nArduino website. The code can not be run on github as it does not support PHP, so it is hosted on \nhttps://ardubadge.simplefoc.com/ \n\nThe generation process is simple:\n1. The repo gets the name of the library from the url and finds the lates version of the library on the arduino website that matches the name. It parses `https://www.arduino.cc/reference/en/libraries/library+name/`. The code will cache the library versions and only fetch it once a day. \n2. Once it fetched it the code builds a badge based on the [github badges](https://github.com/badges/shields).\n\n\n## How to use it?\n\nTo use this badge generator, you need to provide the name of the library you want to generate the badge for.\n\nThe URL to generate the badge is:\n\n```\nhttps://ardubadge.simplefoc.com?lib=library+name\n```\nThe output for the `Simple FOC` library will be:\n\n![](https://ardubadge.simplefoc.com?lib=Simple+FOC)\n\n## How to embed it in your README?\n\nYou can embed the badge in your README by using the following markdown code:\n```markdown\n![Arduino Library](https://ardubadge.simplefoc.com?lib=library+name)\n```\n\nor using the pure HTML code:\n```html\n  \u003cimg src=\"https://ardubadge.simplefoc.com?lib=library+name\" alt=\"Arduino Library\"\u003e\n```\n\n\u003e Make sure to put `+` for empty spaces if your library has some\n\n\n## Contributing\n\nIf you want to contribute to this project, feel free to open an issue or a pull request.\nI'd be happy to see this project grow and become more useful for the community.\n\n## Hosting the code yourself\n\nIf you want to host the code yourself you can do so by cloning the repo and running it on your server.\nThe code is very simple and does not require any database or any other dependencies.\nThe only thing you need is a PHP server.\n\nIn our case we are using a simple Apache server with PHP installed and the code is automatically deployed to the server on every push to the `main` branch (using webhooks not the github actions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplefoc%2Fsimple_php_ardubadge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplefoc%2Fsimple_php_ardubadge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplefoc%2Fsimple_php_ardubadge/lists"}