{"id":22292046,"url":"https://github.com/aedart/athenaeum-mime-types","last_synced_at":"2025-07-28T23:33:05.282Z","repository":{"id":56899550,"uuid":"469347618","full_name":"aedart/athenaeum-mime-types","owner":"aedart","description":"[READ ONLY] Athenaeum Mime-Types package - see https://github.com/aedart/athenaeum","archived":false,"fork":false,"pushed_at":"2025-07-21T08:07:56.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T09:32:02.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aedart.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}},"created_at":"2022-03-13T11:13:02.000Z","updated_at":"2025-07-21T08:07:59.000Z","dependencies_parsed_at":"2023-11-17T09:53:28.337Z","dependency_job_id":"e89559c1-d094-4c26-8bf3-64d3c6961d54","html_url":"https://github.com/aedart/athenaeum-mime-types","commit_stats":{"total_commits":58,"total_committers":1,"mean_commits":58.0,"dds":0.0,"last_synced_commit":"8c154bd3e370f715e63707dc664c560cf1be8586"},"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"purl":"pkg:github/aedart/athenaeum-mime-types","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-mime-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-mime-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-mime-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-mime-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aedart","download_url":"https://codeload.github.com/aedart/athenaeum-mime-types/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-mime-types/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267604308,"owners_count":24114521,"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-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2024-12-03T17:19:23.951Z","updated_at":"2025-07-28T23:33:04.987Z","avatar_url":"https://github.com/aedart.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Athenaeum Mime-Types\n\nA \"profile\" based [MIME-type](https://en.wikipedia.org/wiki/Media_type) detector, which uses a string or a `resource` as sample.\n\n```php\nuse Aedart\\MimeTypes\\Detector;\n\n$file = fopen('my-picture.jpg', 'rb');\n\n// Detect mime-type by only reading xx-bytes from file...\n$mimeType = (new Detector())-\u003edetect($file);\nfclose($file);\n\nprint_r($mimeType);\n```\n\nOutput example:\n\n```\nAedart\\MimeTypes\\MimeType Object\n(\n    [description] =\u003e JPEG image data, JFIF standard 1.01, resolution (DPI),...\n    [mime] =\u003e image/jpeg; charset=binary\n    [type] =\u003e image/jpeg\n    [encoding] =\u003e binary\n    [known_extensions] =\u003e Array\n        (\n            [0] =\u003e jpeg\n            [1] =\u003e jpg\n            [2] =\u003e jpe\n            [3] =\u003e jfif\n        )\n)\n```\n\nBehind the scene, the default profile driver uses PHP's [File Info Extension](https://www.php.net/manual/en/book.fileinfo.php).\n\n## Documentation\n\nPlease read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.\n\n## Repository\n\nThe mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)\n\n## Versioning\n\nThis package follows [Semantic Versioning 2.0.0](http://semver.org/)\n\n## License\n\n[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faedart%2Fathenaeum-mime-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faedart%2Fathenaeum-mime-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faedart%2Fathenaeum-mime-types/lists"}