{"id":33993234,"url":"https://github.com/elecena/ic-package-info","last_synced_at":"2026-06-09T09:32:02.517Z","repository":{"id":22475558,"uuid":"96046701","full_name":"elecena/ic-package-info","owner":"elecena","description":"Extract IC package from a given string","archived":false,"fork":false,"pushed_at":"2025-12-18T19:46:19.000Z","size":723,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-21T21:44:33.190Z","etag":null,"topics":["elecena","electronic-components","electronics-engineering","integrated-circuits","parser","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/elecena/ic-package-info","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/elecena.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-02T20:16:51.000Z","updated_at":"2025-12-18T19:43:25.000Z","dependencies_parsed_at":"2023-12-01T21:46:01.185Z","dependency_job_id":null,"html_url":"https://github.com/elecena/ic-package-info","commit_stats":{"total_commits":159,"total_committers":4,"mean_commits":39.75,"dds":"0.23899371069182385","last_synced_commit":"51db5b3235cfceee639b06283ef02bedc32bf34d"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/elecena/ic-package-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecena%2Fic-package-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecena%2Fic-package-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecena%2Fic-package-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecena%2Fic-package-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elecena","download_url":"https://codeload.github.com/elecena/ic-package-info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elecena%2Fic-package-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34101065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["elecena","electronic-components","electronics-engineering","integrated-circuits","parser","php"],"created_at":"2025-12-13T07:05:41.346Z","updated_at":"2026-06-09T09:32:02.511Z","avatar_url":"https://github.com/elecena.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ic-package-info\n[![Stable release](https://poser.pugx.org/elecena/ic-package-info/version.svg)](https://packagist.org/packages/elecena/ic-package-info)\n![phpunit](https://github.com/elecena/ic-package-info/workflows/phpunit/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/elecena/ic-package-info/badge.svg?branch=master)](https://coveralls.io/github/elecena/ic-package-info?branch=master)\n\nExtract IC package from a given string\n\n## Install it\n\n```\ncomposer require elecena/ic-package-info\n```\n\n## Example\n\n```php\n\u003c?php\n\nuse Elecena\\Utils\\PackageInfo;\n\n$package = PackageInfo::getPackage('2N7000 N CHANNEL MOSFET, 60V, 200mA, TO-92'); // this will return 'TO-92'\n\n// additionally, PackageInfo normalizes the packages\n$package = PackageInfo::getPackage('MOSFET,N CHANNEL,600V,3.7A,SC-67'); // will return 'TO-220F'\n\n// false will be returned when a valid package is not found\n$package = PackageInfo::getPackage('foo bar-42'); // will return false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecena%2Fic-package-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felecena%2Fic-package-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecena%2Fic-package-info/lists"}