{"id":15296408,"url":"https://github.com/akiosarkiz/php-mp3","last_synced_at":"2025-03-25T05:43:47.633Z","repository":{"id":56943319,"uuid":"299629276","full_name":"AkioSarkiz/php-mp3","owner":"AkioSarkiz","description":"Package for manipulation mp3 files in php","archived":false,"fork":false,"pushed_at":"2021-03-08T23:30:15.000Z","size":158841,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T05:43:44.294Z","etag":null,"topics":["mp3","php74","php80"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AkioSarkiz.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-29T13:40:46.000Z","updated_at":"2021-03-08T23:29:38.000Z","dependencies_parsed_at":"2022-08-21T02:00:06.942Z","dependency_job_id":null,"html_url":"https://github.com/AkioSarkiz/php-mp3","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2Fphp-mp3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2Fphp-mp3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2Fphp-mp3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2Fphp-mp3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AkioSarkiz","download_url":"https://codeload.github.com/AkioSarkiz/php-mp3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407755,"owners_count":20610232,"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":["mp3","php74","php80"],"created_at":"2024-09-30T18:10:23.343Z","updated_at":"2025-03-25T05:43:47.613Z","avatar_url":"https://github.com/AkioSarkiz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MP3 PHP\n\n[![Build Status](https://travis-ci.org/AkioSarkiz/php-mp3.svg?branch=master)](https://travis-ci.org/AkioSarkiz/php-mp3)\n\nPackage for manipulation mp3 files in php. \n\n### Requires  \n\n- Php \u003e= 7.4\n- FFmpeg\n- Support platform: linux\n\n### Example \n```php\nuse AkioSarkiz\\Mp3Php\\Mp3;\n\n// create object\n$mp3item = new Mp3('source.mp3');\n\n// check is valid\n$mp3item-\u003eisValid();\n\n// get duration of mp3\n$mp3item-\u003egetDuration();\n\n// add meta\n$mp3item-\u003eaddMeta([\n    'album' =\u003e 'custom album',\n], 'source_with_meta.mp3');\n\n// clear meta\n$mp3item-\u003eclearMeta('source_clear.mp3');\n\n// get all info\n$mp3item-\u003egetInfo();\n\n// get path\n$mp3item-\u003egetPath();\n\n// get size mp3\n$mp3item-\u003esize();\n\n// get kbs of mp3\n$mp3item-\u003egetKbs();\n\n// convert mp3 to your kbs\n$mp3item-\u003econvert('source_64.mp3', 64);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiosarkiz%2Fphp-mp3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiosarkiz%2Fphp-mp3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiosarkiz%2Fphp-mp3/lists"}